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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [emulparams/] [elf64_s390.sh] - Blame information for rev 853

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

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

powered by: WebSVN 2.1.0

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