Patchwork Remove /lib/elf comments

login
register
mail settings
Submitter Joseph S. Myers
Date Dec. 2, 2010, 7:46 p.m.
Message ID <Pine.LNX.4.64.1012021944580.31301@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/74017/
State New
Headers show

Comments

Joseph S. Myers - Dec. 2, 2010, 7:46 p.m.
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.

Patch

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