mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
35 lines
472 B
Plaintext
35 lines
472 B
Plaintext
|
SECTIONS
|
||
|
{
|
||
|
.text : {
|
||
|
. = . + 4;
|
||
|
*(.plt)
|
||
|
}
|
||
|
.test : {
|
||
|
*(.text)
|
||
|
*(.got)
|
||
|
*(.got.plt)
|
||
|
*(.rodata)
|
||
|
*(.eh_frame)
|
||
|
*(.interp)
|
||
|
*(.data)
|
||
|
*(.bss)
|
||
|
}
|
||
|
|
||
|
/* For old binutils which otherwise complain about nonrepresentable
|
||
|
sections. */
|
||
|
.dynsym : { *(.dynsym) }
|
||
|
.gnu.version : { *(.gnu.version) }
|
||
|
|
||
|
/DISCARD/ : {
|
||
|
*(.rela.text)
|
||
|
*(.rela.plt)
|
||
|
*(.rela.got.plt)
|
||
|
*(.rela.data)
|
||
|
*(.rela.rodata)
|
||
|
*(.rela.bss)
|
||
|
*(.rela.text)
|
||
|
*(.comment*)
|
||
|
*(.note*)
|
||
|
}
|
||
|
}
|