config.gcc (cris-*-linux*, tm_file): Rearrange order.

* config.gcc (cris-*-linux*, tm_file): Rearrange order.
	* config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.

From-SVN: r46682
This commit is contained in:
Hans-Peter Nilsson 2001-10-31 19:50:59 +00:00 committed by Hans-Peter Nilsson
parent 5b7874aa2e
commit b4ac17fc36
3 changed files with 6 additions and 22 deletions

View File

@ -1,3 +1,8 @@
2001-10-31 Hans-Peter Nilsson <hp@axis.com>
* config.gcc (cris-*-linux*, tm_file): Rearrange order.
* config/cris/linux.h (LIB_SPEC, STARTFILE_SPEC): Don't redefine.
2001-10-31 Zack Weinberg <zack@codesourcery.com>
* Makefile.in (INTL_TARGETS, POSUB): Delete all references.

View File

@ -679,7 +679,7 @@ cris-*-elf | cris-*-none)
gas=yes
;;
cris-*-linux*)
tm_file="elfos.h svr4.h linux.h ${tm_file} cris/linux.h"
tm_file="elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
case x${enable_threads} in

View File

@ -87,14 +87,6 @@ Boston, MA 02111-1307, USA. */
#undef CRIS_SUBTARGET_VERSION
#define CRIS_SUBTARGET_VERSION " - cris-axis-linux-gnu"
/* Redefine what was in svr4.h. Include order madness makes it less
useful to include (config/)linux.h after cris.h. (config/)linux.h
includes svr4.h which undef:s lots of supposedly arch-specific macros
carefully defined by cris.h. */
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:-lc}}"
/* We need an -rpath-link to ld.so.1, and presumably to each directory
specified with -B. */
#undef CRIS_LINK_SUBTARGET_SPEC
@ -106,19 +98,6 @@ Boston, MA 02111-1307, USA. */
%{!shared:%{!static:%{rdynamic:-export-dynamic}}}\
%{O2|O3: --gc-sections}"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{!shared:\
%{pg:gcrt1.o%s}\
%{!pg:\
%{p:gcrt1.o%s}\
%{!p:\
%{profile:gcrt1.o%s}\
%{!profile:crt1.o%s}}}}\
crti.o%s\
%{!shared:crtbegin.o%s}\
%{shared:crtbeginS.o%s}"
/* Node: Sections */