X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=rpikern;a=blobdiff_plain;f=rpikern.ld;h=ddec6996aca8283b98de9352132ceef8b5d0f3e3;hp=074a182124ef893ccb317d5ee555c71e59faac95;hb=d80ebb8add60dd01b37d21c21a1a9d971f0f9dce;hpb=e3851fa5fc01560a8ab799046b7cf0d2f35f18e8 diff --git a/rpikern.ld b/rpikern.ld index 074a182..ddec699 100644 --- a/rpikern.ld +++ b/rpikern.ld @@ -1,15 +1,22 @@ SECTIONS { + .vect : { + * (.vect*); + } + . = 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 = .; }