hare

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

commit bc4c107ff30ab4651e677b24b447e02d4b9cd7dd
parent eee5d5873e92af055b2806768c04cdefce64a83e
Author: Drew DeVault <sir@cmpwn.com>
Date:   Thu,  4 Feb 2021 12:05:55 -0500

rt: add hare.sc

Diffstat:
Art/hare.sc | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/rt/hare.sc b/rt/hare.sc @@ -0,0 +1,26 @@ +SECTIONS { + . = 0x10000; + .text : { *(.text) } + . = 0x8000000; + .data : { *(.data) } + + .init_array : { + PROVIDE_HIDDEN (__init_array_start = .); + KEEP (*(.init_array)) + PROVIDE_HIDDEN (__init_array_end = .); + } + + .fini_array : { + PROVIDE_HIDDEN (__fini_array_start = .); + KEEP (*(.fini_array)) + PROVIDE_HIDDEN (__fini_array_end = .); + } + + .test_array : { + PROVIDE_HIDDEN (__test_array_start = .); + KEEP (*(.test_array)) + PROVIDE_HIDDEN (__test_array_end = .); + } + + .bss : { *(.bss) } +}