]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/hppaelf.sc
* hppa-tdep.c (skip_trampoline_code): Handle shared library import
[thirdparty/binutils-gdb.git] / ld / scripttempl / hppaelf.sc
CommitLineData
4bd5c39f
JL
1cat <<EOF
2OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3OUTPUT_ARCH(${ARCH})
4ENTRY("\$START\$")
5${RELOCATING+${LIB_SEARCH_DIRS}}
6${RELOCATING+___stack_zero = ABSOLUTE(0x2000);}
7SECTIONS
8{
9 .text ${RELOCATING+${TEXT_START_ADDR}}:
10 {
11 ${RELOCATING+__text_start = .};
12 CREATE_OBJECT_SYMBOLS
13 *(.PARISC.stubs)
14 *(.text)
15 ${RELOCATING+etext = .};
16 ${RELOCATING+_etext = .};
17 }
18 .data ${RELOCATING+ 0x40000000 } :
19 {
20 ${RELOCATING+ . = . + 0x1000 };
21 ${RELOCATING+__data_start = .};
22 *(.data)
23 ${CONSTRUCTING+CONSTRUCTORS}
24 ${RELOCATING+edata = .};
25 ${RELOCATING+_edata = .};
26 }
27 .bss ${RELOCATING+SIZEOF(.data) + ADDR(.data)} :
28 {
29 *(.bss)
30 *(COMMON)
31 ${RELOCATING+end = . };
32 ${RELOCATING+_end = . };
33 }
34}
35EOF