[link] elf, gcc garbage
This commit is contained in:
parent
a2133cebd7
commit
c60d48bea4
BIN
bootdisk.img
BIN
bootdisk.img
Binary file not shown.
8
link.ld
8
link.ld
|
@ -1,4 +1,4 @@
|
||||||
OUTPUT_FORMAT("binary")
|
OUTPUT_FORMAT(elf32-i386)
|
||||||
ENTRY(start)
|
ENTRY(start)
|
||||||
phys = 0x00100000;
|
phys = 0x00100000;
|
||||||
SECTIONS
|
SECTIONS
|
||||||
|
@ -22,4 +22,10 @@ SECTIONS
|
||||||
. = ALIGN(4096);
|
. = ALIGN(4096);
|
||||||
}
|
}
|
||||||
end = .;
|
end = .;
|
||||||
|
/DISCARD/ :
|
||||||
|
{
|
||||||
|
*(.comment)
|
||||||
|
*(.eh_frame)
|
||||||
|
*(.note.gnu.build-id)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue