freebsd-dev/stand/i386
Warner Losh 4c8ea3efe7 stand: Go back to a.out format for /boot/loader
Turns out there's two hidden a.out dependencies. pxeldr.S assumes it has
access to the a.out header from /boot/loader and cdboot.S assumes that
/boot/loader is also a.out and doesn't use boot2.

So, go back to making a.out files for these and adjust the size checks
to use ls, but we only need to check loader.bin. Trim the size we check
against by 2,000. The difference in size between loader and loader.bin
is about 3000 bytes, but clang15 produces binaries that are a smidge
bigger so we need to relax the check just a little and accept some
additional risk for the moment.

Add some comments to loader's Makefile about this.

Sponsored by:		Netflix
Reviewed by:		emaste
Differential Revision:	https://reviews.freebsd.org/D36142
2022-08-11 17:29:10 -06:00
..
boot0 Revert r362466 2020-06-22 07:46:24 +00:00
boot0sio
boot2 Adjust parse() definition in boot2 to avoid clang 15 warning 2022-07-15 21:18:28 +02:00
btx
cdboot stand: remove CLANG_NO_IAS from cdboot 2019-08-15 17:32:39 +00:00
common loader: edd_device_path_v3 is too small 2020-10-12 09:34:50 +00:00
gptboot gptboot.8: Fix a typo and fix lint warnings 2022-03-18 11:35:04 +01:00
gptzfsboot loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
isoboot Don't add -Winline for WARNS=6 2021-03-22 11:55:45 +00:00
libfirewire stand: Use c99 structure initialization for fwohci device 2022-07-24 16:53:34 -06:00
libi386 stand: i386_fmtdev can be reduced to devformat 2022-08-11 10:27:17 -06:00
loader stand: Go back to a.out format for /boot/loader 2022-08-11 17:29:10 -06:00
loader_4th Update Makefile.depend files 2019-12-11 17:37:53 +00:00
loader_lua
loader_simp
mbr stand/i386: rename .s to .S to use Clang IAS 2018-12-03 19:16:34 +00:00
pmbr Fix pmbr issues > 2TB 2021-07-13 15:40:44 -06:00
pxeldr stand: Go back to a.out format for /boot/loader 2022-08-11 17:29:10 -06:00
zfsboot stand: Replace zfs_fmtdev with generic devformat() 2022-08-11 10:27:16 -06:00
boot.ldscript Link stand/i386 components using a linker script 2020-03-04 21:01:22 +00:00
Makefile stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc Remove quotes around Makefile .error/.warn/.info strings 2022-01-22 14:03:07 -05:00