1995-10-25 15:49:27 +00:00
|
|
|
# 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
|
1995-10-25 17:51:13 +00:00
|
|
|
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
|
1995-10-25 15:49:27 +00:00
|
|
|
OUTPUT_ARCH(${ARCH})
|
1995-10-25 17:51:13 +00:00
|
|
|
${RELOCATING+${LIB_SEARCH_DIRS}}
|
1995-10-25 15:49:27 +00:00
|
|
|
ENTRY(__start)
|
|
|
|
SECTIONS
|
|
|
|
{
|
|
|
|
.pad 0 : { *(.pad) }
|
|
|
|
.text ${RELOCATING-0} : {
|
1995-10-26 18:12:41 +00:00
|
|
|
${RELOCATING+PROVIDE (_text = .);}
|
1995-10-25 15:49:27 +00:00
|
|
|
*(.text)
|
|
|
|
*(.pr)
|
|
|
|
*(.ro)
|
|
|
|
*(.db)
|
|
|
|
*(.gl)
|
|
|
|
*(.xo)
|
|
|
|
*(.ti)
|
|
|
|
*(.tb)
|
1995-10-26 18:12:41 +00:00
|
|
|
${RELOCATING+PROVIDE (_etext = .);}
|
1995-10-25 15:49:27 +00:00
|
|
|
}
|
1995-10-26 18:12:41 +00:00
|
|
|
.data 0 : {
|
|
|
|
${RELOCATING+PROVIDE (_data = .);}
|
1995-10-25 15:49:27 +00:00
|
|
|
*(.data)
|
|
|
|
*(.rw)
|
|
|
|
*(.sv)
|
|
|
|
*(.ua)
|
|
|
|
*(.ds)
|
|
|
|
*(.tc0)
|
|
|
|
*(.tc)
|
|
|
|
*(.td)
|
1995-10-26 18:12:41 +00:00
|
|
|
${RELOCATING+PROVIDE (_edata = .);}
|
1995-10-25 15:49:27 +00:00
|
|
|
}
|
|
|
|
.bss : {
|
|
|
|
*(.bss)
|
|
|
|
*(.bs)
|
|
|
|
*(.uc)
|
|
|
|
*(COMMON)
|
1995-10-26 18:12:41 +00:00
|
|
|
${RELOCATING+PROVIDE (_end = .);}
|
|
|
|
${RELOCATING+PROVIDE (end = .);}
|
1995-10-25 15:49:27 +00:00
|
|
|
}
|
|
|
|
.loader 0 : {
|
|
|
|
*(.loader)
|
|
|
|
}
|
|
|
|
.debug 0 : {
|
|
|
|
*(.debug)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
EOF
|