aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sparc.ld3
1 files changed, 3 insertions, 0 deletions
diff --git a/sparc.ld b/sparc.ld
index 6333928ad2..2b19d57ff0 100644
--- a/sparc.ld
+++ b/sparc.ld
@@ -64,6 +64,8 @@ SECTIONS
CONSTRUCTORS
}
.data1 : { *(.data1) }
+ .tdata : { *(.tdata) }
+ .tbss : { *(.tbss) }
.ctors :
{
*(.ctors)
@@ -125,4 +127,5 @@ SECTIONS
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
/* These must appear regardless of . */
+ /DISCARD/ : { *(.note.GNU-stack) *(.note.ABI-tag) }
}