blob: 742c8fd56e5e1dcd5f9aba976f81d3b196249da1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
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*)
}
}
|