changeset 6323:c5c5991545c2

Fix linux-ppc::glibc-core (glibc-2.3) PowerPC: Remove unnecessary -mnew-mnemonics.
author Masamichi Hosoda <trueroad@users.noreply.github.com>
date Tue, 20 Jan 2015 21:26:51 +0900
parents 736bcd6cd18f
children 988dc0aec476
files gub/specs/glibc.py patches/glibc-2.3-powerpc-sysdeps-Makefile.patch
diffstat 2 files changed, 15 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/glibc.py	Mon Jan 19 23:57:49 2015 +0900
+++ b/gub/specs/glibc.py	Tue Jan 20 21:26:51 2015 +0900
@@ -56,6 +56,7 @@
         'glibc-2.3-misc-sys-cdefs-inline.patch',
         'glibc-2.3-elf-Makefile.patch',
         'glibc-2.3-linuxthreads-crti-crtn.patch',
+        'glibc-2.3-powerpc-sysdeps-Makefile.patch',
         ]
     dependencies = ['cross/gcc', 'glibc-core', 'tools::bison', 'tools::gzip', 'tools::perl', 'linux-headers']
     configure_flags = (target.AutoBuild.configure_flags + misc.join_lines ('''
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/glibc-2.3-powerpc-sysdeps-Makefile.patch	Tue Jan 20 21:26:51 2015 +0900
@@ -0,0 +1,14 @@
+PowerPC: Remove unnecessary -mnew-mnemonics.
+
+http://sourceware.org/git/?p=glibc.git;a=commit;h=b3563932f85d60bb0d38b0a5f3b8f4abc133f890
+
+--- a/sysdeps/powerpc/Makefile	2004-02-14 12:24:52.000000000 +0900
++++ b/sysdeps/powerpc/Makefile	2015-01-20 21:18:22.894478200 +0900
+@@ -1,7 +1,3 @@
+-# We always want to use the new mnemonic syntax even if we are on a RS6000
+-# machine.
+-+cflags += -mnew-mnemonics
+-
+ ifeq ($(subdir),gmon)
+ sysdep_routines += ppc-mcount
+ endif