aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2014-03-05 19:27:57 +1030
committerAlan Modra <amodra@gmail.com>2014-03-05 19:27:57 +1030
commitf50c47f1184b39831f7c8a8200bc349f47619ac3 (patch)
tree4edc57abf92eaed468e6a165c928d5fdf783ec47 /gas/ChangeLog
parentb2b255bdf3d29d97c10668b4bb5fceeb886a15f1 (diff)
downloadgdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.zip
gdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.tar.gz
gdb-f50c47f1184b39831f7c8a8200bc349f47619ac3.tar.bz2
Remove magic treatment of toc symbols for powerpc ELF
The XCOFF assembler does some wierd things with instructions like `lwz 9,sym(30'. See the comment in md_apply_fix. From an ELF perspective, it's weird even to magically select a TOC16 reloc when a symbol is in the TOC/GOT. ELF assemblers generally use modifiers like @toc to select relocs, so remove this "feature" for ELF. I believe this was to support gcc -m32 -mcall-aixdesc but that combination of gcc options has been broken for a long time. * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support. (md_assemble): Don't call ppc_is_toc_sym for ELF.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 88e9d81..e3ebd67 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2014-03-05 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (ppc_is_toc_sym): Remove OBJ_ELF support.
+ (md_assemble): Don't call ppc_is_toc_sym for ELF.
+
2014-03-04 Heiher <r@hev.cc>
* config/tc-mips.c (mips_cpu_info_table): Use ISA_MIPS64R2 for