3 OUTPUT_FORMAT
="elf64-hppa-linux"
4 TEXT_START_ADDR
=0x10000
5 TARGET_PAGE_SIZE
=0x10000
11 GENERATE_SHLIB_SCRIPT
=yes
13 # We really want multiple .stub sections, one for each input .text section,
14 # but for now this is good enough.
15 OTHER_READONLY_SECTIONS
='.PARISC.unwind : { *(.PARISC.unwind) } '
17 # The PA64 ELF port treats .plt sections differently than most. We also have
18 # to create a .opd section. What most systems call the .got, we call the .dlt
19 OTHER_READWRITE_SECTIONS
='.opd : { *(.opd) } PROVIDE (__gp = .); .plt : { *(.plt) } .dlt : { *(.dlt) }'
21 # The PA64 ELF port has two additional bss sections. huge bss and thread bss.
22 # Make sure they end up in the appropriate location. We also have to set
23 # __TLS_SIZE to the size of the thread bss section.
24 OTHER_BSS_SECTIONS
='.hbss : { *(.hbss) } .tbss : { *(.tbss) }'
25 #OTHER_BSS_END_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));'
26 OTHER_BSS_END_SYMBOLS
='PROVIDE (__TLS_SIZE = 0);'
28 # HPs use .dlt where systems use .got. Sigh.
29 OTHER_GOT_RELOC_SECTIONS
='.rela.dlt : { *(.rela.dlt) }'
31 # We're not actually providing a symbol anymore (due to the inability to be
32 # safe in regards to shared libraries). So we just allocate the hunk of space
33 # unconditionally, but do not mess around with the symbol table.
34 DATA_START_SYMBOLS
='. += 16;'
38 # .dynamic should be at the start of the .text segment.