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]

Switching sh-rtems to ELF


Hi,

We (RTEMS) would like to change the object file format for sh-rtems to
ELF for gcc-3.5 and (If it's not already too late) for gcc-3.4.

Below are corresponding patches against cvs trunk and gcc-3_4-branch.

Ralf

2003-04-10  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config.gcc: Switch sh-*-rtems*) to elf.
	Add sh-*-rtemscoff.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.439
diff -u -r1.439 config.gcc
--- config.gcc	6 Mar 2004 06:46:09 -0000	1.439
+++ config.gcc	10 Mar 2004 08:35:49 -0000
@@ -1706,13 +1706,13 @@
 	esac
 	use_fixproto=yes
 	;;
-sh-*-rtemself*)
-	tmake_file="sh/t-sh sh/t-elf t-rtems"
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
-	;;
-sh-*-rtems*)
+sh-*-rtemscoff*)
 	tmake_file="sh/t-sh t-rtems"
 	tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
+	;;
+sh-*-rtems*)
+	tmake_file="sh/t-sh sh/t-elf t-rtems"
+	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
 	;;
 sh-*-linux* | sh[2346lbe]*-*-linux*)
 	tmake_file="sh/t-sh sh/t-elf ${tmake_file}"
2003-04-10  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

	* config.gcc: Switch sh-*-rtems*) to elf.
	Add sh-*-rtemscoff.

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.420.2.8
diff -u -r1.420.2.8 config.gcc
--- config.gcc	9 Mar 2004 20:37:07 -0000	1.420.2.8
+++ config.gcc	10 Mar 2004 08:41:17 -0000
@@ -1902,13 +1902,13 @@
 	esac
 	use_fixproto=yes
 	;;
-sh-*-rtemself*)
-	tmake_file="sh/t-sh sh/t-elf t-rtems"
-	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
-	;;
-sh-*-rtems*)
+sh-*-rtemscoff*)
 	tmake_file="sh/t-sh t-rtems"
 	tm_file="${tm_file} dbxcoff.h sh/coff.h sh/rtems.h rtems.h"
+	;;
+sh-*-rtems*)
+	tmake_file="sh/t-sh sh/t-elf t-rtems"
+	tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/elf.h sh/embed-elf.h sh/rtemself.h rtems.h"
 	;;
 sh-*-linux* | sh[2346lbe]*-*-linux*)
 	tmake_file="sh/t-sh sh/t-elf t-slibgcc-elf-ver t-linux"

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