OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [ld/] [emulparams/] [hppa64linux.sh] - Blame information for rev 448

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.