aboutsummaryrefslogtreecommitdiff
path: root/gnu/lib/libgcc/Makefile
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-07-10 02:29:22 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2010-07-10 02:29:22 +0000
commit2cf64c8006d7b7c6b122b7a492086a8cefe0f4d4 (patch)
tree9f6c3a9c7f6dc298b58f5ddb2655b080c986678d /gnu/lib/libgcc/Makefile
parentb543e91ba5678e60f8a6b612d473365c8fa83648 (diff)
Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64
Notes
Notes: svn path=/head/; revision=209867
Diffstat (limited to 'gnu/lib/libgcc/Makefile')
-rw-r--r--gnu/lib/libgcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index b54e0bd797b9..b3480dc2da30 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -143,6 +143,11 @@ LIB2FUNCS_EXTRA = tramp.asm
LIB2FUNCS_STATIC_EXTRA = eabi.asm
.endif
+.if ${TARGET_ARCH} == "powerpc64"
+# from config/rs6000/t-ppccomm
+LIB2FUNCS_EXTRA = tramp.asm
+.endif
+
.if ${TARGET_ARCH} == "sparc64"
# from config/sparc/t-elf
LIB1ASMSRC = lb1spc.asm