summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog6
-rw-r--r--src/ecrt0.c8
-rw-r--r--src/m/intel386.h4
-rw-r--r--src/m/vax.h12
4 files changed, 6 insertions, 24 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4760fbafb4a..514bcd225c1 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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>
diff --git a/src/ecrt0.c b/src/ecrt0.c
index f835cf65c72..fd25a000866 100644
--- a/src/ecrt0.c
+++ b/src/ecrt0.c
@@ -78,17 +78,9 @@ static start1 ();
#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 ()
{
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 42a3e43c3fb..75ec5a301cf 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -50,10 +50,6 @@ NOTE-END */
#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
diff --git a/src/m/vax.h b/src/m/vax.h
index d412deacd99..8b0593c028d 100644
--- a/src/m/vax.h
+++ b/src/m/vax.h
@@ -43,10 +43,6 @@ NOTE-END */
#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 @@ NOTE-END */
#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