luajitos

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

linker.ld (381B)


      1 /* The bootloader will load the kernel at 1 MiB */
      2 ENTRY(_start)
      3 
      4 SECTIONS
      5 {
      6     . = 1M;
      7 
      8     .text BLOCK(4K) : ALIGN(4K)
      9     {
     10         *(.multiboot)
     11         *(.text)
     12     }
     13 
     14     .rodata BLOCK(4K) : ALIGN(4K)
     15     {
     16         *(.rodata)
     17     }
     18 
     19     .data BLOCK(4K) : ALIGN(4K)
     20     {
     21         *(.data)
     22     }
     23 
     24     .bss BLOCK(4K) : ALIGN(4K)
     25     {
     26         *(COMMON)
     27         *(.bss)
     28     }
     29 }