Skip to content
Snippets Groups Projects
Commit 0df01fd3 authored by Thomas Chou's avatar Thomas Chou Committed by Scott McNutt
Browse files

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: default avatarThomas Chou <thomas@wytron.com.tw>
Signed-off-by: default avatarScott McNutt <smcnutt@psyent.com>
parent 661ba140
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment