This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gas/config/te-sysv32.h, STRIP_UNDERSCORE


>>> Alan Modra <amodra@bigpond.net.au> 19.04.05 07:29:35 >>>
>On Mon, Apr 18, 2005 at 04:16:12PM +0200, Jan Beulich wrote:
>> gas/config/te-sysv32.h seems to be the only file defining
>> STRIP_UNDERSCORE, and I cannot see this file getting referenced in any
>> of the configure scripts. Is this a sign that some cleanup could/should
>> be done? Jan 
>
>Yes, te-sysv32.h should be deleted and reference to it in Makefile.am
>and Makefile.in removed.  Patch to do that preapproved.

Applying the following patch. How about the now orphaned STRIP_UNDERSCORE then?

gas/
2005-04-19  Jan Beulich  <jbeulich@novell.com>

	* config/te-sysv32.h: Remove.
	* Makefile.am (TARG_ENV_HFILES): Remove reference to
	config/te-sysv32.h.
	* Makefile.in (TARG_ENV_HFILES): Likewise.

--- src/binutils/mainline/2005-04-15/gas/config/te-sysv32.h	2000-05-14 20:53:18.000000000 +0200
+++ 2005-04-15/gas/config/te-sysv32.h	1970-01-01 01:00:00.000000000 +0100
@@ -1,6 +0,0 @@
-/* Remove leading underscore from the gcc generated symbol names.  */
-#define STRIP_UNDERSCORE
-
-#include "obj-format.h"
-
-/* end of te-sysv32.h */
--- src/binutils/mainline/2005-04-15/gas/Makefile.am	2005-04-15 09:57:32.000000000 +0200
+++ 2005-04-15/gas/Makefile.am	2005-04-19 09:10:04.371846248 +0200
@@ -404,7 +404,6 @@ TARG_ENV_HFILES = \
 	config/te-sun3.h \
 	config/te-svr4.h \
 	config/te-symbian.h \
-	config/te-sysv32.h \
 	config/te-tmips.h
 
 # Multi files in config
--- src/binutils/mainline/2005-04-15/gas/Makefile.in	2005-04-15 09:57:32.000000000 +0200
+++ 2005-04-15/gas/Makefile.in	2005-04-19 09:10:09.160118320 +0200
@@ -631,7 +631,6 @@ TARG_ENV_HFILES = \
 	config/te-sun3.h \
 	config/te-svr4.h \
 	config/te-symbian.h \
-	config/te-sysv32.h \
 	config/te-tmips.h
 
 


Attachment: binutils-mainline-sysv32-remove.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]