linux.h: Add a comment to mark macros that are being overriden in config/k*bsd-gnu.h.

* gcc/config/i386/linux.h:  Add a comment to mark macros that are
	being overriden in config/k*bsd-gnu.h.
	* gcc/config/kfreebsd-gnu.h:  Redefine GLIBC_DYNAMIC_LINKER instead of
	DYNAMIC_LINKER.
	* gcc/config/knetbsd-gnu.h:  Ditto.

From-SVN: r112740
This commit is contained in:
Robert Millan 2006-04-06 22:16:11 +00:00 committed by Mark Mitchell
parent 1f651229f0
commit 8224ee206c
4 changed files with 20 additions and 6 deletions

View file

@ -1,3 +1,11 @@
2006-03-05 Robert Millan <robertmh@gnu.org>
* gcc/config/i386/linux.h: Add a comment to mark macros that are
being overriden in config/k*bsd-gnu.h.
* gcc/config/kfreebsd-gnu.h: Redefine GLIBC_DYNAMIC_LINKER instead of
DYNAMIC_LINKER.
* gcc/config/knetbsd-gnu.h: Ditto.
2006-04-06 Jan Hubicka <jh@suse.cz>
PR profile/20815

View file

@ -99,6 +99,7 @@ Boston, MA 02110-1301, USA. */
/* If ELF is the default format, we should not use /lib/elf. */
/* These macros may be overridden in k*bsd-gnu.h and i386/k*bsd-gnu.h. */
#define LINK_EMULATION "elf_i386"
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"

View file

@ -1,5 +1,5 @@
/* Definitions for kFreeBSD-based GNU systems with ELF format
Copyright (C) 2004
Copyright (C) 2004, 2006
Free Software Foundation, Inc.
Contributed by Robert Millan.
@ -32,5 +32,7 @@ Boston, MA 02110-1301, USA. */
} \
while (0)
#undef DYNAMIC_LINKER
#define DYNAMIC_LINKER "/lib/ld.so.1"
#ifdef GLIBC_DYNAMIC_LINKER
#undef GLIBC_DYNAMIC_LINKER
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
#endif

View file

@ -1,5 +1,5 @@
/* Definitions for kNetBSD-based GNU systems with ELF format
Copyright (C) 2004
Copyright (C) 2004, 2006
Free Software Foundation, Inc.
Contributed by Robert Millan.
@ -32,5 +32,8 @@ Boston, MA 02110-1301, USA. */
} \
while (0)
#undef DYNAMIC_LINKER
#define DYNAMIC_LINKER "/lib/ld.so.1"
#ifdef GLIBC_DYNAMIC_LINKER
#undef GLIBC_DYNAMIC_LINKER
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
#endif