blob: 74fdeeed46fe8750f0ba229098d519bad85a4ad9 (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# AIX linker script.
# AIX always uses shared libraries. The section VMA appears to be
# unimportant. The native linker aligns the sections on boundaries
# specified by the -H option.
cat <<EOF
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
${RELOCATING+${LIB_SEARCH_DIRS}}
ENTRY(__start)
SECTIONS
{
.pad 0 : { *(.pad) }
${RELOCATING+PROVIDE (_text = .);}
.text ${RELOCATING-0} : {
*(.text)
*(.pr)
*(.ro)
*(.db)
*(.gl)
*(.xo)
*(.ti)
*(.tb)
}
${RELOCATING+PROVIDE (_etext = .);}
${RELOCATING+PROVIDE (_data = .);}
.data ${RELOCATING-0} : {
*(.data)
*(.rw)
*(.sv)
*(.ua)
*(.ds)
*(.tc0)
*(.tc)
*(.td)
}
${RELOCATING+PROVIDE (_edata = .);}
.bss : {
*(.bss)
*(.bs)
*(.uc)
*(COMMON)
}
${RELOCATING+PROVIDE (_end = .);}
${RELOCATING+PROVIDE (end = .);}
.loader 0 : {
*(.loader)
}
.debug 0 : {
*(.debug)
}
}
EOF
|