mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 05:52:21 +08:00
19990502 sourceware import
This commit is contained in:
55
ld/scripttempl/aix.sc
Normal file
55
ld/scripttempl/aix.sc
Normal file
@ -0,0 +1,55 @@
|
||||
# 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) }
|
||||
.text ${RELOCATING-0} : {
|
||||
${RELOCATING+PROVIDE (_text = .);}
|
||||
*(.text)
|
||||
*(.pr)
|
||||
*(.ro)
|
||||
*(.db)
|
||||
*(.gl)
|
||||
*(.xo)
|
||||
*(.ti)
|
||||
*(.tb)
|
||||
${RELOCATING+PROVIDE (_etext = .);}
|
||||
}
|
||||
.data 0 : {
|
||||
${RELOCATING+PROVIDE (_data = .);}
|
||||
*(.data)
|
||||
*(.rw)
|
||||
*(.sv)
|
||||
*(.ua)
|
||||
. = ALIGN(4);
|
||||
${CONSTRUCTING+CONSTRUCTORS}
|
||||
*(.ds)
|
||||
*(.tc0)
|
||||
*(.tc)
|
||||
*(.td)
|
||||
${RELOCATING+PROVIDE (_edata = .);}
|
||||
}
|
||||
.bss : {
|
||||
*(.tocbss)
|
||||
*(.bss)
|
||||
*(.bs)
|
||||
*(.uc)
|
||||
*(COMMON)
|
||||
${RELOCATING+PROVIDE (_end = .);}
|
||||
${RELOCATING+PROVIDE (end = .);}
|
||||
}
|
||||
.loader 0 : {
|
||||
*(.loader)
|
||||
}
|
||||
.debug 0 : {
|
||||
*(.debug)
|
||||
}
|
||||
}
|
||||
EOF
|
Reference in New Issue
Block a user