aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
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;