cvs commit: src/sys/boot/i386/boot2 Makefile
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Aug 6 13:53:15 PDT 2004
dillon 2004/08/06 13:50:35 PDT
DragonFly src repository
Modified files:
sys/boot/i386/boot2 Makefile
Log:
GCC3.4's (default) unit-at-a-time optimization is incompatible with -mrtd.
Bad code (missing stack pops) will be produced. See the assembly generated
for 'xputc' with -mrtd and unit-at-a-time enabled for an example of this.
GCC3.4's unit-at-a-time seems to cause other problems as well, specifically
in boot2, as yet not tracked down, so disable unit-at-a-time optimizations
for the boot code if the compiler is not GCC2.
Revision Changes Path
1.11 +17 -2 src/sys/boot/i386/boot2/Makefile
http://www.dragonflybsd.org/cvsweb/src/sys/boot/i386/boot2/Makefile.diff?r1=1.10&r2=1.11&f=u
More information about the Commits
mailing list