vax decoding of indexed addressing mode
[deliverable/binutils-gdb.git] / ld / emulparams / elf64_sparc.sh
CommitLineData
252b5132
RH
1SCRIPT_NAME=elf
2ELFSIZE=64
075a2b89 3TEMPLATE_NAME=elf
252b5132 4OUTPUT_FORMAT="elf64-sparc"
485cf679 5NO_REL_RELOCS=yes
24718e3b
L
6MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
7COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
252b5132
RH
8ARCH="sparc:v9"
9MACHINE=
10DATA_PLT=
11GENERATE_SHLIB_SCRIPT=yes
36af4a4e 12GENERATE_PIE_SCRIPT=yes
252b5132 13NOP=0x01000000
48459341 14NO_SMALL_DATA=yes
e76d716a 15
645571e1
JJ
16case "$target" in
17 sparc*-solaris*)
18 TEXT_START_ADDR=0x100000000
645571e1
JJ
19 ;;
20 *)
21 TEXT_START_ADDR=0x100000
645571e1
JJ
22 ;;
23esac
24
f52d1d64
JJ
25# Treat a host that matches the target with the possible exception of "64"
26# and "v7", "v8", "v9" in the name as if it were native.
27if test `echo "$host" | sed -e 's/64//;s/v[789]//'` \
28 = `echo "$target" | sed -e 's/64//;s/v[789]//'`; then
e76d716a
RH
29 case " $EMULATION_LIBPATH " in
30 *" ${EMULATION_NAME} "*)
9c8ebd6a
DJ
31 NATIVE=yes
32 ;;
e76d716a
RH
33 esac
34fi
9c8ebd6a
DJ
35
36# Linux and Solaris modify the default library search path
37# to first include a 64-bit specific directory. It's put
38# in slightly different places on the two systems.
39# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first
40# on Linux and /lib/sparcv9, /usr/lib/sparcv9 etc. on Solaris.
41case "$EMULATION_NAME" in
42 *64*)
43 case "$target" in
44 sparc*-linux*)
cad91d28 45 LIBPATH_SUFFIX=64 ;;
9c8ebd6a 46 sparc*-solaris*)
cad91d28 47 LIBPATH_SUFFIX=/sparcv9 ;;
9c8ebd6a
DJ
48 esac
49 ;;
50esac
This page took 0.926727 seconds and 4 git commands to generate.