* ldlang.c (lang_output_section_find_by_flags): Handle non-alloc
authorAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2008 22:55:04 +0000 (22:55 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Oct 2008 22:55:04 +0000 (22:55 +0000)
commit07890c07361ede1ecd9eddda54936e75aeb7b255
tree9614fde0af0381770c85d063e27ee8976670414a
parent570685ada822793c5fd8fa6dc218d4deda934667
* ldlang.c (lang_output_section_find_by_flags): Handle non-alloc
sections.
* emultempl/elf32.em (enum orphan_save_index): Add orphan_nonalloc.
(hold): Likewise.
(gld${EMULATION_NAME}_place_orphan): Handle non-alloc orphans.
ld/ChangeLog
ld/emultempl/elf32.em
ld/ldlang.c