aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-avr.c
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/config/tc-avr.c
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/config/tc-avr.c')
-rw-r--r--gas/config/tc-avr.c4
1 files changed, 3 insertions, 1 deletions
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;