summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-08-16 12:59:32 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-08-16 12:59:32 +0000
commitc2d8fb17ed5e7ff7c5e1bb99a86bcdeed48710b7 (patch)
treece6c23e45a7aca8e408053e59077d976596ede35 /gas
parentf2590545698f5c76b3d823e8e9211614a68d568c (diff)
downloadbinutils-redhat-c2d8fb17ed5e7ff7c5e1bb99a86bcdeed48710b7.tar.gz
* config/tc-ppc.c (ppc_elf_cons): Allow @l and other reloc
modifiers generally.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 62574a6259..f0ca044b21 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
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.
2013-08-14 David Edelsohn <dje.gcc@gmail.com>
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 06f4e9f952..1631fb7fa4 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)
{