]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
authorAlan Modra <amodra@gmail.com>
Fri, 16 Aug 2013 12:59:32 +0000 (12:59 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 16 Aug 2013 12:59:32 +0000 (12:59 +0000)
modifiers generally.

gas/ChangeLog
gas/config/tc-ppc.c

index 62574a6259edeffdebd5a9c298e5a494a9596be1..f0ca044b2171369cf5973537d9edca8e590326f2 100644 (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.
index 06f4e9f952f40560bfa863ae2baacdb652d23181..1631fb7fa4bc8fc7ba9744c6958609f6cb8bf0e9 100644 (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)
        {