* section.c (bfd_make_section_anyway): New function.
* section.c: Change comments to say several sections can have the same name. * bfd-in2.h: Re-generate to reflect above change. * coffgen.c (make_a_section_from_file): Call bfd_make_section_anyway if still no section after the bfd_coff_make_section_hook. * coffcode.h: Add comment about TWO_DATA_SECS.
This commit is contained in:
parent
4ac3ff671b
commit
9b3fa58950
|
@ -620,6 +620,12 @@ typedef struct sec
|
|||
translate to bfd_com_section), but ECOFF has two. */
|
||||
#define SEC_IS_COMMON 0x8000
|
||||
|
||||
/* The section contains only debugging information. For
|
||||
example, this is set for ELF .debug and .stab sections.
|
||||
strip tests this flag to see if a section can be
|
||||
discarded. */
|
||||
#define SEC_DEBUGGING 0x10000
|
||||
|
||||
/* End of section flags. */
|
||||
|
||||
/* The virtual memory address of the section - where it will be
|
||||
|
@ -770,6 +776,9 @@ bfd_get_section_by_name PARAMS ((bfd *abfd, CONST char *name));
|
|||
asection *
|
||||
bfd_make_section_old_way PARAMS ((bfd *, CONST char *name));
|
||||
|
||||
asection *
|
||||
bfd_make_section_anyway PARAMS ((bfd *, CONST char *name));
|
||||
|
||||
asection *
|
||||
bfd_make_section PARAMS ((bfd *, CONST char *name));
|
||||
|
||||
|
@ -1558,6 +1567,7 @@ struct _bfd
|
|||
struct hpux_core_struct *hpux_core_data;
|
||||
struct sgi_core_struct *sgi_core_data;
|
||||
struct lynx_core_struct *lynx_core_data;
|
||||
struct osf_core_struct *osf_core_data;
|
||||
PTR any;
|
||||
} tdata;
|
||||
|
||||
|
|
Loading…
Reference in New Issue