diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7f44b557e909..7ca0a8e2f558 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2001-01-05 Bruce Korb + + * 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 * 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 0e3b818cb916..3f2cb564e7c2 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 5bb6a5502c9d..f353d5e8be3e 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" ;;