X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=boot.ld;fp=boot.ld;h=0000000000000000000000000000000000000000;hb=426ed1c5006c82261fee2eea3feafe3282b2b862;hp=99bc7019b8192197154b14310796aeea2cc9a975;hpb=a7e2224fbb33e0662d6fd3fe21e91f5fe185fd4b;p=eightysix diff --git a/boot.ld b/boot.ld deleted file mode 100644 index 99bc701..0000000 --- a/boot.ld +++ /dev/null @@ -1,34 +0,0 @@ -OUTPUT_FORMAT(binary) -ENTRY(_start) - -SECTIONS { - . = 0x7c00; - .bootsect : { - * (.bootsect); - } - _bootsect_end = .; - - /* load high out of the way, to allow stage2 to load the kernel low */ - . = 0x80000; - _stage2_start = .; - _stage2_start_seg = _stage2_start >> 4; - .text : AT(_bootsect_end) { - * (.startup); - * (.text*); - } - .data : { - * (.rodata*); - * (.data*); - } - .bss ALIGN(4) (NOLOAD): { - _bss_start = .; - _bss_start_off = _bss_start - _stage2_start; - * (.bss*); - * (COMMON); - . = ALIGN(4); - } - _bss_size = SIZEOF(.bss); - . = ALIGN(4); - _stage2_end = .; - _stage2_size = _stage2_end - _stage2_start; -};