mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-04 09:09:56 +00:00
106c9ff5ac
By not exporting _start, we get various warnings of the form: ld: warning: cannot find entry symbol _start Note that in practice these don't matter because we manually construct our PE header and use objcopy -O binary, so the entry point is set to whatever we put explicitly in the PE header, but we should still do the right thing and silence these warnings. This was found in CheriBSD, where bsd.prog.mk has similar logic to bsd.lib.mk and sets -Wl,--(no-)fatal-warnings based on LD_FATAL_WARNINGS (unlike FreeBSD which only does so in the latter). |
||
---|---|---|
.. | ||
arm64 | ||
common | ||
defaults | ||
efi | ||
fdt | ||
ficl | ||
ficl32 | ||
fonts | ||
forth | ||
i386 | ||
images | ||
kboot | ||
kshim | ||
liblua | ||
liblua32 | ||
libofw | ||
libsa | ||
libsa32 | ||
lua | ||
man | ||
powerpc | ||
uboot | ||
usb | ||
userboot | ||
defs.mk | ||
fdt.mk | ||
ficl.mk | ||
loader.mk | ||
lua.mk | ||
Makefile | ||
Makefile.amd64 | ||
Makefile.inc | ||
veriexec.mk |