Commit 9957427e1f0b3aee7752bac09b3083477aee064f
1 parent
2f6ecc62
Fix Sparc32 ldscript
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2733 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
0 deletions
sparc.ld
| @@ -64,6 +64,8 @@ SECTIONS | @@ -64,6 +64,8 @@ SECTIONS | ||
| 64 | CONSTRUCTORS | 64 | CONSTRUCTORS |
| 65 | } | 65 | } |
| 66 | .data1 : { *(.data1) } | 66 | .data1 : { *(.data1) } |
| 67 | + .tdata : { *(.tdata) } | ||
| 68 | + .tbss : { *(.tbss) } | ||
| 67 | .ctors : | 69 | .ctors : |
| 68 | { | 70 | { |
| 69 | *(.ctors) | 71 | *(.ctors) |
| @@ -125,4 +127,5 @@ SECTIONS | @@ -125,4 +127,5 @@ SECTIONS | ||
| 125 | .debug_typenames 0 : { *(.debug_typenames) } | 127 | .debug_typenames 0 : { *(.debug_typenames) } |
| 126 | .debug_varnames 0 : { *(.debug_varnames) } | 128 | .debug_varnames 0 : { *(.debug_varnames) } |
| 127 | /* These must appear regardless of . */ | 129 | /* These must appear regardless of . */ |
| 130 | + /DISCARD/ : { *(.note.GNU-stack) *(.note.ABI-tag) } | ||
| 128 | } | 131 | } |