diff options
author | Alan Modra <amodra@gmail.com> | 2013-08-16 12:59:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-08-16 12:59:32 +0000 |
commit | 27285eedbdd3e333aad504dab84ad22b3e547fd7 (patch) | |
tree | cd8d67c748287bc6962f6b9fd7d652e8506cd8d9 /gas/config/tc-ppc.c | |
parent | cbe02d4f39ad1c75f2fa3926f0352815812047b9 (diff) | |
download | gdb-27285eedbdd3e333aad504dab84ad22b3e547fd7.zip gdb-27285eedbdd3e333aad504dab84ad22b3e547fd7.tar.gz gdb-27285eedbdd3e333aad504dab84ad22b3e547fd7.tar.bz2 |
* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
modifiers generally.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 06f4e9f..1631fb7 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2050,8 +2050,7 @@ ppc_elf_cons (int nbytes /* 1=.byte, 2=.word, 4=.long, 8=.llong */) do { expression (&exp); - if (exp.X_op == O_symbol - && *input_line_pointer == '@' + if (*input_line_pointer == '@' && (reloc = ppc_elf_suffix (&input_line_pointer, &exp)) != BFD_RELOC_UNUSED) { |