aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-05-30 14:20:27 +0000
committerNick Clifton <nickc@redhat.com>2008-05-30 14:20:27 +0000
commit0a903babefa8ba7e131e1a39494817df8ccad44d (patch)
treed46a38b8a76f825be4d9b9007b622220f85e9e29 /gas
parentc2760c3517c45f0883120d34d470223392240ac6 (diff)
downloadgdb-0a903babefa8ba7e131e1a39494817df8ccad44d.zip
gdb-0a903babefa8ba7e131e1a39494817df8ccad44d.tar.gz
gdb-0a903babefa8ba7e131e1a39494817df8ccad44d.tar.bz2
PR 5523
* config/tc-avr.c (avr_ldi_expression): Do not warn about unknown relocs here.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-avr.c4
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 74be89b..b186b8a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2008-05-30 Nick Clifton <nickc@redhat.com>
+
+ PR 5523
+ * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown
+ relocs here.
+
2008-05-29 Maxim Kuvyrkov <maxim@codesourcery.com>
* config/tc-mips.c (mips_cpu_info_table): Move records for
diff --git a/gas/config/tc-avr.c b/gas/config/tc-avr.c
index 1ef9edc..840b726 100644
--- a/gas/config/tc-avr.c
+++ b/gas/config/tc-avr.c
@@ -622,7 +622,9 @@ avr_ldi_expression (expressionS *exp)
break;
default:
- as_warn (_("expression dangerous with linker stubs"));
+ /* PR 5523: Do not generate a warning here,
+ legitimate code can trigger this case. */
+ break;
}
}
return reloc_to_return;