diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-12-18 20:13:51 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2003-12-18 20:13:51 +0000 |
commit | 61aaea231763825d1f16140c8abc941a2d00f3df (patch) | |
tree | 8c8b022f544471d5aeeaeafce9954313631328a1 /gcc/config/sol2.h | |
parent | 8a90e86dbf30384df7fc14c570bbdbd34ca6ac80 (diff) | |
download | gcc-61aaea231763825d1f16140c8abc941a2d00f3df.tar.gz |
sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
* config/sol2.h (LINK_ARCH32_SPEC): Define in terms of ...
(LINK_ARCH32_SPEC_BASE): ... this new macro.
* config/sparc/sol2-bi.h (LINK_ARCH64_SPEC): Define in terms of
...
(LINK_ARCH64_SPEC_BASE): ... this new macro.
* config/sparc/sol2-gld-bi.h (LINK_ARCH32_SPEC): New macro.
(LINK_ARCH64_SPEC): Likewise.
From-SVN: r74793
Diffstat (limited to 'gcc/config/sol2.h')
-rw-r--r-- | gcc/config/sol2.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index 49dc1ce2ae4..8728cb79274 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -119,8 +119,8 @@ Boston, MA 02111-1307, USA. */ #undef STARTFILE_ARCH_SPEC #define STARTFILE_ARCH_SPEC STARTFILE_ARCH32_SPEC -#undef LINK_ARCH32_SPEC -#define LINK_ARCH32_SPEC \ +#undef LINK_ARCH32_SPEC_BASE +#define LINK_ARCH32_SPEC_BASE \ "%{G:-G} \ %{YP,*} \ %{R*} \ @@ -132,6 +132,9 @@ Boston, MA 02111-1307, USA. */ %{!YP,*:%{p|pg:-Y P,/usr/ccs/lib/libp:/usr/lib/libp:/usr/ccs/lib:/usr/lib} \ %{!p:%{!pg:-Y P,/usr/ccs/lib:/usr/lib}}}}" +#undef LINK_ARCH32_SPEC +#define LINK_ARCH32_SPEC LINK_ARCH32_SPEC_BASE + #undef LINK_ARCH_SPEC #define LINK_ARCH_SPEC LINK_ARCH32_SPEC |