aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-10 21:43:24 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-10 21:43:24 +0000
commit1b50c718931217987ec4b6ba2799314c4d9e27d4 (patch)
treea796e7022347096c2f1487aa9df9a152f5a66562 /gas
parent1bf67e0db815f3248e7296beded23a9dbfbc9d41 (diff)
downloadgdb-1b50c718931217987ec4b6ba2799314c4d9e27d4.zip
gdb-1b50c718931217987ec4b6ba2799314c4d9e27d4.tar.gz
gdb-1b50c718931217987ec4b6ba2799314c4d9e27d4.tar.bz2
* config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-sparc.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e1d0f10..d7b5137 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,7 @@
1999-06-11 Ian Lance Taylor <ian@zembu.com>
+ * config/tc-sparc.c (sparc_ip): Add default case to reloc switch.
+
* read.c (read_a_source_file): Only declare inescape if
QUOTES_IN_INSN.
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index 6894ca1..88a9f70 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -2173,6 +2173,9 @@ sparc_ip (str, pinsn)
valueT val = the_insn.exp.X_add_number;
switch (the_insn.reloc)
{
+ default:
+ break;
+
case BFD_RELOC_SPARC_HH22:
val = BSR (val, 32);
/* intentional fallthrough */