diff options
author | Richard Henderson <rth@redhat.com> | 2001-01-07 01:17:24 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-01-07 01:17:24 -0800 |
commit | fc51424cc99b9a247d981b46491dd5d8b7952ef6 (patch) | |
tree | b99e1f028738cd6cf623231d755c52739d7fd3a4 /gcc | |
parent | df1e4b741f4d2d52615c3ffdb9267f6378882c8e (diff) | |
download | gcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.zip gcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.tar.gz gcc-fc51424cc99b9a247d981b46491dd5d8b7952ef6.tar.bz2 |
aix.h (LINK_LIBGCC_SPECIAL_1): New.
* config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New.
* config/rs6000/rs6000.h (LIBGCC_SPEC): Remove.
* config/rs6000/sysv4.h (LIBGCC_SPEC): Remove.
From-SVN: r38760
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/rs6000/aix.h | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 3 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 4 |
4 files changed, 9 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5294808..5588b43 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-01-07 Richard Henderson <rth@redhat.com> + + * config/rs6000/aix.h (LINK_LIBGCC_SPECIAL_1): New. + * config/rs6000/rs6000.h (LIBGCC_SPEC): Remove. + * config/rs6000/sysv4.h (LIBGCC_SPEC): Remove. + 2001-01-07 Michael Hayes <mhayes@redhat.com> * loop.c (count_loop_regs_set): Delete. diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index e64a86e..621acd6 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -72,8 +72,10 @@ Boston, MA 02111-1307, USA. */ /* Don't turn -B into -L if the argument specifies a relative file name. */ #define RELATIVE_PREFIX_NOT_LINKDIR -/* Names to predefine in the preprocessor for this target machine. */ +/* Because of the above, we must have gcc search itself to find libgcc.a. */ +#define LINK_LIBGCC_SPECIAL_1 +/* Names to predefine in the preprocessor for this target machine. */ #define CPP_PREDEFINES "-D_IBMR2 -D_POWER -D_AIX -D_AIX32 -D_LONG_LONG \ -Asystem=unix -Asystem=aix -Acpu=rs6000 -Amachine=rs6000" diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index 170e5a9..af4d486 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -138,9 +138,6 @@ Boston, MA 02111-1307, USA. */ { "asm_default", ASM_DEFAULT_SPEC }, \ SUBTARGET_EXTRA_SPECS -/* gcc must do the search itself to find libgcc.a, not use -l. */ -#define LIBGCC_SPEC "libgcc.a%s" - /* Architecture type. */ extern int target_flags; diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index b6103d6d..bc6e1d6 100644 --- a/gcc/config/rs6000/sysv4.h +++ b/gcc/config/rs6000/sysv4.h @@ -1267,10 +1267,6 @@ do { \ %{mcall-solaris: %(lib_solaris) } \ %{!mads: %{!myellowknife: %{!mmvme: %{!msim: %{!mcall-linux: %{!mcall-solaris: %(lib_default) }}}}}}" -/* Override rs6000.h definition. */ -#undef LIBGCC_SPEC -#define LIBGCC_SPEC "libgcc.a%s" - #define LIB_DEFAULT_SPEC "" /* Override svr4.h definition. */ |