binutils-gdb/ld/ldgldr.sc

21 lines
373 B
Scala
Executable File

SEARCH_DIR(/lib)
SEARCH_DIR(/usr/lib)
SEARCH_DIR(/usr/local/lib)
SECTIONS
{
.text 0:
{
CREATE_OBJECT_SYMBOLS
*(.text)
}
.data SIZEOF(.text) + ADDR(.text) :
{
*(.data)
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
}
}