aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-10-21 17:23:12 +0000
committerDoug Evans <dje@google.com>1997-10-21 17:23:12 +0000
commit61a60a8a703159f1a1589b48a1a81bd299f0e981 (patch)
tree2f63d76bb9087104acb7fcbd083b5506c151a9e6 /gas
parentf4ab2b2fdcb88957359714806ea1838ab335b145 (diff)
downloadgdb-61a60a8a703159f1a1589b48a1a81bd299f0e981.zip
gdb-61a60a8a703159f1a1589b48a1a81bd299f0e981.tar.gz
gdb-61a60a8a703159f1a1589b48a1a81bd299f0e981.tar.bz2
* config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
overflow signalling to linker.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-sparc.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c287ad4..433e8b2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+Tue Oct 21 10:20:11 1997 Doug Evans <devans@canuck.cygnus.com>
+
+ * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
+ overflow signalling to linker.
+
Mon Oct 20 14:54:06 1997 Klaus K"ampf <kkaempf@progis.de>
* makefile.vms: Fix for dec c.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index a5f8cf3..7000876 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -2504,7 +2504,6 @@ md_apply_fix3 (fixP, value, segment)
case BFD_RELOC_SPARC_LM22:
case BFD_RELOC_HI22:
- /* FIXME: HI22 should signal overflow for 64 bit ABI. */
if (!fixP->fx_addsy)
{
insn |= (val >> 10) & 0x3fffff;
@@ -2556,9 +2555,6 @@ md_apply_fix3 (fixP, value, segment)
{
bfd_vma tval = val;
tval >>= 22;
- if (! in_unsigned_range (tval, 0x3fffff))
- as_bad_where (fixP->fx_file, fixP->fx_line,
- "relocation overflow");
insn |= tval & 0x3fffff;
}
break;
@@ -2577,9 +2573,6 @@ md_apply_fix3 (fixP, value, segment)
if (!fixP->fx_addsy)
{
val ^= ~ (offsetT) 0;
- if ((val & ~ (offsetT) 0xffffffff) != 0)
- as_bad_where (fixP->fx_file, fixP->fx_line,
- "relocation overflow");
insn |= (val >> 10) & 0x3fffff;
}
break;