This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Getting rid of TARGET_VERSION
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 13 Sep 2010 13:44:49 +0200
- Subject: Getting rid of TARGET_VERSION
While checking the differences between i386/sysv4.h and i386/sol2.h, I
found that TARGET_VERSION is only defined in the former. Looking
further, I noticed that the macro is only used in collect2.c (with
--version), mips-tdump.c and mips-tfile.c. The latter two are Tru64
UNIX-only (and I can easily get rid of those uses), leaving us with a
single user.
I doesn't seem very helpful to have all that (mostly unmaintained and
not up-to-date) garbage around for a single version message, so I'd like
to get rid of the macro wholesale, replacing it with
DEFAULT_TARGET_VERSION as in gcc.c.
Comments or objections?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University