]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/scripttempl/hppaelf.sc
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[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}}
4bd5c39f
JL
6SECTIONS
7{
8 .text ${RELOCATING+${TEXT_START_ADDR}}:
9 {
10 ${RELOCATING+__text_start = .};
11 CREATE_OBJECT_SYMBOLS
12 *(.PARISC.stubs)
13 *(.text)
831d7ac4 14 *(.PARISC.unwind)
4bd5c39f
JL
15 ${RELOCATING+etext = .};
16 ${RELOCATING+_etext = .};
17 }
831d7ac4 18 .data 0x40000000 :
4bd5c39f
JL
19 {
20 ${RELOCATING+ . = . + 0x1000 };
21 ${RELOCATING+__data_start = .};
22 *(.data)
23 ${CONSTRUCTING+CONSTRUCTORS}
24 ${RELOCATING+edata = .};
25 ${RELOCATING+_edata = .};
26 }
831d7ac4 27 .bss 0x40000000 ${RELOCATING++SIZEOF(.data)} :
4bd5c39f
JL
28 {
29 *(.bss)
30 *(COMMON)
31 ${RELOCATING+end = . };
32 ${RELOCATING+_end = . };
33 }
34}
35EOF