From 04c932a298845c85fe07c86c50bd93ee3ac78880 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 27 May 2011 12:47:12 +0000 Subject: [PATCH] PR 12763 missed from last commit --- ld/emultempl/elf32.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 17fb8bf9ec..42674bd4f6 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]; -- 2.34.1