mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-02 17:16:42 +00:00
76971f0da2
Per.
28 lines
382 B
Plaintext
Executable File
28 lines
382 B
Plaintext
Executable File
cat <<EOF
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
ENTRY(start)
|
|
|
|
SECTIONS {
|
|
.text ${RELOCATING+${TEXT_START_ADDR}} :
|
|
{
|
|
*(.text);
|
|
${RELOCATING+_etext = .};
|
|
}
|
|
data ${RELOCATING+0x80002000} :
|
|
{
|
|
*(.data);
|
|
*(.mstack);
|
|
*(.shbss);
|
|
*(.rstack);
|
|
*(.mstack);
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
}
|
|
.bss . :
|
|
{
|
|
*(COMMON)
|
|
*(.bss);
|
|
${RELOCATING+_end = .};
|
|
}
|
|
}
|
|
EOF
|