2017-10-02 20:43:24 +02:00
|
|
|
PATH_SIZE = 1024;
|
|
|
|
PARAMS_SIZE = 256;
|
|
|
|
STACK_SIZE = 1024;
|
|
|
|
|
2018-04-01 09:53:27 +02:00
|
|
|
AppParams = $END + PATH_SIZE;
|
|
|
|
AppPath = $END;
|
|
|
|
|
2017-10-02 20:43:24 +02:00
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.all : AT(0){
|
|
|
|
LONG(0x554e454D);
|
|
|
|
LONG(0x31305445);
|
|
|
|
LONG(1);
|
|
|
|
LONG("@Main");
|
|
|
|
LONG(END);
|
|
|
|
LONG($END + PATH_SIZE + PARAMS_SIZE + STACK_SIZE);
|
|
|
|
LONG($END + PATH_SIZE + PARAMS_SIZE + STACK_SIZE);
|
2018-04-01 09:53:27 +02:00
|
|
|
LONG(AppParams);
|
|
|
|
LONG(AppPath);
|
2017-10-02 20:43:24 +02:00
|
|
|
*(.text)
|
|
|
|
*(.rdata)
|
|
|
|
*(.data)
|
|
|
|
}
|
|
|
|
END = .;
|
|
|
|
.bss ALIGN(16) : {*(.bss)}
|
|
|
|
$END = .;
|
|
|
|
}
|