X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=benchmarks%2Fcommon%2Ftest.ld;h=dda2a7f528ccd6e8b8ce964c03fefbf9995e4435;hb=d9d10ada1e5ade369128c4fd12fcfe1693288eed;hp=952bf539688c5a3da905e0cec0d6cdc8a4f0e9d7;hpb=0c98ef833db1f6eead3bd9ad083d9408d2d8decb;p=riscv-tests.git diff --git a/benchmarks/common/test.ld b/benchmarks/common/test.ld index 952bf53..dda2a7f 100644 --- a/benchmarks/common/test.ld +++ b/benchmarks/common/test.ld @@ -33,11 +33,16 @@ SECTIONS *(.text) } - /* data: Initialized data segment */ - .data : - { - *(.data) + /* data segmemt */ + .data : { *(.data) } + .bss : { *(.bss) } + + /* thread-local data segment */ + .tbss : { + crt.o(.tbss) /* Make sure tls_start is the first TLS symbol */ + *(.tbss) } + .tdata : { *(.tdata) } /* End of uninitalized data segement */ _end = .;