# HG changeset patch # User Dan Nicolaescu # Date 1216924788 0 # Node ID ea3fb04613c1bda89288bb70187089617da1032f # Parent 6ac7d0f811573914526b3dadbd918593c98f6070 * 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. diff -r 6ac7d0f81157 -r ea3fb04613c1 src/ChangeLog --- 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 + * 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 diff -r 6ac7d0f81157 -r ea3fb04613c1 src/ecrt0.c --- 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 () { diff -r 6ac7d0f81157 -r ea3fb04613c1 src/m/intel386.h --- 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 diff -r 6ac7d0f81157 -r ea3fb04613c1 src/m/vax.h --- 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