+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
/* 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"
/* Definitions for kFreeBSD-based GNU systems with ELF format
- Copyright (C) 2004
+ Copyright (C) 2004, 2006
Free Software Foundation, Inc.
Contributed by Robert Millan.
} \
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
/* Definitions for kNetBSD-based GNU systems with ELF format
- Copyright (C) 2004
+ Copyright (C) 2004, 2006
Free Software Foundation, Inc.
Contributed by Robert Millan.
} \
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