Home | History | Annotate | Line # | Download | only in emulparams
      1 SCRIPT_NAME=elf
      2 ELFSIZE=64
      3 OUTPUT_FORMAT="elf64-hppa-linux"
      4 NO_REL_RELOCS=yes
      5 TEXT_START_ADDR=0x10000
      6 TARGET_PAGE_SIZE=0x10000
      7 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
      8 ARCH=hppa
      9 MACHINE=hppa2.0w
     10 NOP=0x08000240
     11 ENTRY="main"
     12 TEMPLATE_NAME=elf
     13 GENERATE_SHLIB_SCRIPT=yes
     14 
     15 # We really want multiple .stub sections, one for each input .text section,
     16 # but for now this is good enough.
     17 OTHER_READONLY_SECTIONS="
     18   .PARISC.unwind ${RELOCATING-0} : { *(.PARISC.unwind) }"
     19 
     20 # The PA64 ELF port treats .plt sections differently than most.  We also have
     21 # to create a .opd section.  What most systems call the .got, we call the .dlt
     22 OTHER_READWRITE_SECTIONS="
     23   .opd          ${RELOCATING-0} : { *(.opd) }
     24   ${RELOCATING+PROVIDE (__gp = .);}
     25   .plt          ${RELOCATING-0} : { *(.plt) }
     26   .dlt          ${RELOCATING-0} : { *(.dlt) }"
     27 
     28 # The PA64 ELF port has an additional huge bss section.
     29 OTHER_BSS_SECTIONS=".hbss         ${RELOCATING-0} : { *(.hbss) }"
     30 
     31 #OTHER_SYMBOLS='PROVIDE (__TLS_SIZE = SIZEOF (.tbss));'
     32 OTHER_SYMBOLS='
     33   PROVIDE (__TLS_SIZE = 0);
     34   PROVIDE (__TLS_INIT_SIZE = 0);
     35   PROVIDE (__TLS_INIT_START = 0);
     36   PROVIDE (__TLS_INIT_A = 0);
     37   PROVIDE (__TLS_PREALLOC_DTV_A = 0);'
     38 
     39 # HPs use .dlt where systems use .got.  Sigh.
     40 OTHER_GOT_RELOC_SECTIONS="
     41   .rela.dlt     ${RELOCATING-0} : { *(.rela.dlt) }
     42   .rela.opd     ${RELOCATING-0} : { *(.rela.opd) }"
     43 
     44 DATA_PLT=
     45 PLT_BEFORE_GOT=
     46 
     47 # .dynamic should be at the start of the .text segment.
     48 TEXT_DYNAMIC=
     49