commit | 0df01fd3d71481b5cc7aeea6a741b9fc3be15178 | [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 | 661ba14051db6766932fcb50ba1ec7c67f230054 [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>