mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
25 lines
333 B
Plaintext
Executable File
25 lines
333 B
Plaintext
Executable File
cat <<EOF
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
|
ENTRY(start)
|
|
|
|
SECTIONS {
|
|
.text ${RELOCATING+${TEXT_START_ADDR}} :
|
|
{
|
|
*(.text);
|
|
${RELOCATING+_etext = .};
|
|
}
|
|
data . :
|
|
{
|
|
*(.data);
|
|
${RELOCATING+_edata = .};
|
|
${CONSTRUCTING+CONSTRUCTORS}
|
|
}
|
|
.bss . :
|
|
{
|
|
*(COMMON)
|
|
*(.bss)
|
|
${RELOCATING+_end = .};
|
|
}
|
|
}
|
|
EOF
|