aboutsummaryrefslogtreecommitdiff
path: root/gas/config
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 /gas/config
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.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c3
1 files changed, 2 insertions, 1 deletions
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)