aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-i386.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1379400..9f16080 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-26 Alan Modra <amodra@bigpond.net.au>
+
+ PR 10005
+ * config/tc-i386.c (reloc): Don't abort on lack of required
+ reloc type.
+
2009-03-25 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (parse_insn): Use default_arch on unsupported
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 91836ea..ed4ab93 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -2433,8 +2433,7 @@ reloc (unsigned int size,
sign > 0 ? "signed" : "unsigned", size);
}
- abort ();
- return BFD_RELOC_NONE;
+ return NO_RELOC;
}
/* Here we decide which fixups can be adjusted to make them relative to