* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc

modifiers generally.
This commit is contained in:
Alan Modra 2013-08-16 12:59:32 +00:00
parent cbe02d4f39
commit 27285eedbd
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-08-16 Alan Modra <amodra@gmail.com>
* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
modifiers generally.
2013-08-16 Alan Modra <amodra@gmail.com>
* config/tc-ppc.c (ppc_elf_lcomm): Use subsection 1.

View File

@ -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)
{