commit | 8fa38586ad5120122eebf6728162f8ff28d79f2c | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Fri May 21 11:08:03 2010 +0800 |
committer | Scott McNutt <smcnutt@psyent.com> | Fri May 28 10:56:03 2010 -0400 |
tree | a5eb637453d7f400eb1f9709b376ad247905e265 | |
parent | 3a673f1885d42b8a0505aed581011b4a6405a579 [diff] |
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>