]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/gcc/config/sparc/sol2-gld-bi.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / gcc / config / sparc / sol2-gld-bi.h
1 /* Definitions of target machine for GCC, for bi-arch SPARC
2    running Solaris 2 using the GNU linker.  */
3
4 #undef LINK_ARCH32_SPEC
5 #define LINK_ARCH32_SPEC \
6   LINK_ARCH32_SPEC_BASE "%{!static: -rpath-link %R/usr/lib}"
7
8 #undef LINK_ARCH64_SPEC
9 #define LINK_ARCH64_SPEC \
10   LINK_ARCH64_SPEC_BASE "%{!static: -rpath-link %R/usr/lib/sparcv9}"
11
12 #undef LINK_ARCH_SPEC
13 #if DISABLE_MULTILIB
14 #if DEFAULT_ARCH32_P
15 #define LINK_ARCH_SPEC "\
16 %{m32:-m elf32_sparc %(link_arch32)} \
17 %{m64:%edoes not support multilib} \
18 %{!m32:%{!m64:%(link_arch_default)}} \
19 "
20 #else
21 #define LINK_ARCH_SPEC "\
22 %{m32:%edoes not support multilib} \
23 %{m64:-m elf64_sparc %(link_arch64)} \
24 %{!m32:%{!m64:%(link_arch_default)}} \
25 "
26 #endif
27 #else
28 #define LINK_ARCH_SPEC "\
29 %{m32:-m elf32_sparc %(link_arch32)} \
30 %{m64:-m elf64_sparc %(link_arch64)} \
31 %{!m32:%{!m64:%(link_arch_default)}} \
32 "
33 #endif
34