From 4faf939afedaeaa18481821e90bc377f0be6b055 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 25 Jan 2013 02:02:21 +0000 Subject: [PATCH] * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections for 64-bit output. --- gas/ChangeLog | 5 +++++ gas/config/tc-ppc.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index e89e8b4dbee..75e312e09f9 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2013-01-24 Joseph Myers + + * config/tc-ppc.c (md_assemble): Do not generate APUinfo sections + for 64-bit output. + 2013-01-24 Nick Clifton * config/tc-v850.c: Add support for e3v5 architecture. diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index fd15bea68a1..0929e52242e 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) -- 2.30.2