aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-04-30 14:26:09 +0000
committerAlan Modra <amodra@gmail.com>2004-04-30 14:26:09 +0000
commitd0d6a25bf3db9eea811699671a0f218e75586ca0 (patch)
tree57170b63f32c81a1cf2629a78dab3d484b061c4f /ld/emultempl
parent72adc230457cc2885fe394ab4647dceab2d9d0aa (diff)
downloadgdb-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.em2
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);