Linker Script samples.

vmlinux.lds by Martin Mares; license GPL v2.
link.ld by Anthony Zbierajewski; license GPL v2.
ld.script by Wu Zhangjink; license GPL v2.
This commit is contained in:
Lars Brinkhoff
2015-04-13 09:51:32 +02:00
parent 164caa2755
commit d7207f3399
3 changed files with 435 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
/*
* link.ld
*/
OUTPUT_FORMAT(elf32-i386)
ENTRY(start)
SECTIONS
{
. = 0x100000;
.text : { *(.text) }
.data : { *(.data) }
.bss : { *(.bss) }
}