aboutsummaryrefslogtreecommitdiff
path: root/sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2022-08-11 23:29:10 +0000
committerWarner Losh <imp@FreeBSD.org>2022-08-11 23:29:10 +0000
commit4c8ea3efe73c12d595472a7fc37177432a77858e (patch)
tree9b2e8824029a7fd7d84827f3aa6858e2618e7912 /sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c
parentac175bd33a21b7f357cffe37117dc5afa6d7c5fb (diff)
downloadsrc-4c8ea3efe73c12d595472a7fc37177432a77858e.tar.gz
src-4c8ea3efe73c12d595472a7fc37177432a77858e.zip
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
Diffstat (limited to 'sys/gnu/fs/xfs/FreeBSD/xfs_mountops.c')
0 files changed, 0 insertions, 0 deletions