blob: 8b0c102ac34c53bf18e1fd51b17cad8c4c776a12 (
plain) (
blame)
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
|
OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)
SECTIONS {
.ple_head : {
/*magic*/ LONG(0xb9ba4c50)
/*version*/ LONG(0x00000000)
/*payload offset*/ LONG(SIZEOF(.ple_head))
/*payload length*/ LONG(__pl_length)
/*bss length*/ LONG(SIZEOF(.bss))
/*entry point*/ LONG(_entry)
}
.text 0 : AT(SIZEOF(.ple_head)) {
*(.text)
}
.rodata : {
*(.rodata)
}
.data : {
*(.data)
__pl_length = .;
}
.bss ALIGN(0) : {
*(.bss)
}
}
|