cynix

x86 UNIX-like OS
git clone git://git.2f30.org/cynix
Log | Files | Refs | README | LICENSE

link.ld (403B)


      1 ENTRY(start)
      2 SECTIONS
      3 {
      4     .text 0x100000:
      5     {
      6         code = .; _code = .; __code = .;
      7         *(.text)
      8         . = ALIGN(4096);
      9     }
     10     .data :
     11     {
     12         data = .; _data = .; __data = .;
     13         *(.data)
     14         *(.rodata)
     15         . = ALIGN(4096);
     16     }
     17     .bss :
     18     {
     19         bss = .; _bss = .; __bss = .;
     20         *(.bss)
     21         . = ALIGN(4096);
     22     }
     23     end = .; _end = .; __end = .;
     24 }