Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
pmbr: Only load the first 545k rather than error outIt would be nice to have larger boot partitions for ESPs to live in oneday. It's trivial to carve out 5M 10M or 200M when provisioning, butlogi
pmbr: Only load the first 545k rather than error outIt would be nice to have larger boot partitions for ESPs to live in oneday. It's trivial to carve out 5M 10M or 200M when provisioning, butlogistical issues may make it hard to do it after the fact. So only warnwhen the partition is > 545k. If we ever grow the boot loader largerthan that, then it will be responsible for loading the rest anyway.Sponsored by: NetflixReviewed by: tsoomeDifferential Revision: https://reviews.freebsd.org/D42774
show more ...
Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
Fix pmbr issues > 2TBThese issues have low impact because they require precise circumstancesto trigger one of them. The disk must be > 2 TiB in size and either:- The primary GPT header is dammage
Fix pmbr issues > 2TBThese issues have low impact because they require precise circumstancesto trigger one of them. The disk must be > 2 TiB in size and either:- The primary GPT header is dammaged.- The freebsd-boot partiton is located farther than the first 2 TiB of the disc and one of its sectors takes place at a lba value that makes the higher 32 bits of this very value change.Errors and corrections folow:- decl and incl don't affect CF, so replace with subl/addl $1- repe uses %cx, so move size to it with movw- moving a 64-bit value with %cx of 2 (should be 4) so addresses > 2TB will work.PR: 233180Reviewed by: imp@ (applied patch using description in bug)Differential Revision: https://reviews.freebsd.org/D31100
stand/i386: rename .s to .S to use Clang IASAs part of the migration away from obsolete binutils we want to retireGNU as. Most assembly files used on amd64 have a .S extension and(via rules in s
stand/i386: rename .s to .S to use Clang IASAs part of the migration away from obsolete binutils we want to retireGNU as. Most assembly files used on amd64 have a .S extension and(via rules in share/mk/bsd.suffixes.mk) are assembled with Clang'sIntegrated Assembler (IAS). Rename files in stand/i386 to .S to usethe integrated assembler.Clang's IAS supports the defsym option (via -Wa,) but only with onedash, not two. As both -defsym and --defsym are accepted by GNU as,use the former.PR: 233611Reviewed by: tsoomeSponsored by: The FreeBSD FoundationDifferential Revision: https://reviews.freebsd.org/D18369
Centralize several variables.MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always thesame, so set them in defs.mk. MAN= is common, so set it here too.This removes a lot of boring repeti
Centralize several variables.MK_CTF, MK_SSP, MK_PROFILE, NO_PIC, and INTERNALLIB are always thesame, so set them in defs.mk. MAN= is common, so set it here too.This removes a lot of boring repetition from the Makefiles that addedalmost no value.
Move sys/boot to stand. Fix all references to new locationSponsored by: Netflix