diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-30 14:26:09 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-30 14:26:09 +0000 |
commit | d0d6a25bf3db9eea811699671a0f218e75586ca0 (patch) | |
tree | 57170b63f32c81a1cf2629a78dab3d484b061c4f /ld/emultempl | |
parent | 72adc230457cc2885fe394ab4647dceab2d9d0aa (diff) | |
download | gdb-d0d6a25bf3db9eea811699671a0f218e75586ca0.zip gdb-d0d6a25bf3db9eea811699671a0f218e75586ca0.tar.gz gdb-d0d6a25bf3db9eea811699671a0f218e75586ca0.tar.bz2 |
* ldlang.c (unique_section_p): Pass section parm, return true on
group sections.
(output_section_callback): Adjust.
* ldlang.h (unique_section_p): Update prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
Diffstat (limited to 'ld/emultempl')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 92f502d..1a838f3 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -1142,7 +1142,7 @@ gld${EMULATION_NAME}_place_orphan (lang_input_statement_type *file, asection *s) isdyn = 1; } - if (isdyn || (!config.unique_orphan_sections && !unique_section_p (secname))) + if (isdyn || (!config.unique_orphan_sections && !unique_section_p (s))) { /* Look through the script to see where to place this section. */ os = lang_output_section_find (secname); |