-
- Downloads
nios2: fix r15 issue for gcc4
The "-ffixed-r15" option doesn't work well for gcc4. Since we don't use gp for small data with option "-G0", we can use gp as global data pointer. This allows compiler to use r15. It is necessary for gcc4 to work properly. Signed-off-by:Thomas Chou <thomas@wytron.com.tw> Signed-off-by:
Scott McNutt <smcnutt@psyent.com>
Showing
- README 8 additions, 0 deletionsREADME
- arch/nios2/config.mk 1 addition, 1 deletionarch/nios2/config.mk
- arch/nios2/cpu/start.S 0 additions, 7 deletionsarch/nios2/cpu/start.S
- arch/nios2/include/asm/global_data.h 1 addition, 1 deletionarch/nios2/include/asm/global_data.h
- doc/README.standalone 7 additions, 6 deletionsdoc/README.standalone
- examples/standalone/stubs.c 3 additions, 3 deletionsexamples/standalone/stubs.c
Loading
Please register or sign in to comment