diff options
author | H.J. Lu <hjl@lucon.org> | 2005-10-15 14:57:55 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-10-15 14:57:55 +0000 |
commit | 7f55fa5745fbe04b91e1fbd668d102f3166e03d8 (patch) | |
tree | 92c47c1e35625d311a3b5dd04af142c963d8260a /bfd/libbfd.c | |
parent | ec323ea3011a8907524b17ca3eea1133008b916c (diff) | |
download | binutils-redhat-7f55fa5745fbe04b91e1fbd668d102f3166e03d8.tar.gz |
bfd/
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* elf-bfd.h (_bfd_elf_match_sections_by_type): New.
(_bfd_generic_match_sections_by_type): New. Defined.
* elf.c (_bfd_elf_match_sections_by_type): New.
* libbfd-in.h (_bfd_generic_match_sections_by_type): New.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libbfd.c (_bfd_generic_match_sections_by_type): New.
* targets.c (BFD_JUMP_TABLE_LINK): Initialize
_bfd_match_sections_by_type with
_bfd_generic_match_sections_by_type.
(bfd_target): Add _bfd_match_sections_by_type.
ld/
2005-10-15 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1467
* emultempl/elf32.em: Include "elf-bfd.h".
(gld${EMULATION_NAME}_place_orphan): Check section type and
don't use section name for ELF input sections.
* ld.texinfo: Document orphan section processing.
* ldlang.c (lang_output_section_find_by_flags): Match section
types by calling bfd_match_sections_by_type.
Diffstat (limited to 'bfd/libbfd.c')
-rw-r--r-- | bfd/libbfd.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c index 66137bb610..3b27e08a8f 100644 --- a/bfd/libbfd.c +++ b/bfd/libbfd.c @@ -1033,3 +1033,12 @@ _bfd_generic_find_line (bfd *abfd ATTRIBUTE_UNUSED, { return FALSE; } + +bfd_boolean +_bfd_generic_match_sections_by_type (bfd *abfd ATTRIBUTE_UNUSED, + const asection *asec ATTRIBUTE_UNUSED, + bfd *bbfd ATTRIBUTE_UNUSED, + const asection *bsec ATTRIBUTE_UNUSED) +{ + return TRUE; +} |