aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-or32.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-31 23:18:35 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-31 23:18:35 +0000
commit65ec77d24561f693faed3798a7233bc4f947a6b8 (patch)
tree280379ddd681847093ca04665aef1212573d1d16 /gas/config/tc-or32.c
parent0e71e4955cd1a6ad7d03775dec5df49323204dec (diff)
downloadgdb-65ec77d24561f693faed3798a7233bc4f947a6b8.zip
gdb-65ec77d24561f693faed3798a7233bc4f947a6b8.tar.gz
gdb-65ec77d24561f693faed3798a7233bc4f947a6b8.tar.bz2
* config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
config/obj-ieee.c, config/obj-som.c, config/obj-vms.c, config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c, config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c, config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c, config/tc-i370.c, config/tc-i386.c, config/tc-i960.c, config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h, config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c, config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c, config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c, config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c, config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove #if 0'd code throughout.
Diffstat (limited to 'gas/config/tc-or32.c')
-rw-r--r--gas/config/tc-or32.c33
1 files changed, 1 insertions, 32 deletions
diff --git a/gas/config/tc-or32.c b/gas/config/tc-or32.c
index 4fd91f0..5e3f526 100644
--- a/gas/config/tc-or32.c
+++ b/gas/config/tc-or32.c
@@ -581,10 +581,6 @@ machine_ip (str)
if (*s == '(')
{
operand->X_op = O_constant;
-#if 0
- operand->X_add_number = 0; /* ??? if enabled load/store offsets
- are zero. */
-#endif
}
else if (*s == ')')
s += 1;
@@ -796,10 +792,6 @@ machine_ip (str)
if (*s == '(')
{
operand->X_op = O_constant;
-#if 0
- operand->X_add_number = 0; /* ??? if enabled load/store offsets
- are zero. */
-#endif
}
else if (*s == ')')
s += 1;
@@ -1002,20 +994,7 @@ md_apply_fix3 (fixP, val, seg)
case BFD_RELOC_32_GOT_PCREL: /* 0000XXXX pattern in a word. */
if (!fixP->fx_done)
- {
- /* The linker tries to support both AMD and old GNU style
- R_IREL relocs. That means that if the addend is exactly
- the negative of the address within the section, the
- linker will not handle it correctly. */
-#if 0
- if (fixP->fx_pcrel
- && t_val != 0
- && t_val == - (fixP->fx_frag->fr_address + fixP->fx_where))
- as_bad_where
- (fixP->fx_file, fixP->fx_line,
- _("the linker will not handle this relocation correctly (1)"));
-#endif
- }
+ ;
else if (fixP->fx_pcrel)
{
long v = t_val >> 28;
@@ -1124,23 +1103,13 @@ md_apply_fix3 (fixP, valP, seg)
R_IREL relocs. That means that if the addend is exactly
the negative of the address within the section, the
linker will not handle it correctly. */
-#if 0
- if (fixP->fx_pcrel
- && val != 0
- && val == - (fixP->fx_frag->fr_address + fixP->fx_where))
- as_bad_where
- (fixP->fx_file, fixP->fx_line,
- _("the linker will not handle this relocation correctly (1)"));
-#endif
}
else if (fixP->fx_pcrel)
{
long v = val >> 28;
-#if 1
if (v != 0 && v != -1)
as_bad_where (fixP->fx_file, fixP->fx_line,
_("call/jmp target out of range (2)"));
-#endif
}
else
/* This case was supposed to be handled in machine_ip. */