This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] VAX/Linux: Correct tmake_file setting
- From: "Maciej W. Rozycki" <macro at linux-mips dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Jan-Benedict Glaw <jbglaw at lug-owl dot de>, Matt Thomas <matt at 3am-software dot com>, linux-vax at pergamentum dot com
- Date: Thu, 29 Oct 2009 02:39:45 +0000 (GMT)
- Subject: [PATCH] VAX/Linux: Correct tmake_file setting
Hello,
This change:
2009-07-01 Maciej W. Rozycki <macro@linux-mips.org>
* config.gcc (vax-*-linux*): Set tmake_file to vax/t-linux.
inadvertently removed generic Linux settings from the vax-linux target
Makefile fragment. Probably the most notable impact from this is that
crt{begin,end}S.o files are built without -fPIC, which is obviously not
what we want.
The following fix works for me for --target=vax-linux, emitting correct
relocations in the files mentioned and removing shared library static
link-time warnings that resulted from the incorrect change.
The configuration is not capable enough for regression testing yet.
2009-10-29 Maciej W. Rozycki <macro@linux-mips.org>
* config.gcc (vax-*-linux*): Keep the original contents of
tmake_file while adding vax/t-linux.
OK to apply?
Maciej
gcc-4.5.0-20091029-vax-linux-tmake.patch
Index: gcc-4.5.0-20091029-vax-linux/gcc/config.gcc
===================================================================
--- gcc-4.5.0-20091029-vax-linux.orig/gcc/config.gcc
+++ gcc-4.5.0-20091029-vax-linux/gcc/config.gcc
@@ -2503,7 +2503,7 @@ v850-*-*)
;;
vax-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h svr4.h linux.h vax/elf.h vax/linux.h"
- tmake_file=vax/t-linux
+ tmake_file="${tmake_file} vax/t-linux"
;;
vax-*-netbsdelf*)
tm_file="${tm_file} elfos.h netbsd.h netbsd-elf.h vax/elf.h vax/netbsd-elf.h"