summaryrefslogtreecommitdiff
path: root/toolchain/gcc/4.2.1/902-avr32-fix-pic-redefinition-warning.patch
blob: ae9fa5d1880ae217ca958c209e1f7d4feef09dac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)