From 577cec7bc6d6a1c2b914d0061cdc3cd2ac03e7f3 Mon Sep 17 00:00:00 2001 From: John Voltz Date: Fri, 21 Mar 2008 11:21:02 +0000 Subject: current avr32 gcc patches break x86 and possibly other systems. moving bad patches to separate directory until a proper fix is made. discovered by jacmet and Dr. Nigel Kukard --- .../902-avr32-fix-pic-redefinition-warning.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 toolchain/gcc/4.2.1/avr32_patches_break_x86/902-avr32-fix-pic-redefinition-warning.patch (limited to 'toolchain/gcc/4.2.1/avr32_patches_break_x86/902-avr32-fix-pic-redefinition-warning.patch') diff --git a/toolchain/gcc/4.2.1/avr32_patches_break_x86/902-avr32-fix-pic-redefinition-warning.patch b/toolchain/gcc/4.2.1/avr32_patches_break_x86/902-avr32-fix-pic-redefinition-warning.patch new file mode 100644 index 000000000..ae9fa5d18 --- /dev/null +++ b/toolchain/gcc/4.2.1/avr32_patches_break_x86/902-avr32-fix-pic-redefinition-warning.patch @@ -0,0 +1,16 @@ +Index: gcc/gcc/config/avr32/linux-elf.h +=================================================================== +--- gcc/gcc/config/avr32/linux-elf.h (revision 31583) ++++ gcc/gcc/config/avr32/linux-elf.h (working copy) +@@ -122,11 +122,6 @@ + builtin_define ("__AVR32_HAS_BRANCH_PRED__"); \ + if (TARGET_FAST_FLOAT) \ + builtin_define ("__AVR32_FAST_FLOAT__"); \ +- if (flag_pic) \ +- { \ +- builtin_define ("__PIC__"); \ +- builtin_define ("__pic__"); \ +- } \ + } \ + while (0) + -- cgit v1.2.3