aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-27 12:47:12 +0000
committerAlan Modra <amodra@gmail.com>2011-05-27 12:47:12 +0000
commit04c932a298845c85fe07c86c50bd93ee3ac78880 (patch)
tree655298785b998a43f109ac5be7844fbb597cda15 /ld
parent97fce28b401e39a75132db8b9c13c674f5122497 (diff)
downloadgdb-04c932a298845c85fe07c86c50bd93ee3ac78880.zip
gdb-04c932a298845c85fe07c86c50bd93ee3ac78880.tar.gz
gdb-04c932a298845c85fe07c86c50bd93ee3ac78880.tar.bz2
PR 12763
missed from last commit
Diffstat (limited to 'ld')
-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 17fb8bf..42674bd 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -1920,7 +1920,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s,
&& ((iself && sh_type == SHT_NOTE)
|| (!iself && CONST_STRNEQ (secname, ".note"))))
place = &hold[orphan_interp];
- else if ((s->flags & (SEC_LOAD | SEC_HAS_CONTENTS)) == 0)
+ else if ((s->flags & (SEC_LOAD | SEC_HAS_CONTENTS | SEC_THREAD_LOCAL)) == 0)
place = &hold[orphan_bss];
else if ((s->flags & SEC_SMALL_DATA) != 0)
place = &hold[orphan_sdata];