* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.1.2
@ 2007-10-19 17:41 vanokuten at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: vanokuten at uclibc.org @ 2007-10-19 17:41 UTC (permalink / raw)
To: buildroot
Author: vanokuten
Date: 2007-10-19 10:41:58 -0700 (Fri, 19 Oct 2007)
New Revision: 20297
Log:
add soft-float support to 4.1.2 gcc, thanks to Hamish Moffatt
Added:
trunk/buildroot/toolchain/gcc/4.1.2/910-soft-float.patch
Changeset:
Added: trunk/buildroot/toolchain/gcc/4.1.2/910-soft-float.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.1.2/910-soft-float.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.1.2/910-soft-float.patch 2007-10-19 17:41:58 UTC (rev 20297)
@@ -0,0 +1,26 @@
+--- gcc-4.2-20061205/gcc/config/arm/t-linux 2006-12-08 15:18:33.000000000 -0800
++++ gcc-4.2-20061205/gcc/config/arm/t-linux 2006-12-08 15:18:33.000000000 -0800
+@@ -4,7 +4,10 @@
+ LIBGCC2_DEBUG_CFLAGS = -g0
+
+ LIB1ASMSRC = arm/lib1funcs.asm
+-LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx
++LIB1ASMFUNCS = _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_lnx \
++ _negdf2 _addsubdf3 _muldivdf3 _cmpdf2 _unorddf2 _fixdfsi _fixunsdfsi \
++ _truncdfsf2 _negsf2 _addsubsf3 _muldivsf3 _cmpsf2 _unordsf2 \
++ _fixsfsi _fixunssfsi _floatdidf _floatundidf _floatdisf _floatundisf
+
+ # MULTILIB_OPTIONS = mhard-float/msoft-float
+ # MULTILIB_DIRNAMES = hard-float soft-float
+
+--- gcc-4.2-20061205/gcc/config/arm/linux-elf.h 2006-12-08 15:18:33.000000000 -0800
++++ gcc-4.2-20061205/gcc/config/arm/linux-elf.h 2006-12-08 15:18:33.000000000 -0800
+@@ -63,7 +63,7 @@
+ %{shared:-lc} \
+ %{!shared:%{profile:-lc_p}%{!profile:-lc}}"
+
+-#define LIBGCC_SPEC "%{msoft-float:-lfloat} %{mfloat-abi=soft*:-lfloat} -lgcc"
++#define LIBGCC_SPEC "-lgcc"
+
+ #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
+
^ permalink raw reply [flat|nested] 3+ messages in thread* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.1.2
@ 2007-02-13 18:56 aldot at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: aldot at uclibc.org @ 2007-02-13 18:56 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-13 10:56:54 -0800 (Tue, 13 Feb 2007)
New Revision: 17876
Log:
- backport fix for PR30620
Added:
trunk/buildroot/toolchain/gcc/4.1.2/402-libbackend_dep_gcov-iov.h.patch
Changeset:
Added: trunk/buildroot/toolchain/gcc/4.1.2/402-libbackend_dep_gcov-iov.h.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.1.2/402-libbackend_dep_gcov-iov.h.patch (rev 0)
+++ trunk/buildroot/toolchain/gcc/4.1.2/402-libbackend_dep_gcov-iov.h.patch 2007-02-13 18:56:54 UTC (rev 17876)
@@ -0,0 +1,12 @@
+# gcc.gnu.org/PR30620
+--- gcc-4.1.2-20070208.orig/gcc/Makefile.in 2006-11-01 15:40:44.000000000 +0100
++++ gcc-4.1.2-20070208/gcc/Makefile.in 2007-02-13 19:23:31.000000000 +0100
+@@ -2522,7 +2522,7 @@
+ # FIXME: writing proper dependencies for this is a *LOT* of work.
+ libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
+ insn-config.h insn-flags.h insn-codes.h insn-constants.h \
+- insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE)
++ insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h
+ $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) \
+ -DTARGET_NAME=\"$(target_noncanonical)\" \
+ -DLOCALEDIR=\"$(localedir)\" \
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.1.2
@ 2007-02-02 13:49 aldot at uclibc.org
0 siblings, 0 replies; 3+ messages in thread
From: aldot at uclibc.org @ 2007-02-02 13:49 UTC (permalink / raw)
To: buildroot
Author: aldot
Date: 2007-02-02 05:49:38 -0800 (Fri, 02 Feb 2007)
New Revision: 17724
Log:
- update for default endian
Modified:
trunk/buildroot/toolchain/gcc/4.1.2/800-arm-bigendian.patch
Changeset:
Modified: trunk/buildroot/toolchain/gcc/4.1.2/800-arm-bigendian.patch
===================================================================
--- trunk/buildroot/toolchain/gcc/4.1.2/800-arm-bigendian.patch 2007-02-02 12:50:17 UTC (rev 17723)
+++ trunk/buildroot/toolchain/gcc/4.1.2/800-arm-bigendian.patch 2007-02-02 13:49:38 UTC (rev 17724)
@@ -3,8 +3,10 @@
See http://gcc.gnu.org/PR16350
---- gcc-4.1.0/gcc/config/arm/linux-elf.h
-+++ gcc-4.1.0/gcc/config/arm/linux-elf.h
+Index: gcc-4.1.1/gcc/config/arm/linux-elf.h
+===================================================================
+--- gcc-4.1.1.orig/gcc/config/arm/linux-elf.h
++++ gcc-4.1.1/gcc/config/arm/linux-elf.h
@@ -28,19 +28,33 @@
#undef TARGET_VERSION
#define TARGET_VERSION fputs (" (ARM GNU/Linux with ELF)", stderr);
@@ -51,9 +53,11 @@
SUBTARGET_EXTRA_LINK_SPEC
#undef LINK_SPEC
---- gcc-4.1.0/gcc/config.gcc
-+++ gcc-4.1.0/gcc/config.gcc
-@@ -672,6 +672,11 @@
+Index: gcc-4.1.1/gcc/config.gcc
+===================================================================
+--- gcc-4.1.1.orig/gcc/config.gcc
++++ gcc-4.1.1/gcc/config.gcc
+@@ -672,6 +672,11 @@ arm*-*-netbsd*)
;;
arm*-*-linux*) # ARM GNU/Linux with ELF
tm_file="dbxelf.h elfos.h linux.h arm/elf.h arm/linux-gas.h arm/linux-elf.h"
@@ -65,3 +69,59 @@
tmake_file="${tmake_file} t-linux arm/t-arm"
case ${target} in
arm*-*-linux-gnueabi)
+Index: gcc-4.1.1/gcc/config/arm/linux-eabi.h
+===================================================================
+--- gcc-4.1.1.orig/gcc/config/arm/linux-eabi.h
++++ gcc-4.1.1/gcc/config/arm/linux-eabi.h
+@@ -20,6 +20,17 @@
+ the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA. */
+
++/*
++ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-*
++ * (big endian) configurations.
++ */
++#undef TARGET_LINKER_EMULATION
++#if TARGET_BIG_ENDIAN_DEFAULT
++#define TARGET_LINKER_EMULATION "armelfb_linux_eabi"
++#else
++#define TARGET_LINKER_EMULATION "armelf_linux_eabi"
++#endif
++
+ /* On EABI GNU/Linux, we want both the BPABI builtins and the
+ GNU/Linux builtins. */
+ #undef TARGET_OS_CPP_BUILTINS
+@@ -48,7 +59,7 @@
+ #define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+
+ #undef SUBTARGET_EXTRA_LINK_SPEC
+-#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
++#define SUBTARGET_EXTRA_LINK_SPEC " -m " TARGET_LINKER_EMULATION
+
+ /* Use ld-linux.so.3 so that it will be possible to run "classic"
+ GNU/Linux binaries on an EABI system. */
+Index: gcc-4.1.1/gcc/config/arm/bpabi.h
+===================================================================
+--- gcc-4.1.1.orig/gcc/config/arm/bpabi.h
++++ gcc-4.1.1/gcc/config/arm/bpabi.h
+@@ -33,9 +33,19 @@
+ #undef FPUTYPE_DEFAULT
+ #define FPUTYPE_DEFAULT FPUTYPE_VFP
+
++/*
++ * 'config.gcc' defines TARGET_BIG_ENDIAN_DEFAULT as 1 for arm*b-*
++ * (big endian) configurations.
++ */
++#if TARGET_BIG_ENDIAN_DEFAULT
++#define TARGET_ENDIAN_DEFAULT MASK_BIG_END
++#else
++#define TARGET_ENDIAN_DEFAULT 0
++#endif
++
+ /* EABI targets should enable interworking by default. */
+ #undef TARGET_DEFAULT
+-#define TARGET_DEFAULT MASK_INTERWORK
++#define TARGET_DEFAULT (MASK_INTERWORK | TARGET_ENDIAN_DEFAULT)
+
+ /* The ARM BPABI functions return a boolean; they use no special
+ calling convention. */
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-19 17:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 17:41 [Buildroot] svn commit: trunk/buildroot/toolchain/gcc/4.1.2 vanokuten at uclibc.org
-- strict thread matches above, loose matches on Subject: below --
2007-02-13 18:56 aldot at uclibc.org
2007-02-02 13:49 aldot at uclibc.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox