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.
show more ...
Make putenv and getenv match the userland definition of thesefunctions, tweak man page and one variable that shouldn't be constanymore.Sponsored by: Netflix
Don't inherit CFLAGS. This a specialized test program, and can bebuilt with mostly default flags. Do so in anticipation of the rest ofstand not building with system headers.Sponsored by: Netflix
Undefine _STANDALONE since this is test code. This is unsastifying,but since we sadly only have one test, put this in as a stopgap.Sponsored by: Netflix
Mark the func pointer as __dead2. It looks up loader_main, whicheither aborts or exits, but never returns. Tag it as a non-returningfunction rather than supply a bogus return(0) at the end of main.
Mark the func pointer as __dead2. It looks up loader_main, whicheither aborts or exits, but never returns. Tag it as a non-returningfunction rather than supply a bogus return(0) at the end of main.CID: 1382885Sponsored by: Netflix
Move sys/boot to stand. Fix all references to new locationSponsored by: Netflix