changeset 96984:ea3fb04613c1

* ecrt0.c (NODOT_GLOBAL_START): Remove code, unused. (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES. * m/intel386.h (DOT_GLOBAL_START): * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES. (USG): Remove, file not used on USG platforms.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 24 Jul 2008 18:39:48 +0000
parents 6ac7d0f81157
children e58e8418725b
files src/ChangeLog src/ecrt0.c src/m/intel386.h src/m/vax.h
diffstat 4 files changed, 6 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jul 24 18:35:33 2008 +0000
+++ b/src/ChangeLog	Thu Jul 24 18:39:48 2008 +0000
@@ -1,5 +1,11 @@
 2008-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* ecrt0.c (NODOT_GLOBAL_START): Remove code, unused.
+	(DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES.
+	* m/intel386.h (DOT_GLOBAL_START):
+	* m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES.
+	(USG): Remove, file not used on USG platforms.
+
 	* Makefile.in (HAVE_X11): Remove empty #else.
 
 2008-07-24  Andreas Schwab  <schwab@suse.de>
--- a/src/ecrt0.c	Thu Jul 24 18:35:33 2008 +0000
+++ b/src/ecrt0.c	Thu Jul 24 18:39:48 2008 +0000
@@ -78,17 +78,9 @@
 #ifdef CRT0_DUMMIES
 
 /* Define symbol "start": here; some systems want that symbol.  */
-#ifdef DOT_GLOBAL_START
 asm("	.text		");
 asm("	.globl start	");
 asm("	start:		");
-#endif /* DOT_GLOBAL_START */
-
-#ifdef NODOT_GLOBAL_START
-asm("	text		");
-asm("	global start	");
-asm("	start:		");
-#endif /* NODOT_GLOBAL_START */
 
 _start ()
 {
--- a/src/m/intel386.h	Thu Jul 24 18:35:33 2008 +0000
+++ b/src/m/intel386.h	Thu Jul 24 18:39:48 2008 +0000
@@ -50,10 +50,6 @@
 
 #define CRT0_DUMMIES bogus_fp,
 
-/* crt0.c should define a symbol `start' and do .globl with a dot.  */
-
-#define DOT_GLOBAL_START
-
 #ifdef SOLARIS2
 /* Data type of load average, as read out of kmem.  */
 #define LOAD_AVE_TYPE long
--- a/src/m/vax.h	Thu Jul 24 18:35:33 2008 +0000
+++ b/src/m/vax.h	Thu Jul 24 18:39:48 2008 +0000
@@ -43,10 +43,6 @@
 
 #define CRT0_DUMMIES
 
-/* crt0.c should define a symbol `start' and do .globl with a dot.  */
-
-#define DOT_GLOBAL_START
-
 #ifdef BSD_SYSTEM
 /* USG systems I know of running on Vaxes do not actually
    support the load average, so disable it for them.  */
@@ -73,14 +69,6 @@
 
 #endif /* VMS */
 
-/* Vax sysV has alloca in the PW library.  */
-
-#ifdef USG
-#define LIB_STANDARD -lPW -lc
-
-#define TEXT_START 0
-#endif /* USG */
-
 #ifdef BSD4_2
 #define HAVE_FTIME
 #endif