aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-03-06 04:59:36 +0000
committerAlan Modra <amodra@gmail.com>2002-03-06 04:59:36 +0000
commit937149dd3c9c927b00431319349e6ef8a3fd3d34 (patch)
treeb61d315cb83255b775737e95af949c95a49ac365 /gas/config
parentf779ca99068f2b27d73669b006e9f505a2e7e202 (diff)
downloadgdb-937149dd3c9c927b00431319349e6ef8a3fd3d34.zip
gdb-937149dd3c9c927b00431319349e6ef8a3fd3d34.tar.gz
gdb-937149dd3c9c927b00431319349e6ef8a3fd3d34.tar.bz2
* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
relocs except when BFD64. * write.c (number_to_chars_bigendian): Don't abort when N is larger than sizeof (VAL). (number_to_chars_littleendian): Likewise.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 2b82037..0263bbc 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -4882,7 +4882,9 @@ tc_gen_reloc (section, fixp)
case 1: code = BFD_RELOC_8; break;
case 2: code = BFD_RELOC_16; break;
case 4: code = BFD_RELOC_32; break;
+#ifdef BFD64
case 8: code = BFD_RELOC_64; break;
+#endif
}
}
break;