freebsd-skq/sys/boot/i386
avg 85867a4f6c gpt/zfs boot blocks: reduce optimizing CFLAGS to -O1
gpt and zfs boot blocks are not nearly as size-constrained as boot2
from which they inherited their current optimization and anti-optimization
options.  As such the current options do not provide any benefit, but
make debugging of the code much harder.
Also, it has been demonstrated that combination of -mrtd and
-fno-unit-at-a-time may result in mis-compilation of the boot code
with the current base gcc.

Additionally, intermediate assembly file filtering is removed for
zfsboot.

The new boot blocks are all compile- and boot- tested using qemu.
gptzfsboot is tested with real hardware.

Reported by:	Peter Jeremy <peterjeremy@acm.org> [miscompilation]
Discussed with:	bde, jhb
Tested by:	Sebastian Chmielewski <chmielsster@gmail.com> [gptzfsboot]
Approved by:	re (kib)
MFC after:	3 weeks
2011-09-13 14:03:55 +00:00
..
boot0 Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
boot0ext
boot0sio
boot2 When building some of the boot loaders with clang, and DEBUG_FLAGS or 2011-07-17 13:50:21 +00:00
btx Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
cdboot Remove duplicate "in". 2011-03-01 11:47:51 +00:00
common Due to space constraints, the UFS boot2 and boot1 use an evil hack where 2011-04-28 17:44:24 +00:00
efi Use new output format 'elf64-x86-64-freebsd' instead of 'elf64-x86-64', 2010-11-01 20:20:31 +00:00
gptboot gpt/zfs boot blocks: reduce optimizing CFLAGS to -O1 2011-09-13 14:03:55 +00:00
gptzfsboot gpt/zfs boot blocks: reduce optimizing CFLAGS to -O1 2011-09-13 14:03:55 +00:00
kgzldr
libfirewire MF tbemd: Minor tweaks, prefer MACHINE_CPUARCH generally to MACHINE_ARCH 2010-08-23 01:42:09 +00:00
libi386 Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
loader New boot loader menus from Devin Teske. 2011-05-28 08:50:38 +00:00
mbr Use -Wl,-N instead of the undocumented -N option for GCC. 2010-06-03 17:42:32 +00:00
pmbr Use -Wl,-N instead of the undocumented -N option for GCC. 2010-06-03 17:42:32 +00:00
pxeldr Upgrade our copy of llvm/clang to r126079, from upstream's trunk. 2011-02-20 19:33:47 +00:00
zfsboot gpt/zfs boot blocks: reduce optimizing CFLAGS to -O1 2011-09-13 14:03:55 +00:00
zfsloader For consistency, change all 'i386' and MACHINE_ARCH to x86. 2010-08-31 19:01:12 +00:00
Makefile Don't build zfsboot, gptzfsboot, and zfsloader if WITHOUT_ZFS is enabled. 2009-12-22 20:56:33 +00:00
Makefile.inc When building some of the boot loaders with clang, and DEBUG_FLAGS or 2011-07-17 13:50:21 +00:00