* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
[deliverable/binutils-gdb.git] / ld / emulparams / hppa64linux.sh
1 # If you change this file, please also look at files which source this one:
2 # elf64hppa.sh
3
4 SCRIPT_NAME=elf
5 ELFSIZE=64
6 OUTPUT_FORMAT="elf64-hppa-linux"
7 TEXT_START_ADDR=0x10000
8 TARGET_PAGE_SIZE=0x10000
9 MAXPAGESIZE=0x10000
10 ARCH=hppa
11 MACHINE=hppa2.0w
12 ENTRY="main"
13 TEMPLATE_NAME=elf32
14 GENERATE_SHLIB_SCRIPT=yes
15
16 # We really want multiple .stub sections, one for each input .text section,
17 # but for now this is good enough.
18 OTHER_READONLY_SECTIONS="
19 .PARISC.unwind ${RELOCATING-0} : { *(.PARISC.unwind) }"
20
21 # The PA64 ELF port treats .plt sections differently than most. We also have
22 # to create a .opd section. What most systems call the .got, we call the .dlt
23 OTHER_READWRITE_SECTIONS="
24 .opd ${RELOCATING-0} : { *(.opd) }
25 ${RELOCATING+PROVIDE (__gp = .);}
26 .plt ${RELOCATING-0} : { *(.plt) }
27 .dlt ${RELOCATING-0} : { *(.dlt) }"
28
29 # The PA64 ELF port has two additional bss sections. huge bss and thread bss.
30 # Make sure they end up in the appropriate location. We also have to set
31 # __TLS_SIZE to the size of the thread bss section.
32 OTHER_BSS_SECTIONS="
33 .hbss ${RELOCATING-0} : { *(.hbss) }
34 .tbss ${RELOCATING-0} : { *(.tbss) }
35 "
36 #OTHER_BSS_END_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));'
37 OTHER_BSS_END_SYMBOLS='
38 PROVIDE (__TLS_SIZE = 0);
39 PROVIDE (__TLS_INIT_SIZE = 0);
40 PROVIDE (__TLS_INIT_START = 0);
41 PROVIDE (__TLS_INIT_A = 0);
42 PROVIDE (__TLS_PREALLOC_DTV_A = 0);'
43
44 # HPs use .dlt where systems use .got. Sigh.
45 OTHER_GOT_RELOC_SECTIONS='.rela.dlt : { *(.rela.dlt) }'
46
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;'
51
52 DATA_PLT=
53
54 # .dynamic should be at the start of the .text segment.
55 TEXT_DYNAMIC=
This page took 0.033134 seconds and 4 git commands to generate.