kolibrios/programs/develop/golang/static.lds
pavelyakov 1979e6ff29 fixed linker and syscall
git-svn-id: svn://kolibrios.org@9053 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-12 12:28:41 +00:00

32 lines
500 B
Plaintext

SECTIONS
{
. = 0x00000;
.text :
{
LONG(0x554e454D);
LONG(0x31305445);
LONG(1);
LONG(go.kernel.Load);
LONG(__end);
LONG(0x10000);
LONG(0x10000);
LONG(0);
LONG(0);
*(.text)
}
.eh_frame : {
*(.eh_frame)
}
.group : {
*(.group)
}
.data : {
*(.data)
}
.rodata : {
*(.rodata)
*(.rodata.*)
}
__end = .;
}