diff options
| author | Dan Nicolaescu | 2008-07-24 18:39:48 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2008-07-24 18:39:48 +0000 |
| commit | a11af7f84505c8731f23d98355158da411882d22 (patch) | |
| tree | 6d4b4c890a137b1429cf8a349fabaa6ed9682a5d /src | |
| parent | 67725bd8db7c7168d08d6a137df04bea21f346ba (diff) | |
| download | emacs-a11af7f84505c8731f23d98355158da411882d22.tar.gz emacs-a11af7f84505c8731f23d98355158da411882d22.zip | |
* 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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/ecrt0.c | 8 | ||||
| -rw-r--r-- | src/m/intel386.h | 4 | ||||
| -rw-r--r-- | src/m/vax.h | 12 |
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 @@ | |||
| 1 | 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> | 1 | 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 2 | ||
| 3 | * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused. | ||
| 4 | (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES. | ||
| 5 | * m/intel386.h (DOT_GLOBAL_START): | ||
| 6 | * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES. | ||
| 7 | (USG): Remove, file not used on USG platforms. | ||
| 8 | |||
| 3 | * Makefile.in (HAVE_X11): Remove empty #else. | 9 | * Makefile.in (HAVE_X11): Remove empty #else. |
| 4 | 10 | ||
| 5 | 2008-07-24 Andreas Schwab <schwab@suse.de> | 11 | 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 (); | |||
| 78 | #ifdef CRT0_DUMMIES | 78 | #ifdef CRT0_DUMMIES |
| 79 | 79 | ||
| 80 | /* Define symbol "start": here; some systems want that symbol. */ | 80 | /* Define symbol "start": here; some systems want that symbol. */ |
| 81 | #ifdef DOT_GLOBAL_START | ||
| 82 | asm(" .text "); | 81 | asm(" .text "); |
| 83 | asm(" .globl start "); | 82 | asm(" .globl start "); |
| 84 | asm(" start: "); | 83 | asm(" start: "); |
| 85 | #endif /* DOT_GLOBAL_START */ | ||
| 86 | |||
| 87 | #ifdef NODOT_GLOBAL_START | ||
| 88 | asm(" text "); | ||
| 89 | asm(" global start "); | ||
| 90 | asm(" start: "); | ||
| 91 | #endif /* NODOT_GLOBAL_START */ | ||
| 92 | 84 | ||
| 93 | _start () | 85 | _start () |
| 94 | { | 86 | { |
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 */ | |||
| 50 | 50 | ||
| 51 | #define CRT0_DUMMIES bogus_fp, | 51 | #define CRT0_DUMMIES bogus_fp, |
| 52 | 52 | ||
| 53 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 54 | |||
| 55 | #define DOT_GLOBAL_START | ||
| 56 | |||
| 57 | #ifdef SOLARIS2 | 53 | #ifdef SOLARIS2 |
| 58 | /* Data type of load average, as read out of kmem. */ | 54 | /* Data type of load average, as read out of kmem. */ |
| 59 | #define LOAD_AVE_TYPE long | 55 | #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 */ | |||
| 43 | 43 | ||
| 44 | #define CRT0_DUMMIES | 44 | #define CRT0_DUMMIES |
| 45 | 45 | ||
| 46 | /* crt0.c should define a symbol `start' and do .globl with a dot. */ | ||
| 47 | |||
| 48 | #define DOT_GLOBAL_START | ||
| 49 | |||
| 50 | #ifdef BSD_SYSTEM | 46 | #ifdef BSD_SYSTEM |
| 51 | /* USG systems I know of running on Vaxes do not actually | 47 | /* USG systems I know of running on Vaxes do not actually |
| 52 | support the load average, so disable it for them. */ | 48 | support the load average, so disable it for them. */ |
| @@ -73,14 +69,6 @@ NOTE-END */ | |||
| 73 | 69 | ||
| 74 | #endif /* VMS */ | 70 | #endif /* VMS */ |
| 75 | 71 | ||
| 76 | /* Vax sysV has alloca in the PW library. */ | ||
| 77 | |||
| 78 | #ifdef USG | ||
| 79 | #define LIB_STANDARD -lPW -lc | ||
| 80 | |||
| 81 | #define TEXT_START 0 | ||
| 82 | #endif /* USG */ | ||
| 83 | |||
| 84 | #ifdef BSD4_2 | 72 | #ifdef BSD4_2 |
| 85 | #define HAVE_FTIME | 73 | #define HAVE_FTIME |
| 86 | #endif | 74 | #endif |