diff options
author | Bruce Korb <bkorb@gnu.org> | 2001-01-05 16:28:58 +0000 |
---|---|---|
committer | Bruce Korb <korbb@gcc.gnu.org> | 2001-01-05 16:28:58 +0000 |
commit | 15fe1a7ed1395cda8768662f5aaa4b7eee21ef78 (patch) | |
tree | a1393db1c08d0e7a8b77d9dd477258ad2981f92e /gcc | |
parent | b08889882442e6b36fe49033fa658ec6cc489199 (diff) | |
download | gcc-15fe1a7ed1395cda8768662f5aaa4b7eee21ef78.zip gcc-15fe1a7ed1395cda8768662f5aaa4b7eee21ef78.tar.gz gcc-15fe1a7ed1395cda8768662f5aaa4b7eee21ef78.tar.bz2 |
fix exit and atexit calls for vax-*-bsd systems
From-SVN: r38713
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/fixinc/fixincl.c | 2 | ||||
-rwxr-xr-x | gcc/fixinc/mkfixinc.sh | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f44b55..7ca0a8e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-01-05 Bruce Korb <bkorb@gnu.org> + + * fixinc/mkfixinc.sh(vax-*-bsd): convert exit and atexit calls to + their x* equivalent versions for atexit-less systems + * fixinc/fixincl.c(main): do not return from main() on atexit-less + systems (or any other system any more). + 2001-01-05 Richard Earnshaw <rearnsha@arm.com> * arm.md (ldmsi_postinc): Avoid use of match_dup between input and diff --git a/gcc/fixinc/fixincl.c b/gcc/fixinc/fixincl.c index 0e3b818..3f2cb56 100644 --- a/gcc/fixinc/fixincl.c +++ b/gcc/fixinc/fixincl.c @@ -184,7 +184,7 @@ Altering %5d of them\n"; # ifdef SEPARATE_FIX_PROC unlink( pz_temp_file ); # endif - return EXIT_SUCCESS; + exit (EXIT_SUCCESS); } diff --git a/gcc/fixinc/mkfixinc.sh b/gcc/fixinc/mkfixinc.sh index 5bb6a55..f353d5e 100755 --- a/gcc/fixinc/mkfixinc.sh +++ b/gcc/fixinc/mkfixinc.sh @@ -23,6 +23,11 @@ case $build in CFLAGS="${CFLAGS} -DSEPARATE_FIX_PROC" ;; + vax-dec-bsd* ) + CFLAGS="${CFLAGS} -Dexit=xexit -Datexit=xatexit" + MAKE="${MAKE} TARGETS=oneprocess" + ;; + * ) MAKE="${MAKE} TARGETS=oneprocess" ;; |