aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-03-02 13:24:01 +0000
committerAlan Modra <amodra@gmail.com>2005-03-02 13:24:01 +0000
commitab1e9ef77fc5abdf14eaf908265d88812a661446 (patch)
tree40d52e26ed67212224a38580d6de76e2df6e1ea2
parentbb14f524002c5b0e93c17e929109f4c735f11f5b (diff)
downloadgdb-ab1e9ef77fc5abdf14eaf908265d88812a661446.zip
gdb-ab1e9ef77fc5abdf14eaf908265d88812a661446.tar.gz
gdb-ab1e9ef77fc5abdf14eaf908265d88812a661446.tar.bz2
* config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/config/tc-ppc.c7
2 files changed, 7 insertions, 8 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8f38437..d92dcbe 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
+
2005-03-02 Jan Beulich <jbeulich@novell.com>
* as.c (main): Use unlink_if_ordinary instead of unlink.
@@ -1861,7 +1865,7 @@
(set_section, add_unwind_adjustsp, flush_pending_unwind,
finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
require_hashconst, add_unwind_opcode): New functions.
- * doc/tc-arm.text: Document unwinding opcodes.
+ * doc/c-arm.texi: Document unwinding opcodes.
* NEWS: Mention the new feature.
2004-10-04 Eric Christopher <echristo@redhat.com>
@@ -2887,7 +2891,7 @@
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
- * doc/as.texinf <ARM>: Document -meabi.
+ * doc/as.texinfo <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.
2004-03-22 Bob Wilson <bob.wilson@acm.org>
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 6f0b717..7dab697 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -5485,12 +5485,7 @@ ppc_fix_adjustable (fix)
&& fix->fx_r_type != BFD_RELOC_VTABLE_INHERIT
&& fix->fx_r_type != BFD_RELOC_VTABLE_ENTRY
&& !(fix->fx_r_type >= BFD_RELOC_PPC_TLS
- && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA)
- && (fix->fx_pcrel
- || (fix->fx_subsy != NULL
- && (S_GET_SEGMENT (fix->fx_subsy)
- == S_GET_SEGMENT (fix->fx_addsy)))
- || S_IS_LOCAL (fix->fx_addsy)));
+ && fix->fx_r_type <= BFD_RELOC_PPC64_DTPREL16_HIGHESTA));
}
#endif