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

Subversion Repositories open8_urisc

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
SCRIPT_NAME=elf
2
ELFSIZE=64
3
OUTPUT_FORMAT="elf64-s390"
4
NO_REL_RELOCS=yes
5
TEXT_START_ADDR=0x80000000
6
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8
ARCH="s390:64-bit"
9
MACHINE=
10
NOP=0x07070707
11
TEMPLATE_NAME=elf32
12
GENERATE_SHLIB_SCRIPT=yes
13
GENERATE_PIE_SCRIPT=yes
14
NO_SMALL_DATA=yes
15
 
16
# Treat a host that matches the target with the possible exception of "x"
17
# in the name as if it were native.
18
if test `echo "$host" | sed -e s/390x/390/` \
19
   = `echo "$target" | sed -e s/390x/390/`; then
20
  case " $EMULATION_LIBPATH " in
21
    *" ${EMULATION_NAME} "*)
22
      NATIVE=yes
23
  esac
24
fi
25
 
26
# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
27
# on Linux.
28
case "$target" in
29
  s390*-linux*)
30
    case "$EMULATION_NAME" in
31
      *64*)
32
        LIBPATH_SUFFIX=64 ;;
33
    esac
34
    ;;
35
esac

powered by: WebSVN 2.1.0

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