binutils-gdb/ld/ldgldUr.sc

25 lines
418 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)
CONSTRUCTORS
___end_list__ = . ;
}
.bss SIZEOF(.data) + ADDR(.data) :
{
*(.bss)
[COMMON]
}
}