disable IMQ on 2.6.25 until we have a new patch
[openwrt.git] / toolchain / gcc / patches / 4.2.3 / 901-avr32_add_mno-pic.patch
1 Index: gcc/gcc/config/avr32/avr32.opt
2 ===================================================================
3 --- gcc/gcc/config/avr32/avr32.opt (revision 31583)
4 +++ gcc/gcc/config/avr32/avr32.opt (working copy)
5 @@ -71,3 +71,6 @@
6 Target Report Var(avr32_imm_in_const_pool) Init(-1)
7 Put large immediates in constant pool. This is enabled by default for archs with insn-cache.
8
9 +mno-pic
10 +Target Report RejectNegative Mask(NO_PIC)
11 +Do not generate position-independent code.
12 Index: gcc/gcc/config/avr32/avr32.c
13 ===================================================================
14 --- gcc/gcc/config/avr32/avr32.c (revision 31583)
15 +++ gcc/gcc/config/avr32/avr32.c (working copy)
16 @@ -230,6 +230,9 @@
17 avr32_imm_in_const_pool = 0;
18 }
19
20 + if (TARGET_NO_PIC)
21 + flag_pic = 0;
22 +
23 avr32_add_gc_roots ();
24 }
25
This page took 0.041968 seconds and 5 git commands to generate.