hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

hare+libc.sc (720B)


      1 SECTIONS {
      2 	. = 0x8000000;
      3 	.text : {
      4 		KEEP (*(.text))
      5 		*(.text.*)
      6 	}
      7 	. = 0x80000000;
      8 	.data : {
      9 		KEEP (*(.data))
     10 		*(.data.*)
     11 	}
     12 
     13 	.rela.plt : {
     14 		*(.rela.plt)
     15 	}
     16 
     17 	.init_array : {
     18 		PROVIDE_HIDDEN (__init_array_start = .);
     19 		PROVIDE_HIDDEN (__init_array_end = .);
     20 	}
     21 
     22 	.libc_init_array : {
     23 		PROVIDE_HIDDEN (__libc_init_array_start = .);
     24 		KEEP (*(.init_array))
     25 		PROVIDE_HIDDEN (__libc_init_array_end = .);
     26 	}
     27 
     28 	.fini_array : {
     29 		PROVIDE_HIDDEN (__fini_array_start = .);
     30 		KEEP (*(.fini_array))
     31 		PROVIDE_HIDDEN (__fini_array_end = .);
     32 	}
     33 
     34 	.test_array : {
     35 		PROVIDE_HIDDEN (__test_array_start = .);
     36 		KEEP (*(.test_array))
     37 		PROVIDE_HIDDEN (__test_array_end = .);
     38 	}
     39 
     40 	.bss : {
     41 		KEEP (*(.bss))
     42 		*(.bss.*)
     43 	}
     44 }