]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
authorJoseph Myers <joseph@codesourcery.com>
Fri, 25 Jan 2013 02:02:21 +0000 (02:02 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 25 Jan 2013 02:02:21 +0000 (02:02 +0000)
for 64-bit output.

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

index e89e8b4dbee7ab901855be7bb0fcc940d13ac775..75e312e09f9cab0a7f324e06deb784558bd26cf3 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-24  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
+       for 64-bit output.
+
 2013-01-24  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-v850.c: Add support for e3v5 architecture.
index fd15bea68a1534ec929393dd676b3acd02447e53..0929e52242e97da4b552b3e04f543a7033aa07d6 100644 (file)
@@ -3249,7 +3249,8 @@ md_assemble (char *str)
 
 #ifdef OBJ_ELF
   /* Do we need/want an APUinfo section? */
-  if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0)
+  if ((ppc_cpu & (PPC_OPCODE_E500 | PPC_OPCODE_E500MC | PPC_OPCODE_VLE)) != 0
+      && !ppc_obj64)
     {
       /* These are all version "1".  */
       if (opcode->flags & PPC_OPCODE_SPE)