forked from KolibriOS/kolibrios
golang: fixed build errors and some refactoring
git-svn-id: svn://kolibrios.org@9298 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
31
programs/develop/golang/example/static.lds
Normal file
31
programs/develop/golang/example/static.lds
Normal file
@@ -0,0 +1,31 @@
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x00000;
|
||||
.text :
|
||||
{
|
||||
LONG(0x554e454D);
|
||||
LONG(0x31305445);
|
||||
LONG(1);
|
||||
LONG(go.example.Main);
|
||||
LONG(__end);
|
||||
LONG(0x10000);
|
||||
LONG(0x10000);
|
||||
LONG(0);
|
||||
LONG(0);
|
||||
*(.text)
|
||||
}
|
||||
.eh_frame : {
|
||||
*(.eh_frame)
|
||||
}
|
||||
.group : {
|
||||
*(.group)
|
||||
}
|
||||
.data : {
|
||||
*(.data)
|
||||
}
|
||||
.rodata : {
|
||||
*(.rodata)
|
||||
*(.rodata.*)
|
||||
}
|
||||
__end = .;
|
||||
}
|
Reference in New Issue
Block a user