aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-07-02 00:25:08 +0000
committerAlan Modra <amodra@gmail.com>2013-07-02 00:25:08 +0000
commitf40da81ba51cd6e300f929ef29f14865a3e7bfcd (patch)
tree573864b8c684d5f3ff8d0021a1f583cdd823c2ff /gas/config/tc-ppc.c
parent9b17b5e3d77b34c501053cc47872876e4ce91326 (diff)
downloadgdb-f40da81ba51cd6e300f929ef29f14865a3e7bfcd.zip
gdb-f40da81ba51cd6e300f929ef29f14865a3e7bfcd.tar.gz
gdb-f40da81ba51cd6e300f929ef29f14865a3e7bfcd.tar.bz2
bfd/
* elf64-ppc.c (ppc64_elf_relocate_section): Set "relocation" for .TOC. after relocatable check. gas/ * config/tc-ppc.c (ppc_elf_adjust_symtab): Don't make .TOC. weak.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index d4f6b71..7aebda8 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -2318,8 +2318,6 @@ ppc_elf_adjust_symtab (void)
asymbol *bsym = symbol_get_bfdsym (symp);
if ((bsym->flags & BSF_KEEP) == 0)
symbol_remove (symp, &symbol_rootP, &symbol_lastP);
- else
- S_SET_WEAK (symp);
}
}
}