diff options
Diffstat (limited to 'bfd/section.c')
-rw-r--r-- | bfd/section.c | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/bfd/section.c b/bfd/section.c index 1e7e8ac..7377029 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -137,14 +137,27 @@ SUBSECTION /* DOCDD INODE -typedef asection, section prototypes, Section Output, Sections + typedef asection, section prototypes, Section Output, Sections SUBSECTION typedef asection Here is the section structure: -CODE_FRAGMENT +EXTERNAL +.{* Linenumber stuff. *} +.typedef struct lineno_cache_entry +.{ +. unsigned int line_number; {* Linenumber from start of function. *} +. union +. { +. struct bfd_symbol *sym; {* Function name. *} +. bfd_vma offset; {* Offset into section. *} +. } u; +.} +.alent; . + +CODE_FRAGMENT .typedef struct bfd_section .{ . {* The name of the section; the name isn't a copy, the pointer is @@ -493,7 +506,7 @@ CODE_FRAGMENT . . {* If the SEC_IN_MEMORY flag is set, this points to the actual . contents. *} -. unsigned char *contents; +. bfd_byte *contents; . . {* Attached line number information. *} . alent *lineno; @@ -549,6 +562,8 @@ CODE_FRAGMENT . .} asection; . + +EXTERNAL .static inline const char * .bfd_section_name (const asection *sec) .{ |