add GCC 4.2.3
[openwrt/openwrt.git] / toolchain / gcc / patches / 4.2.3 / 902-avr32_fix_pic_redefinition_warning.patch
1 Index: gcc/gcc/config/avr32/linux-elf.h
2 ===================================================================
3 --- gcc/gcc/config/avr32/linux-elf.h (revision 31583)
4 +++ gcc/gcc/config/avr32/linux-elf.h (working copy)
5 @@ -122,11 +122,6 @@
6 builtin_define ("__AVR32_HAS_BRANCH_PRED__"); \
7 if (TARGET_FAST_FLOAT) \
8 builtin_define ("__AVR32_FAST_FLOAT__"); \
9 - if (flag_pic) \
10 - { \
11 - builtin_define ("__PIC__"); \
12 - builtin_define ("__pic__"); \
13 - } \
14 } \
15 while (0)
16