* emulparms/elf64hppa.sh (LIB_PATH): Define.
[deliverable/binutils-gdb.git] / ld / emulparams / elf64hppa.sh
1 SCRIPT_NAME=elf
2 ELFSIZE=64
3 OUTPUT_FORMAT="elf64-hppa"
4 LIB_PATH=/usr/lib/pa20_64:/opt/langtools/lib/pa20_64
5 TEXT_START_ADDR=0x4000000000001000
6 DATA_ADDR=0x8000000000001000
7 TARGET_PAGE_SIZE=4096
8 MAXPAGESIZE=4096
9 ARCH=hppa
10 MACHINE=hppa2.0w
11 ENTRY="main"
12 TEMPLATE_NAME=elf32
13 GENERATE_SHLIB_SCRIPT=yes
14 # We really want multiple .stub sections, one for each input .text section,
15 # but for now this is good enough.
16 OTHER_READONLY_SECTIONS='.PARISC.unwind : { *(.PARISC.unwind) } .stubs : { *(.stubs) }'
17
18 # The PA64 ELF port treats .plt sections differently than most. We also have
19 # to create a .opd section. Combine the .opd, .plt and .dlt together into a
20 # single .dlt section in the output file.
21 OTHER_READWRITE_SECTIONS='.dlt : { *(.opd) *(.plt) *(.dlt) }'
22
23 # The PA64 ELF port has two additional bss sections. huge bss and thread bss.
24 # Make sure they end up in the appropriate location. We also have to set
25 # __TLS_SIZE to the size of the thread bss section.
26 OTHER_BSS_SECTIONS='.hbss : { *(.hbss) } .tbss : { *(.tbss) } __TLS_SIZE = SIZEOF(.tbss);'
27
28 # The linker is required to define these two symbols.
29 EXECUTABLE_SYMBOLS='__SYSTEM_ID = 0x214; _FPU_STATUS = 0x0;'
30 DATA_PLT=
31
32 # The PA64 ELF port needs two additional initializer sections and also wants
33 # a start/end symbol pair for the .init and .fini sections.
34 INIT_START='KEEP (*(.HP.init)); __preinit_start = .; KEEP (*(.preinit)); __preinit_end = .;__init_start = .;'
35 INIT_END='__init_end = .;'
36 FINI_START='__fini_start = .;'
37 FINI_END='__fini_end = .;'
This page took 0.031041 seconds and 5 git commands to generate.