head 1.10; access; symbols perseant-exfatfs-base-20261102:1.10 netbsd-11-1-RELEASE:1.10 netbsd-10-2-RELEASE:1.10 netbsd-9-5-RELEASE:1.9 netbsd-11-0-RELEASE:1.10 netbsd-11-0-RC7:1.10 netbsd-11-0-RC6:1.10 netbsd-11-0-RC5:1.10 netbsd-11-0-RC4:1.10 netbsd-11-0-RC3:1.10 netbsd-11-0-RC2:1.10 netbsd-11-0-RC1:1.10 perseant-exfatfs-base-20250801:1.10 netbsd-11:1.10.0.6 netbsd-11-base:1.10 netbsd-10-1-RELEASE:1.10 perseant-exfatfs-base-20240630:1.10 perseant-exfatfs:1.10.0.4 perseant-exfatfs-base:1.10 netbsd-8-3-RELEASE:1.9 netbsd-9-4-RELEASE:1.9 netbsd-10-0-RELEASE:1.10 netbsd-10-0-RC6:1.10 netbsd-10-0-RC5:1.10 netbsd-10-0-RC4:1.10 netbsd-10-0-RC3:1.10 netbsd-10-0-RC2:1.10 netbsd-10-0-RC1:1.10 netbsd-10:1.10.0.2 netbsd-10-base:1.10 netbsd-9-3-RELEASE:1.9 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.54 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.9 cjep_staticlib_x:1.9.0.52 cjep_staticlib_x-base:1.9 netbsd-9-1-RELEASE:1.9 phil-wifi-20200421:1.9 phil-wifi-20200411:1.9 is-mlppp:1.9.0.50 is-mlppp-base:1.9 phil-wifi-20200406:1.9 netbsd-8-2-RELEASE:1.9 netbsd-9-0-RELEASE:1.9 netbsd-9-0-RC2:1.9 netbsd-9-0-RC1:1.9 phil-wifi-20191119:1.9 netbsd-9:1.9.0.48 netbsd-9-base:1.9 phil-wifi-20190609:1.9 netbsd-8-1-RELEASE:1.9 netbsd-8-1-RC1:1.9 pgoyette-compat-merge-20190127:1.9 pgoyette-compat-20190127:1.9 pgoyette-compat-20190118:1.9 pgoyette-compat-1226:1.9 pgoyette-compat-1126:1.9 pgoyette-compat-1020:1.9 pgoyette-compat-0930:1.9 pgoyette-compat-0906:1.9 netbsd-7-2-RELEASE:1.9 pgoyette-compat-0728:1.9 netbsd-8-0-RELEASE:1.9 phil-wifi:1.9.0.46 phil-wifi-base:1.9 pgoyette-compat-0625:1.9 netbsd-8-0-RC2:1.9 pgoyette-compat-0521:1.9 pgoyette-compat-0502:1.9 pgoyette-compat-0422:1.9 netbsd-8-0-RC1:1.9 pgoyette-compat-0415:1.9 pgoyette-compat-0407:1.9 pgoyette-compat-0330:1.9 pgoyette-compat-0322:1.9 pgoyette-compat-0315:1.9 netbsd-7-1-2-RELEASE:1.9 pgoyette-compat:1.9.0.44 pgoyette-compat-base:1.9 netbsd-7-1-1-RELEASE:1.9 matt-nb8-mediatek:1.9.0.42 matt-nb8-mediatek-base:1.9 perseant-stdc-iso10646:1.9.0.40 perseant-stdc-iso10646-base:1.9 netbsd-8:1.9.0.38 netbsd-8-base:1.9 prg-localcount2-base3:1.9 prg-localcount2-base2:1.9 prg-localcount2-base1:1.9 prg-localcount2:1.9.0.36 prg-localcount2-base:1.9 pgoyette-localcount-20170426:1.9 bouyer-socketcan-base1:1.9 pgoyette-localcount-20170320:1.9 netbsd-7-1:1.9.0.34 netbsd-7-1-RELEASE:1.9 netbsd-7-1-RC2:1.9 netbsd-7-nhusb-base-20170116:1.9 bouyer-socketcan:1.9.0.32 bouyer-socketcan-base:1.9 pgoyette-localcount-20170107:1.9 netbsd-7-1-RC1:1.9 pgoyette-localcount-20161104:1.9 netbsd-7-0-2-RELEASE:1.9 localcount-20160914:1.9 netbsd-7-nhusb:1.9.0.30 netbsd-7-nhusb-base:1.9 pgoyette-localcount-20160806:1.9 pgoyette-localcount-20160726:1.9 pgoyette-localcount:1.9.0.28 pgoyette-localcount-base:1.9 netbsd-7-0-1-RELEASE:1.9 netbsd-7-0:1.9.0.26 netbsd-7-0-RELEASE:1.9 netbsd-7-0-RC3:1.9 netbsd-7-0-RC2:1.9 netbsd-7-0-RC1:1.9 netbsd-5-2-3-RELEASE:1.8 netbsd-5-1-5-RELEASE:1.8 netbsd-6-0-6-RELEASE:1.9 netbsd-6-1-5-RELEASE:1.9 netbsd-7:1.9.0.24 netbsd-7-base:1.9 yamt-pagecache-base9:1.9 yamt-pagecache-tag8:1.9 netbsd-6-1-4-RELEASE:1.9 netbsd-6-0-5-RELEASE:1.9 tls-earlyentropy:1.9.0.22 tls-earlyentropy-base:1.9 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.9 riastradh-drm2-base3:1.9 netbsd-6-1-3-RELEASE:1.9 netbsd-6-0-4-RELEASE:1.9 netbsd-5-2-2-RELEASE:1.8 netbsd-5-1-4-RELEASE:1.8 netbsd-6-1-2-RELEASE:1.9 netbsd-6-0-3-RELEASE:1.9 netbsd-5-2-1-RELEASE:1.8 netbsd-5-1-3-RELEASE:1.8 netbsd-6-1-1-RELEASE:1.9 riastradh-drm2-base2:1.9 riastradh-drm2-base1:1.9 riastradh-drm2:1.9.0.16 riastradh-drm2-base:1.9 netbsd-6-1:1.9.0.20 netbsd-6-0-2-RELEASE:1.9 netbsd-6-1-RELEASE:1.9 netbsd-6-1-RC4:1.9 netbsd-6-1-RC3:1.9 agc-symver:1.9.0.18 agc-symver-base:1.9 netbsd-6-1-RC2:1.9 netbsd-6-1-RC1:1.9 yamt-pagecache-base8:1.9 netbsd-5-2:1.8.0.40 netbsd-6-0-1-RELEASE:1.9 yamt-pagecache-base7:1.9 netbsd-5-2-RELEASE:1.8 netbsd-5-2-RC1:1.8 matt-nb6-plus-nbase:1.9 yamt-pagecache-base6:1.9 netbsd-6-0:1.9.0.14 netbsd-6-0-RELEASE:1.9 netbsd-6-0-RC2:1.9 tls-maxphys:1.9.0.12 tls-maxphys-base:1.9 matt-nb6-plus:1.9.0.10 matt-nb6-plus-base:1.9 netbsd-6-0-RC1:1.9 yamt-pagecache-base5:1.9 yamt-pagecache-base4:1.9 netbsd-6:1.9.0.8 netbsd-6-base:1.9 netbsd-5-1-2-RELEASE:1.8 netbsd-5-1-1-RELEASE:1.8 yamt-pagecache-base3:1.9 yamt-pagecache-base2:1.9 yamt-pagecache:1.9.0.6 yamt-pagecache-base:1.9 cherry-xenmp:1.9.0.4 cherry-xenmp-base:1.9 bouyer-quota2-nbase:1.9 bouyer-quota2:1.9.0.2 bouyer-quota2-base:1.9 matt-mips64-premerge-20101231:1.9 matt-nb5-mips64-premerge-20101231:1.8 matt-nb5-pq3:1.8.0.38 matt-nb5-pq3-base:1.8 netbsd-5-1:1.8.0.36 netbsd-5-1-RELEASE:1.8 netbsd-5-1-RC4:1.8 matt-nb5-mips64-k15:1.8 netbsd-5-1-RC3:1.8 netbsd-5-1-RC2:1.8 netbsd-5-1-RC1:1.8 netbsd-5-0-2-RELEASE:1.8 matt-nb5-mips64-premerge-20091211:1.8 matt-premerge-20091211:1.8 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.8 matt-nb4-mips64-k7-u2a-k9b:1.8 matt-nb5-mips64-u1-k1-k5:1.8 matt-nb5-mips64:1.8.0.34 netbsd-5-0-1-RELEASE:1.8 jym-xensuspend-nbase:1.8 netbsd-5-0:1.8.0.32 netbsd-5-0-RELEASE:1.8 netbsd-5-0-RC4:1.8 netbsd-5-0-RC3:1.8 netbsd-5-0-RC2:1.8 jym-xensuspend:1.8.0.30 jym-xensuspend-base:1.8 netbsd-5-0-RC1:1.8 christos-time_t-nbase:1.8 christos-time_t:1.8.0.28 christos-time_t-base:1.8 netbsd-5:1.8.0.26 netbsd-5-base:1.8 matt-mips64-base2:1.8 matt-mips64:1.8.0.24 mjf-devfs2:1.8.0.22 mjf-devfs2-base:1.8 netbsd-4-0-1-RELEASE:1.8 wrstuden-revivesa-base-3:1.8 wrstuden-revivesa-base-2:1.8 wrstuden-fixsa-newbase:1.8 wrstuden-revivesa-base-1:1.8 yamt-pf42-base4:1.8 yamt-pf42-base3:1.8 hpcarm-cleanup-nbase:1.8 yamt-pf42-baseX:1.8 yamt-pf42-base2:1.8 wrstuden-revivesa:1.8.0.20 wrstuden-revivesa-base:1.8 yamt-pf42:1.8.0.18 yamt-pf42-base:1.8 keiichi-mipv6:1.8.0.16 keiichi-mipv6-base:1.8 matt-armv6-nbase:1.8 matt-armv6-prevmlocking:1.8 wrstuden-fixsa-base-1:1.8 netbsd-4-0:1.8.0.14 netbsd-4-0-RELEASE:1.8 cube-autoconf:1.8.0.12 cube-autoconf-base:1.8 netbsd-4-0-RC5:1.8 netbsd-4-0-RC4:1.8 netbsd-4-0-RC3:1.8 netbsd-4-0-RC2:1.8 netbsd-4-0-RC1:1.8 matt-armv6:1.8.0.10 matt-armv6-base:1.8 matt-mips64-base:1.8 hpcarm-cleanup:1.8.0.8 hpcarm-cleanup-base:1.8 netbsd-3-1-1-RELEASE:1.6 netbsd-3-0-3-RELEASE:1.6 wrstuden-fixsa:1.8.0.6 wrstuden-fixsa-base:1.8 abandoned-netbsd-4-base:1.8 abandoned-netbsd-4:1.8.0.2 netbsd-3-1:1.6.0.6 netbsd-3-1-RELEASE:1.6 netbsd-3-0-2-RELEASE:1.6 netbsd-3-1-RC4:1.6 netbsd-3-1-RC3:1.6 netbsd-3-1-RC2:1.6 netbsd-3-1-RC1:1.6 netbsd-4:1.8.0.4 netbsd-4-base:1.8 netbsd-3-0-1-RELEASE:1.6 netbsd-3-0:1.6.0.4 netbsd-3-0-RELEASE:1.6 netbsd-3-0-RC6:1.6 netbsd-3-0-RC5:1.6 netbsd-3-0-RC4:1.6 netbsd-3-0-RC3:1.6 netbsd-3-0-RC2:1.6 netbsd-3-0-RC1:1.6 netbsd-2-0-3-RELEASE:1.5 netbsd-2-1:1.5.0.6 netbsd-2-1-RELEASE:1.5 netbsd-2-1-RC6:1.5 netbsd-2-1-RC5:1.5 netbsd-2-1-RC4:1.5 netbsd-2-1-RC3:1.5 netbsd-2-1-RC2:1.5 netbsd-2-1-RC1:1.5 netbsd-2-0-2-RELEASE:1.5 netbsd-3:1.6.0.2 netbsd-3-base:1.6 netbsd-2-0-1-RELEASE:1.5 netbsd-2:1.5.0.4 netbsd-2-base:1.5 netbsd-2-0-RELEASE:1.5 netbsd-2-0-RC5:1.5 netbsd-2-0-RC4:1.5 netbsd-2-0-RC3:1.5 netbsd-2-0-RC2:1.5 netbsd-2-0-RC1:1.5 netbsd-2-0:1.5.0.2 netbsd-2-0-base:1.5 nathanw_sa_end:1.1.2.3 nathanw_sa_before_merge:1.2 fvdl_fs64_base:1.2 nathanw_sa_base:1.2 nathanw_sa:1.1.0.2; locks; strict; comment @# @; 1.10 date 2021.10.31.22.24.36; author thorpej; state Exp; branches; next 1.9; commitid CpFE7Oz5H0UBV0fD; 1.9 date 2010.07.06.05.59.52; author mrg; state Exp; branches; next 1.8; 1.8 date 2006.02.18.22.54.51; author matt; state Exp; branches; next 1.7; 1.7 date 2005.05.03.04.37.33; author matt; state Exp; branches; next 1.6; 1.6 date 2004.06.03.16.34.19; author mhitch; state Exp; branches; next 1.5; 1.5 date 2004.03.21.18.19.52; author matt; state Exp; branches; next 1.4; 1.4 date 2003.09.30.19.05.41; author matt; state Exp; branches; next 1.3; 1.3 date 2003.09.28.16.30.18; author matt; state Exp; branches; next 1.2; 1.2 date 2002.09.12.18.28.52; author ragge; state Exp; branches; next 1.1; 1.1 date 2002.07.10.04.29.10; author thorpej; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2002.07.10.04.29.10; author nathanw; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2002.08.01.03.28.07; author nathanw; state Exp; branches; next 1.1.2.3; 1.1.2.3 date 2002.09.17.21.32.46; author nathanw; state Exp; branches; next ; desc @@ 1.10 log @Tidy up how __sigaction14_sigtramp.c is added to SRCS. @ text @# $NetBSD: Makefile.inc,v 1.9 2010/07/06 05:59:52 mrg Exp $ SRCS+= __longjmp14.c SRCS+= __sigtramp3.S CPPFLAGS+= -I. CPPFLAGS.assym.h+=-D__LIBC12_SOURCE__ @ 1.9 log @remove almost all the ability to build netbsd with an a.out target. we're ELF now, and there are many missing checks against OBJECT_FMT. if we ever consider switching, the we can figure out what new ones we need but for now it's just clutter. this doesn't remove any of the support for exec_aout or any actually required-for-boot a.out support, only the ability to build a netbsd release in a.out format. ie, most of this code has been dead for over a decade. i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari, amiga, shark, cats, dreamcast, landisk, mmeye and x68k. this covers the 5 MACHINE_ARCH's affected, and all the other arch code touched. it also includes some actual run-time testing of sparc, i386 and shark, and i performed binary comparison upon amiga and x68k as well. some minor details relevant: - move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them down to only the parts ldconfig needs - remove various unused source files - switch amiga bootblocks to using elf2bb.h instead of aout2bb.h @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.8 2006/02/18 22:54:51 matt Exp $ d4 1 a4 1 SRCS+= __sigaction14_sigtramp.c __sigtramp3.S @ 1.8 log @Seperate out the compat support for VAX. Also, make references to the sigcontext sigtramp code weak so compat can be compiled out. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.7 2005/05/03 04:37:33 matt Exp $ a2 1 .if ${OBJECT_FMT} == "ELF" a3 1 .endif @ 1.7 log @Make longjmp on vax not use sigreturn. Instead it rewrites the jmp_buf into one compatible with __longjmp14 and relies on that to change that into a ucontext_t suitable for setcontext(2). @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.6 2004/06/03 16:34:19 mhitch Exp $ d6 1 a6 1 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S __sigtramp3.S @ 1.6 log @A -I. is needed by vax; had gotten removed from elsewhere. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.5 2004/03/21 18:19:52 matt Exp $ d9 1 @ 1.5 log @Change longjmp on VAX (ELF) to use setcontext instead of sigreturn14. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.4 2003/09/30 19:05:41 matt Exp $ d7 2 @ 1.4 log @Enable the SIGINFO trampoline. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.3 2003/09/28 16:30:18 matt Exp $ d3 3 @ 1.3 log @Deal with changed filename. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.2 2002/09/12 18:28:52 ragge Exp $ d3 1 a3 1 SRCS+= __sigaction14_sigtramp.c __sigtramp2.S @ 1.2 log @Rename __sigtramp1.S to __sigtramp.S. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.1 2002/07/10 04:29:10 thorpej Exp $ d3 1 a3 1 SRCS+= __sigaction14_sigtramp.c __sigtramp.S @ 1.1 log @Enable the libc-provided signal trampoline. The old __sigaction14 entry point has been replaced by the new __sigaction14() which is a wrapper around the __sigaction_sigtramp system call (which is itself not directly exposed outside of libc). No shared library version change is necessary; no new symbols are exposed outside of libc. @ text @d1 1 a1 1 # $NetBSD$ d3 1 a3 1 SRCS+= __sigaction14_sigtramp.c __sigtramp1.S @ 1.1.2.1 log @file Makefile.inc was added on branch nathanw_sa on 2002-08-01 03:28:07 +0000 @ text @d1 3 @ 1.1.2.2 log @Catch up to -current. @ text @a0 3 # $NetBSD: Makefile.inc,v 1.1.2.1 2002/08/01 03:28:07 nathanw Exp $ SRCS+= __sigaction14_sigtramp.c __sigtramp1.S @ 1.1.2.3 log @Catch up to -current. @ text @d1 1 a1 1 # $NetBSD: Makefile.inc,v 1.1.2.2 2002/09/17 21:32:46 nathanw Exp $ d3 1 a3 1 SRCS+= __sigaction14_sigtramp.c __sigtramp.S @