aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-25 02:02:21 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-25 02:02:21 +0000
commit4faf939afedaeaa18481821e90bc377f0be6b055 (patch)
treecef353694ea641edf4f0b480f79e591df02366d0
parenta87d9ac49a101dad65dd08ba70f6f8e2e29d0f39 (diff)
downloadgdb-4faf939afedaeaa18481821e90bc377f0be6b055.zip
gdb-4faf939afedaeaa18481821e90bc377f0be6b055.tar.gz
gdb-4faf939afedaeaa18481821e90bc377f0be6b055.tar.bz2
* config/tc-ppc.c (md_assemble): Do not generate APUinfo sections
for 64-bit output.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ppc.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e89e8b4..75e312e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index fd15bea..0929e52 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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)