X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=rpikern.ld;h=3843a153163f6e476cca703208d7216e456d877d;hp=074a182124ef893ccb317d5ee555c71e59faac95;hb=4cdb0feb633bc6181644704cea8f18368b5bcfd1;hpb=e3851fa5fc01560a8ab799046b7cf0d2f35f18e8 diff --git a/rpikern.ld b/rpikern.ld index 074a182..3843a15 100644 --- a/rpikern.ld +++ b/rpikern.ld @@ -1,15 +1,18 @@ SECTIONS { . = 0x00008000; + _stacktop = .; _kern_start = .; - .startup : { KEEP(* (.startup)) } - .text : { * (.text); } - .rotdata : { * (.rodata); } - .data : { * (.data); } + .text : { + KEEP(* (.startup*)); + * (.text*); + } + .rodata ALIGN(4): { * (.rodata*); } + .data ALIGN(4): { * (.data*); } .bss ALIGN(4): { _bss_start = .; - * (.bss); + * (.bss*); . = ALIGN(4); _bss_end = .; }