[PATCH] Remove non-functional --with-elf

Nathanael Nerode neroden@twcny.rr.com
Mon Sep 1 18:17:00 GMT 2003


I noticed that this code was effectively dead.  I'm going to wait for
a few days in case someone tells me that it's coming back before committing.

ELF isn't a debug format anyway, is it?...

	* configure.in: Remove --with-elf, which doesn't work.
	* configure: Regenerate.
	* config.gcc: Remove references to $elf, which does nothing.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/configure.in,v
retrieving revision 1.722
diff -u -r1.722 configure.in
--- configure.in	1 Sep 2003 17:30:37 -0000	1.722
+++ configure.in	1 Sep 2003 18:14:44 -0000
@@ -460,12 +460,6 @@
 stabs="$with_stabs",
 stabs=no)
 
-# With ELF
-AC_ARG_WITH(elf,
-[  --with-elf              arrange to use ELF instead of host debug format],
-elf="$with_elf",
-elf=no)
-
 # Determine whether or not multilibs are enabled.
 AC_ARG_ENABLE(multilib,
 [  --enable-multilib       enable library support for multiple ABIs],
Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.353
diff -u -r1.353 config.gcc
--- config.gcc	1 Sep 2003 17:58:18 -0000	1.353
+++ config.gcc	1 Sep 2003 18:14:50 -0000
@@ -339,8 +339,6 @@
 	# support are matched above and just set $cpu_type.
 	tm_file="${cpu_type}/gnu.h"
 	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtbeginT.o"
-	# GNU always uses ELF.
-	elf=yes
 	# GNU tools are the only tools.
 	gnu_ld=yes
 	gas=yes
@@ -850,7 +848,6 @@
 	tm_file="dbxelf.h elfos.h svr4.h linux.h i370/linux.h i370/i370.h"
 	tmake_file="t-slibgcc-elf-ver t-linux"
 	# broken_install=yes
-	elf=yes
 	;;
 i[34567]86-*-darwin*)
 	tm_file="${tm_file} i386/darwin.h"

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html



More information about the Gcc-patches mailing list