From 0a903babefa8ba7e131e1a39494817df8ccad44d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 30 May 2008 14:20:27 +0000 Subject: PR 5523 * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown relocs here. --- gas/ChangeLog | 6 ++++++ gas/config/tc-avr.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'gas') 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 + + PR 5523 + * config/tc-avr.c (avr_ldi_expression): Do not warn about unknown + relocs here. + 2008-05-29 Maxim Kuvyrkov * 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; -- cgit v1.1