Don't use -fomit-frame-pointer when building VGA bios.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 18 Dec 2011 15:51:19 +0000 (10:51 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 18 Dec 2011 15:57:39 +0000 (10:57 -0500)
commit9887ecb7dd95d9cea6986dbfdf9177694b92aa79
tree8695f5a5e9923a867f2c42070533ec8b65c23192
parentbd515acd328f0cc356cc3a859597c1e9186893f5
Don't use -fomit-frame-pointer when building VGA bios.

The real-mode emulator that Windows 7 uses to execute the vga bios rom
becomes very confused when the code tries to dereference the stack
pointer instead of using the frame pointer, leading to corruption of
parameters passed on the stack from one function to another.

Signed-off-by: Julian Pidancet <julian.pidancet@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Makefile