From 5411e718c1eaa0f1d8f1dc26c74e4250d034e916 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 17 Dec 2010 02:32:42 +0000 Subject: Update reference toolchain due to some inlining bugs in 4.5.1 Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6195 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/crossgcc/patches/gcc-4.5.2_pragma.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 util/crossgcc/patches/gcc-4.5.2_pragma.patch (limited to 'util/crossgcc/patches/gcc-4.5.2_pragma.patch') diff --git a/util/crossgcc/patches/gcc-4.5.2_pragma.patch b/util/crossgcc/patches/gcc-4.5.2_pragma.patch new file mode 100644 index 0000000000..d36f489b3f --- /dev/null +++ b/util/crossgcc/patches/gcc-4.5.2_pragma.patch @@ -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,) and #pragma pack(pop). */ ++#define HANDLE_PRAGMA_PACK_PUSH_POP 1 -- cgit v1.2.3