summaryrefslogtreecommitdiff
path: root/ld/emultempl
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/emultempl
parent97fce28b401e39a75132db8b9c13c674f5122497 (diff)
downloadbinutils-gdb-04c932a298845c85fe07c86c50bd93ee3ac78880.tar.gz
PR 12763
missed from last commit
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 17fb8bf9ec1..42674bd4f61 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];