Link scripts shouldn't be executable.
[riscv-tests.git] / debug / targets / SiFive / HiFive1.lds
1 OUTPUT_ARCH( "riscv" )
2
3 SECTIONS
4 {
5 . = 0x80000000;
6 .text :
7 {
8 *(.text.entry)
9 *(.text)
10 }
11
12 /* data segment */
13 .data : { *(.data) }
14
15 .sdata : {
16 __global_pointer$ = . + 0x800;
17 *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2)
18 *(.srodata*)
19 *(.sdata .sdata.* .gnu.linkonce.s.*)
20 }
21
22 /* bss segment */
23 __bss_start = .;
24 .sbss : {
25 *(.sbss .sbss.* .gnu.linkonce.sb.*)
26 *(.scommon)
27 }
28 .bss : { *(.bss) }
29 __bss_end = .;
30
31 __malloc_start = .;
32 . = . + 512;
33
34 /* End of uninitalized data segement */
35 _end = .;
36 }