aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/common/test.ld
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/common/test.ld')
-rw-r--r--benchmarks/common/test.ld14
1 files changed, 13 insertions, 1 deletions
diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld
index 816c948..082891c 100644
--- a/benchmarks/common/test.ld
+++ b/benchmarks/common/test.ld
@@ -28,8 +28,20 @@ SECTIONS
*(.text)
}
- /* data segmemt */
+ /* data segment */
.data : { *(.data) }
+
+ .sdata : {
+ _gp = . + 0x800;
+ *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*)
+ *(.sdata .sdata.* .gnu.linkonce.s.*)
+ }
+
+ /* bss segment */
+ .sbss : {
+ *(.sbss .sbss.* .gnu.linkonce.sb.*)
+ *(.scommon)
+ }
.bss : { *(.bss) }
/* thread-local data segment */