* gas/mips/e32-rel2.d: Adjust expected output to remove the 0x4000
[binutils.git] / ld / emulparams / hppa64linux.sh
blob92939bf888870fee07bf037eba2f225f129082a7
1 # If you change this file, please also look at files which source this one:
2 # elf64hppa.sh
4 SCRIPT_NAME=elf
5 ELFSIZE=64
6 # FIXME: this output format is for hpux.
7 OUTPUT_FORMAT="elf64-hppa-linux"
8 NO_REL_RELOCS=yes
9 TEXT_START_ADDR=0x10000
10 TARGET_PAGE_SIZE=0x10000
11 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
12 ARCH=hppa
13 MACHINE=hppa2.0w
14 ENTRY="main"
15 TEMPLATE_NAME=elf32
16 GENERATE_SHLIB_SCRIPT=yes
18 # We really want multiple .stub sections, one for each input .text section,
19 # but for now this is good enough.
20 OTHER_READONLY_SECTIONS="
21 .PARISC.unwind ${RELOCATING-0} : { *(.PARISC.unwind) }"
23 # The PA64 ELF port treats .plt sections differently than most. We also have
24 # to create a .opd section. What most systems call the .got, we call the .dlt
25 OTHER_READWRITE_SECTIONS="
26 .opd ${RELOCATING-0} : { *(.opd) }
27 ${RELOCATING+PROVIDE (__gp = .);}
28 .plt ${RELOCATING-0} : { *(.plt) }
29 .dlt ${RELOCATING-0} : { *(.dlt) }"
31 # The PA64 ELF port has an additional huge bss section.
32 OTHER_BSS_SECTIONS=".hbss ${RELOCATING-0} : { *(.hbss) }"
34 #OTHER_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));'
35 OTHER_SYMBOLS='
36 PROVIDE (__TLS_SIZE = 0);
37 PROVIDE (__TLS_INIT_SIZE = 0);
38 PROVIDE (__TLS_INIT_START = 0);
39 PROVIDE (__TLS_INIT_A = 0);
40 PROVIDE (__TLS_PREALLOC_DTV_A = 0);'
42 # HPs use .dlt where systems use .got. Sigh.
43 OTHER_GOT_RELOC_SECTIONS="
44 .rela.dlt ${RELOCATING-0} : { *(.rela.dlt) }
45 .rela.opd ${RELOCATING-0} : { *(.rela.opd) }"
47 # We're not actually providing a symbol anymore (due to the inability to be
48 # safe in regards to shared libraries). So we just allocate the hunk of space
49 # unconditionally, but do not mess around with the symbol table.
50 DATA_START_SYMBOLS='. += 16;'
52 DATA_PLT=
53 PLT_BEFORE_GOT=
55 # .dynamic should be at the start of the .text segment.
56 TEXT_DYNAMIC=