]>
Commit | Line | Data |
---|---|---|
9f22353f AM |
1 | SCRIPT_NAME=elf |
2 | ELFSIZE=64 | |
3 | OUTPUT_FORMAT="elf64-hppa-linux" | |
485cf679 | 4 | NO_REL_RELOCS=yes |
9f22353f AM |
5 | TEXT_START_ADDR=0x10000 |
6 | TARGET_PAGE_SIZE=0x10000 | |
24718e3b | 7 | MAXPAGESIZE="CONSTANT (MAXPAGESIZE)" |
9f22353f AM |
8 | ARCH=hppa |
9 | MACHINE=hppa2.0w | |
10 | ENTRY="main" | |
11 | TEMPLATE_NAME=elf32 | |
12 | GENERATE_SHLIB_SCRIPT=yes | |
13 | ||
14 | # We really want multiple .stub sections, one for each input .text section, | |
15 | # but for now this is good enough. | |
465bc359 AM |
16 | OTHER_READONLY_SECTIONS=" |
17 | .PARISC.unwind ${RELOCATING-0} : { *(.PARISC.unwind) }" | |
9f22353f AM |
18 | |
19 | # The PA64 ELF port treats .plt sections differently than most. We also have | |
20 | # to create a .opd section. What most systems call the .got, we call the .dlt | |
465bc359 AM |
21 | OTHER_READWRITE_SECTIONS=" |
22 | .opd ${RELOCATING-0} : { *(.opd) } | |
23 | ${RELOCATING+PROVIDE (__gp = .);} | |
24 | .plt ${RELOCATING-0} : { *(.plt) } | |
25 | .dlt ${RELOCATING-0} : { *(.dlt) }" | |
9f22353f | 26 | |
66bcaf1f | 27 | # The PA64 ELF port has an additional huge bss section. |
1bc214ba | 28 | OTHER_BSS_SECTIONS=".hbss ${RELOCATING-0} : { *(.hbss) }" |
66bcaf1f | 29 | |
827a1c67 AM |
30 | #OTHER_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));' |
31 | OTHER_SYMBOLS=' | |
465bc359 AM |
32 | PROVIDE (__TLS_SIZE = 0); |
33 | PROVIDE (__TLS_INIT_SIZE = 0); | |
34 | PROVIDE (__TLS_INIT_START = 0); | |
35 | PROVIDE (__TLS_INIT_A = 0); | |
36 | PROVIDE (__TLS_PREALLOC_DTV_A = 0);' | |
9f22353f AM |
37 | |
38 | # HPs use .dlt where systems use .got. Sigh. | |
2b67cf00 JL |
39 | OTHER_GOT_RELOC_SECTIONS=" |
40 | .rela.dlt ${RELOCATING-0} : { *(.rela.dlt) } | |
41 | .rela.opd ${RELOCATING-0} : { *(.rela.opd) }" | |
9f22353f AM |
42 | |
43 | # We're not actually providing a symbol anymore (due to the inability to be | |
44 | # safe in regards to shared libraries). So we just allocate the hunk of space | |
45 | # unconditionally, but do not mess around with the symbol table. | |
46 | DATA_START_SYMBOLS='. += 16;' | |
47 | ||
48 | DATA_PLT= | |
b71a5181 | 49 | PLT_BEFORE_GOT= |
9f22353f AM |
50 | |
51 | # .dynamic should be at the start of the .text segment. | |
52 | TEXT_DYNAMIC= |