mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-14 07:38:41 +00:00
24 lines
360 B
Plaintext
Executable File
24 lines
360 B
Plaintext
Executable File
cat <<EOF
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
${GLD_STYLE+ CREATE_OBJECT_SYMBOLS}
|
|
*(.text)
|
|
${RELOCATING+ _etext = .};
|
|
}
|
|
.data SIZEOF(.text) + ADDR(.text):
|
|
{
|
|
*(.data)
|
|
${RELOCATING+ _edata = .};
|
|
}
|
|
.bss SIZEOF(.data) + ADDR(.data):
|
|
{
|
|
${RELOCATING+ _bss_start = .};
|
|
*(.bss)
|
|
*(COMMON)
|
|
${RELOCATING+ _end = .};
|
|
}
|
|
}
|
|
EOF
|