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
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) }'
18 # The PA64 ELF port treats .plt sections differently than most. We also have
19 # to create a .opd section. What most systems call the .got, we call the .dlt
20 OTHER_READWRITE_SECTIONS
='__hp_load_map = .; . += 16; .opd : { *(.opd) }; __gp = .; .plt : { *(.plt) }; .dlt : { *(.dlt) }'
22 # The PA64 ELF port has two additional bss sections. huge bss and thread bss.
23 # Make sure they end up in the appropriate location. We also have to set
24 # __TLS_SIZE to the size of the thread bss section.
25 OTHER_BSS_SECTIONS
='.hbss : { *(.hbss) } .tbss : { *(.tbss) } __TLS_SIZE = SIZEOF(.tbss);'
27 # HPs use .dlt where systems use .got. Sigh.
28 OTHER_GOT_RELOC_SECTIONS
='.rela.dlt : { *(.rela.dlt) }'
30 # The linker is required to define these two symbols.
31 EXECUTABLE_SYMBOLS
='__SYSTEM_ID = 0x214; _FPU_STATUS = 0x0;'
34 # The PA64 ELF port needs two additional initializer sections and also wants
35 # a start/end symbol pair for the .init and .fini sections.
36 INIT_START
='KEEP (*(.HP.init)); __preinit_start = .; KEEP (*(.preinit)); __preinit_end = .;__init_start = .;'
37 INIT_END
='__init_end = .;'
38 FINI_START
='__fini_start = .;'
39 FINI_END
='__fini_end = .;'