Update reference toolchain due to some inlining bugs in 4.5.1
Signed-off-by: Stefan Reinauer <stepan@coreboot.org> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6195 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
3817494e08
commit
5411e718c1
|
@ -18,8 +18,8 @@
|
|||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
#
|
||||
|
||||
CROSSGCC_DATE="November 16th, 2010"
|
||||
CROSSGCC_VERSION="1.02"
|
||||
CROSSGCC_DATE="December 16th, 2010"
|
||||
CROSSGCC_VERSION="1.03"
|
||||
|
||||
# default settings
|
||||
TARGETDIR=`pwd`/xgcc
|
||||
|
@ -31,7 +31,7 @@ GMP_VERSION=5.0.1
|
|||
MPFR_VERSION=3.0.0
|
||||
MPC_VERSION=0.8.2
|
||||
LIBELF_VERSION=0.8.13
|
||||
GCC_VERSION=4.5.1
|
||||
GCC_VERSION=4.5.2
|
||||
BINUTILS_VERSION=2.20.1
|
||||
GDB_VERSION=7.2
|
||||
W32API_VERSION=3.15
|
||||
|
@ -42,7 +42,7 @@ GMP_ARCHIVE="ftp://ftp.gmplib.org/pub/gmp-${GMP_VERSION}/gmp-${GMP_VERSION}.tar.
|
|||
MPFR_ARCHIVE="http://www.mpfr.org/mpfr-${MPFR_VERSION}/mpfr-${MPFR_VERSION}.tar.bz2"
|
||||
MPC_ARCHIVE="http://www.multiprecision.org/mpc/download/mpc-${MPC_VERSION}.tar.gz"
|
||||
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
|
||||
GCC_ARCHIVE="ftp://ftp.gwdg.de/pub/gnu/ftp/gnu/gcc/gcc-${GCC_VERSION}/gcc-core-${GCC_VERSION}.tar.bz2"
|
||||
GCC_ARCHIVE="ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-${GCC_VERSION}/gcc-core-${GCC_VERSION}.tar.bz2"
|
||||
BINUTILS_ARCHIVE="http://ftp.gnu.org/gnu/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
|
||||
GDB_ARCHIVE="http://ftp.gnu.org/gnu/gdb/gdb-${GDB_VERSION}.tar.bz2"
|
||||
W32API_ARCHIVE="http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-${W32API_VERSION}/w32api-${W32API_VERSION}-mingw32-src.tar.gz"
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
--- binutils-2.19.1/gas/config/tc-i386.c~ 2009-01-20 14:19:04.000000000 +0100
|
||||
+++ binutils-2.19.1/gas/config/tc-i386.c 2009-01-20 14:20:47.000000000 +0100
|
||||
@@ -318,6 +318,7 @@
|
||||
&& !defined (TE_GNU) \
|
||||
&& !defined (TE_LINUX) \
|
||||
&& !defined (TE_NETWARE) \
|
||||
+ && 0 \
|
||||
&& !defined (TE_FreeBSD) \
|
||||
&& !defined (TE_NetBSD)))
|
||||
/* This array holds the chars that always start a comment. If the
|
|
@ -1,50 +0,0 @@
|
|||
--- t/gcc-4.4.1/gcc/crtstuff.c Fr. Apr 10 01:23:07 2009
|
||||
+++ gcc-4.4.1/gcc/crtstuff.c Di. Jul 28 16:43:28 2009
|
||||
@@ -204,6 +204,7 @@
|
||||
= { (func_ptr) (-1) };
|
||||
#endif /* __DTOR_LIST__ alternatives */
|
||||
|
||||
+#if 0
|
||||
#ifdef USE_EH_FRAME_REGISTRY
|
||||
/* Stick a label at the beginning of the frame unwind info so we can register
|
||||
and deregister it with the exception handling library code. */
|
||||
@@ -219,6 +220,7 @@
|
||||
__attribute__ ((unused, section(JCR_SECTION_NAME), aligned(sizeof(void*))))
|
||||
= { };
|
||||
#endif /* JCR_SECTION_NAME */
|
||||
+#endif
|
||||
|
||||
#if defined(INIT_SECTION_ASM_OP) || defined(INIT_ARRAY_SECTION_ASM_OP)
|
||||
|
||||
@@ -309,6 +311,7 @@
|
||||
}
|
||||
#endif /* !defined(FINI_ARRAY_SECTION_ASM_OP) */
|
||||
|
||||
+#if 0
|
||||
#ifdef USE_EH_FRAME_REGISTRY
|
||||
#ifdef CRT_GET_RFIB_DATA
|
||||
/* If we used the new __register_frame_info_bases interface,
|
||||
@@ -320,6 +323,7 @@
|
||||
__deregister_frame_info (__EH_FRAME_BEGIN__);
|
||||
#endif
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
completed = 1;
|
||||
}
|
||||
@@ -333,6 +337,7 @@
|
||||
= { __do_global_dtors_aux };
|
||||
#endif /* !defined(FINI_SECTION_ASM_OP) */
|
||||
|
||||
+#if 0
|
||||
#if defined(USE_EH_FRAME_REGISTRY) || defined(JCR_SECTION_NAME)
|
||||
/* Stick a call to __register_frame_info into the .init section. For some
|
||||
reason calls with no arguments work more reliably in .init, so stick the
|
||||
@@ -364,6 +369,7 @@
|
||||
}
|
||||
#endif /* JCR_SECTION_NAME */
|
||||
}
|
||||
+#endif
|
||||
|
||||
#ifdef INIT_SECTION_ASM_OP
|
||||
CRT_CALL_STATIC_FUNCTION (INIT_SECTION_ASM_OP, frame_dummy)
|
|
@ -0,0 +1,10 @@
|
|||
diff -ur gcc-4.5.2.orig/gcc/config/i386/i386elf.h gcc-4.5.1/gcc/config/i386/i386elf.h
|
||||
--- gcc-4.5.2.orig/gcc/config/i386/i386elf.h 2010-11-17 19:48:16.184401200 -0700
|
||||
+++ gcc-4.5.2/gcc/config/i386/i386elf.h 2010-11-17 20:52:54.443969900 -0700
|
||||
@@ -123,3 +123,6 @@
|
||||
#undef ASM_OUTPUT_ALIGNED_BSS
|
||||
#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
|
||||
asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
|
||||
+
|
||||
+/* Enable parsing of #pragma pack(push,<n>) and #pragma pack(pop). */
|
||||
+#define HANDLE_PRAGMA_PACK_PUSH_POP 1
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue