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

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [emulparams/] [elf_x86_64.sh] - Blame information for rev 157

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

Line No. Rev Author Line
1 157 khays
. ${srcdir}/emulparams/plt_unwind.sh
2 145 khays
SCRIPT_NAME=elf
3
ELFSIZE=64
4
OUTPUT_FORMAT="elf64-x86-64"
5
NO_REL_RELOCS=yes
6
TEXT_START_ADDR=0x400000
7
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
9
ARCH="i386:x86-64"
10
MACHINE=
11
NOP=0x90909090
12
TEMPLATE_NAME=elf32
13
GENERATE_SHLIB_SCRIPT=yes
14
GENERATE_PIE_SCRIPT=yes
15
NO_SMALL_DATA=yes
16
LARGE_SECTIONS=yes
17
SEPARATE_GOTPLT=24
18
IREL_IN_PLT=
19
 
20
if [ "x${host}" = "x${target}" ]; then
21
  case " $EMULATION_LIBPATH " in
22
    *" ${EMULATION_NAME} "*)
23
      NATIVE=yes
24
  esac
25
fi
26
 
27
# Linux/Solaris modify the default library search path to first include
28
# a 64-bit specific directory.
29
case "$target" in
30
  x86_64*-linux*|i[3-7]86-*-linux-*)
31
    case "$EMULATION_NAME" in
32
      *64*) LIBPATH_SUFFIX=64 ;;
33
    esac
34
    ;;
35
  *-*-solaris2*)
36
    LIBPATH_SUFFIX=/amd64
37
    ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
38
  ;;
39
esac

powered by: WebSVN 2.1.0

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