diff options
author | Alan Modra <amodra@gmail.com> | 2013-07-02 00:25:08 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-07-02 00:25:08 +0000 |
commit | f40da81ba51cd6e300f929ef29f14865a3e7bfcd (patch) | |
tree | 573864b8c684d5f3ff8d0021a1f583cdd823c2ff /gas | |
parent | 9b17b5e3d77b34c501053cc47872876e4ce91326 (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5e7a493..7f7d0e8 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2013-07-02 Alan Modra <amodra@gmail.com> + + * config/tc-ppc.c (ppc_elf_adjust_symtab): Don't make .TOC. weak. + 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com> * doc/as.texinfo (Overview): Remove @samp from MIPS ISA names. 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); } } } |