OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [emulparams/] [elf_l1om.sh] - Blame information for rev 645

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

Line No. Rev Author Line
1 205 julius
SCRIPT_NAME=elf
2
ELFSIZE=64
3
OUTPUT_FORMAT="elf64-l1om"
4
NO_REL_RELOCS=yes
5
TEXT_START_ADDR=0x400000
6
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
8
ARCH="l1om"
9
MACHINE=
10
COMPILE_IN=yes
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
 
19
if [ "x${host}" = "x${target}" ]; then
20
  case " $EMULATION_LIBPATH " in
21
    *" ${EMULATION_NAME} "*)
22
      NATIVE=yes
23
  esac
24
fi
25
 
26
# Linux modifies the default library search path to first include
27
# a 64-bit specific directory.
28
case "$target" in
29
  l1om*-linux*)
30
    case "$EMULATION_NAME" in
31
      *l1om*) LIBPATH_SUFFIX=64 ;;
32
    esac
33
    ;;
34
esac
35
SCRIPT_NAME=elf
36
ELFSIZE=64
37
OUTPUT_FORMAT="elf64-l1om"
38
NO_REL_RELOCS=yes
39
TEXT_START_ADDR=0x400000
40
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
41
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
42
ARCH="l1om"
43
MACHINE=
44
COMPILE_IN=yes
45
NOP=0x90909090
46
TEMPLATE_NAME=elf32
47
GENERATE_SHLIB_SCRIPT=yes
48
GENERATE_PIE_SCRIPT=yes
49
NO_SMALL_DATA=yes
50
LARGE_SECTIONS=yes
51
SEPARATE_GOTPLT=24
52
 
53
if [ "x${host}" = "x${target}" ]; then
54
  case " $EMULATION_LIBPATH " in
55
    *" ${EMULATION_NAME} "*)
56
      NATIVE=yes
57
  esac
58
fi
59
 
60
# Linux modifies the default library search path to first include
61
# a 64-bit specific directory.
62
case "$target" in
63
  l1om*-linux*)
64
    case "$EMULATION_NAME" in
65
      *l1om*) LIBPATH_SUFFIX=64 ;;
66
    esac
67
    ;;
68
esac

powered by: WebSVN 2.1.0

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