aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/pc98/btx/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove sys/boot/pc98 accidentally restored in r313575Ed Maste2017-02-115-251/+0
| | | | | | | Reported by: rpokala Notes: svn path=/head/; revision=313576
* makefs: make the buffer functions look exactly like the kernel onesEd Maste2017-02-115-0/+251
| | | | | | | | | | | | | | | | | | | | | From NetBSD christos Sat Jan 26 00:19:39 2013 +0000 make the buffer functions look exactly like the kernel ones and add other cruft to make the kernel files compile. ffs.c 1.54 ffs/buf.c 1.13 ffs/buf.h 1.3 ffs/ffs_alloc.c 1.21 ffs/ffs_balloc.c 1.15 Reviewed by: marcel, ngie Obtained from: NetBSD Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8404 Notes: svn path=/head/; revision=313575
* Remove pc98 support completely.Yoshihiro Takahashi2017-01-285-251/+0
| | | | | | | | | I thank all developers and contributors for pc98. Relnotes: yes Notes: svn path=/head/; revision=312910
* Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib Notes: svn path=/head/; revision=270168
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2] Notes: svn path=/head/; revision=267233
* NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
* Reduce diffs against i386.Yoshihiro Takahashi2012-08-051-2/+2
| | | | Notes: svn path=/head/; revision=239064
* MFi386: improve argument passing via btxldrAndriy Gapon2012-05-112-5/+4
| | | | | | | | | | use related definitions in i386 bootargs.h Reviewed by: nyan, jhb MFC after: 1 month Notes: svn path=/head/; revision=235264
* Consolidate duplicate definitions of V86_CY() and V86_ZR() which check forJohn Baldwin2011-10-251-0/+4
| | | | | | | | the carry and zero flags being set, respectively, in <btxv86.h> and use them throughout the x86 boot code. Notes: svn path=/head/; revision=226746
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* MFi386: revision 1.4.Yoshihiro Takahashi2004-10-241-1/+9
| | | | Notes: svn path=/head/; revision=136892
* MFi386: Factor out -nostdlib and use PROG.Yoshihiro Takahashi2004-02-091-7/+5
| | | | Notes: svn path=/head/; revision=125625
* Switch to using bsd.prog.mk; this gives us back the standardRuslan Ermilov2003-06-301-5/+2
| | | | | | | .s.o transformation rule. Notes: svn path=/head/; revision=117075
* Remove -elf option.Yoshihiro Takahashi2002-09-191-2/+0
| | | | Notes: svn path=/head/; revision=103639
* Fixed CLEANFILES after bsd.lib.mk sweep.Ruslan Ermilov2002-05-131-1/+1
| | | | Notes: svn path=/head/; revision=96532
* Major cleanup of bsd.lib.mk.Ruslan Ermilov2002-05-131-4/+0
| | | | | | | | | | Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB. INTERNALLIB now means to build static library only and don't install anything. Added a NOINSTALLLIB knob for libpam/modules. To not build any library at all, just do not set LIB. Notes: svn path=/head/; revision=96512
* Back out last commit. I expect our bsd.*.mk gods to remove the need forDavid E. O'Brien2002-05-121-0/+3
| | | | | | | | defining so many extra things in addition to INTERNALLIB. We don't like repetitive C code and we shouldn't for make code either. Notes: svn path=/head/; revision=96455
* NOPIC, NOPROFILE, NOMAN, and INTERNALSTATICLIB are redundant when usingDavid E. O'Brien2002-05-111-3/+0
| | | | | | | INTERNALLIB now. Notes: svn path=/head/; revision=96415
* $Id$ -> $FreeBSD$Peter Wemm1999-08-285-5/+5
| | | | Notes: svn path=/head/; revision=50477
* PC98 version of new boot loader. Because boot2 has not yet ported,KATO Takenori1999-02-035-0/+251
files in boot2 directory are copies from legacy biosboot. Submitted by: IMAI Takeshi <take-i@ceres.dti.ne.jp> Notes: svn path=/head/; revision=43561