parent
70f913348f
commit
1e85be0ecf
@ -1 +1,2 @@
|
|||||||
/openbios-1.0-svn1061.tar.gz
|
/openbios-1.0-svn1061.tar.gz
|
||||||
|
/openbios-1.0-svn1063.tar.gz
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
From edd8b56b3181853ebba727e4ab3a09f86092bb9b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Cole Robinson <crobinso@redhat.com>
|
||||||
|
Date: Mon, 17 Sep 2012 17:07:19 -0400
|
||||||
|
Subject: [PATCH] Use 64bit gcc for 32bit ppc + sparc
|
||||||
|
|
||||||
|
Fedora only packages the 64 bit cross compilers, so it's our only
|
||||||
|
option. Not intended for upstream.
|
||||||
|
|
||||||
|
Signed-off-by: Cole Robinson <crobinso@redhat.com>
|
||||||
|
---
|
||||||
|
config/scripts/switch-arch | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/config/scripts/switch-arch b/config/scripts/switch-arch
|
||||||
|
index a9c911b..c1d1dbb 100755
|
||||||
|
--- a/config/scripts/switch-arch
|
||||||
|
+++ b/config/scripts/switch-arch
|
||||||
|
@@ -230,7 +230,7 @@ for ARCH in $arch_list; do
|
||||||
|
;;
|
||||||
|
|
||||||
|
ppc)
|
||||||
|
- select_prefix powerpc
|
||||||
|
+ select_prefix powerpc64
|
||||||
|
if [ "$unix" = "no" ]; then
|
||||||
|
CFLAGS="-m32 -msoft-float -fno-builtin-bcopy -fno-builtin-log2"
|
||||||
|
AS_FLAGS="-m32"
|
||||||
|
@@ -248,7 +248,7 @@ for ARCH in $arch_list; do
|
||||||
|
;;
|
||||||
|
|
||||||
|
sparc32)
|
||||||
|
- select_prefix sparc
|
||||||
|
+ select_prefix sparc64
|
||||||
|
CFLAGS="-Wa,-xarch=v8 -Wa,-32 -m32 -mcpu=supersparc -fno-builtin"
|
||||||
|
AS_FLAGS="-Wa,-xarch=v8 -Wa,-32"
|
||||||
|
;;
|
||||||
|
--
|
||||||
|
1.7.11.2
|
||||||
|
|
@ -1,13 +0,0 @@
|
|||||||
Index: Makefile.target
|
|
||||||
===================================================================
|
|
||||||
--- Makefile.target (revision 1061)
|
|
||||||
+++ Makefile.target (working copy)
|
|
||||||
@@ -30,7 +30,7 @@
|
|
||||||
CFLAGS+= -Wall -Wredundant-decls -Wshadow -Wpointer-arith
|
|
||||||
CFLAGS+= -Wstrict-prototypes -Wmissing-declarations -Wundef -Wendif-labels
|
|
||||||
CFLAGS+= -Wstrict-aliasing -Wwrite-strings -Wmissing-prototypes -Wnested-externs
|
|
||||||
-CFLAGS+= -Werror
|
|
||||||
+#CFLAGS+= -Werror
|
|
||||||
# Flags for dependency generation
|
|
||||||
CFLAGS+= -MMD -MP -MT $@ -MF '$(*D)/$(*F).d'
|
|
||||||
INCLUDES := -I$(SRCDIR)/include -I$(SRCDIR)/kernel/include -I$(ODIR)/target/include
|
|
@ -1,27 +0,0 @@
|
|||||||
Index: config/scripts/switch-arch
|
|
||||||
===================================================================
|
|
||||||
--- config/scripts/switch-arch (revision 1061)
|
|
||||||
+++ config/scripts/switch-arch (working copy)
|
|
||||||
@@ -230,9 +230,9 @@
|
|
||||||
;;
|
|
||||||
|
|
||||||
ppc)
|
|
||||||
- select_prefix powerpc
|
|
||||||
+ select_prefix powerpc64
|
|
||||||
if [ "$unix" = "no" ]; then
|
|
||||||
- CFLAGS="-msoft-float -fno-builtin-bcopy -fno-builtin-log2"
|
|
||||||
+ CFLAGS="-msoft-float -fno-builtin-bcopy -fno-builtin-log2 -m32"
|
|
||||||
else
|
|
||||||
CFLAGS="-fno-builtin"
|
|
||||||
fi
|
|
||||||
Index: arch/ppc/qemu/ldscript
|
|
||||||
===================================================================
|
|
||||||
--- arch/ppc/qemu/ldscript (revision 1061)
|
|
||||||
+++ arch/ppc/qemu/ldscript (working copy)
|
|
||||||
@@ -1,5 +1,5 @@
|
|
||||||
OUTPUT_FORMAT(elf32-powerpc)
|
|
||||||
-OUTPUT_ARCH(powerpc)
|
|
||||||
+OUTPUT_ARCH(powerpc:common)
|
|
||||||
|
|
||||||
/* Initial load address
|
|
||||||
*/
|
|
@ -1,13 +0,0 @@
|
|||||||
Index: config/scripts/switch-arch
|
|
||||||
===================================================================
|
|
||||||
--- config/scripts/switch-arch (revision 1061)
|
|
||||||
+++ config/scripts/switch-arch (working copy)
|
|
||||||
@@ -247,7 +247,7 @@
|
|
||||||
;;
|
|
||||||
|
|
||||||
sparc32)
|
|
||||||
- select_prefix sparc
|
|
||||||
+ select_prefix sparc64
|
|
||||||
CFLAGS="-Wa,-xarch=v8 -Wa,-32 -m32 -mcpu=supersparc -fno-builtin"
|
|
||||||
AS_FLAGS="-Wa,-xarch=v8 -Wa,-32"
|
|
||||||
;;
|
|
Loading…
Reference in new issue