This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] normalizing cris-linux clause in config.gcc?


Could some cris-linux person test or comment on this?  :-)

The functional change would be the addition of these, which are in t-linux
and not in cris/t-linux:

># Override t-slibgcc-elf-ver to export some libgcc symbols with
># the symbol versions that glibc used.
>SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver
>
># Use unwind-dw2-fde-glibc
>LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde-glibc.c \
>  $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
>LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c gthr-gnat.c

If these are /harmless/, they should presumably be used.

If they are /harmful/, they should perhaps be explicitly overridden in
a cris/t-linux which is inserted after t-linux -- or perhaps things should
should be left as is, but a comment should be inserted in config.gcc
explaining why t-linux is omitted.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.389
diff -u -r1.389 config.gcc
--- config.gcc	30 Sep 2003 10:16:37 -0000	1.389
+++ config.gcc	30 Sep 2003 10:24:02 -0000
@@ -684,7 +684,7 @@
 	;;
 cris-*-linux*)
 	tm_file="dbxelf.h elfos.h svr4.h ${tm_file} linux.h cris/linux.h"
-	tmake_file="cris/t-cris t-slibgcc-elf-ver cris/t-linux"
+	tmake_file="cris/t-cris t-slibgcc-elf-ver t-linux"
 	;;
 d30v-*)
 	tm_file="dbxelf.h elfos.h svr4.h ${tm_file}"

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]