cbbdbb9f29
* ldmain.c: quit using exit * *.sc: use *(COMMON) rather than [COMMON] * ldlex.l, lexsup.c: much thinking moved from .l and put into .c, to allow preprocessing of .l file. * Makefile.in: New ldlex.l mangling * ldexp.c (fold_binary): perform expressions with % and / in integer. * ldfile.c (open_a): open archives on VMS in a special way * lderror.c: forgot to check in from a long while ago
24 lines
299 B
Scala
Executable File
24 lines
299 B
Scala
Executable File
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
CREATE_OBJECT_SYMBOLS
|
|
*(.text)
|
|
_etext = .;
|
|
}
|
|
|
|
.data SIZEOF(.text) + ADDR(.text):
|
|
{
|
|
|
|
*(.data)
|
|
_edata = .;
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data) :
|
|
{
|
|
_bss_start = .;
|
|
*(.bss)
|
|
*(COMMON)
|
|
_end = . ;
|
|
}
|
|
}
|