Fix Sparc32 ldscript


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2733 c046a42c-6fe2-441c-8c8c-71466251a162
diff --git a/sparc.ld b/sparc.ld
index 6333928..2b19d57 100644
--- a/sparc.ld
+++ b/sparc.ld
@@ -64,6 +64,8 @@
     CONSTRUCTORS
   }
   .data1   : { *(.data1) }
+  .tdata    : { *(.tdata) }
+  .tbss    : { *(.tbss) }
   .ctors         :
   {
     *(.ctors)
@@ -125,4 +127,5 @@
   .debug_typenames 0 : { *(.debug_typenames) }
   .debug_varnames  0 : { *(.debug_varnames) }
   /* These must appear regardless of  .  */
+  /DISCARD/ : { *(.note.GNU-stack) *(.note.ABI-tag) }
 }