fix exit and atexit calls for vax-*-bsd systems

From-SVN: r38713
This commit is contained in:
Bruce Korb 2001-01-05 16:28:58 +00:00 committed by Bruce Korb
parent b088898824
commit 15fe1a7ed1
3 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -184,7 +184,7 @@ Altering %5d of them\n";
# ifdef SEPARATE_FIX_PROC
unlink( pz_temp_file );
# endif
return EXIT_SUCCESS;
exit (EXIT_SUCCESS);
}

View File

@ -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"
;;