This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove /lib/elf comments
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 2 Dec 2010 19:46:32 +0000 (UTC)
- Subject: Remove /lib/elf comments
Various config/*/linux*.h headers had a comment "If ELF is the default
format, we should not use /lib/elf.". /lib/elf was a transitional measure
in the early stages of a.out-to-ELF transition fifteen years ago for ELF
libraries in default-a.out systems; GCC ceased to support a.out GNU/Linux
long ago and this comment has no relevance to current GCC. I've applied
this patch removing it.
Index: ChangeLog
===================================================================
--- ChangeLog (revision 167387)
+++ ChangeLog (working copy)
@@ -1,5 +1,11 @@
2010-12-02 Joseph Myers <joseph@codesourcery.com>
+ * config/i386/linux.h, config/m32r/linux.h, config/m68k/linux.h,
+ config/sparc/linux.h, config/sparc/linux64.h: Remove comments
+ mentioning /lib/elf.
+
+2010-12-02 Joseph Myers <joseph@codesourcery.com>
+
* config/bfin/bfin.h (LINK_SPEC): Remove %{b}.
* config/frv/frv.h (LINK_SPEC): Remove %{b}.
* config/i386/netware.h (LINK_SPEC): Remove %{b}.
Index: config/sparc/linux.h
===================================================================
--- config/sparc/linux.h (revision 167386)
+++ config/sparc/linux.h (working copy)
@@ -75,8 +75,6 @@
When the -shared link option is used a final link is not being
done. */
-/* If ELF is the default format, we should not use /lib/elf. */
-
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
#undef LINK_SPEC
Index: config/sparc/linux64.h
===================================================================
--- config/sparc/linux64.h (revision 167386)
+++ config/sparc/linux64.h (working copy)
@@ -101,8 +101,6 @@
When the -shared link option is used a final link is not being
done. */
-/* If ELF is the default format, we should not use /lib/elf. */
-
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux.so.2"
Index: config/m32r/linux.h
===================================================================
--- config/m32r/linux.h (revision 167386)
+++ config/m32r/linux.h (working copy)
@@ -46,8 +46,6 @@
When the -shared link option is used a final link is not being
done. */
-/* If ELF is the default format, we should not use /lib/elf. */
-
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
#undef LINK_SPEC
Index: config/i386/linux.h
===================================================================
--- config/i386/linux.h (revision 167386)
+++ config/i386/linux.h (working copy)
@@ -90,8 +90,6 @@
When the -shared link option is used a final link is not being
done. */
-/* 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"
Index: config/m68k/linux.h
===================================================================
--- config/m68k/linux.h (revision 167386)
+++ config/m68k/linux.h (working copy)
@@ -76,8 +76,6 @@
When the -shared link option is used a final link is not being
done. */
-/* If ELF is the default format, we should not use /lib/elf. */
-
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
#undef LINK_SPEC
--
Joseph S. Myers
joseph@codesourcery.com