ca7b25e3ab
Update the PC BIOS to the latest version, split out the patches into patch series, and update the README to point to the new location of the Bochs BIOS source tree. Also update the gitignore to allow the patch queue directory to be used. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6077 c046a42c-6fe2-441c-8c8c-71466251a162
22 lines
601 B
Diff
22 lines
601 B
Diff
Disable stack protector for BIOS
|
|
|
|
Some distro GCCs (like Ubuntu) enable stack protection by default. Since the
|
|
BIOS doesn't link against libgcc, this results in undefined references unless
|
|
the stack protector is disabled.
|
|
|
|
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
|
diff --git a/bios/Makefile.in b/bios/Makefile.in
|
|
index af674b4..5c7bd4f 100644
|
|
--- a/bios/Makefile.in
|
|
+++ b/bios/Makefile.in
|
|
@@ -41,7 +41,7 @@ RANLIB = @RANLIB@
|
|
|
|
BCC = bcc
|
|
GCC = gcc
|
|
-GCC32 = gcc -m32
|
|
+GCC32 = gcc -m32 -fno-stack-protector
|
|
AS86 = as86
|
|
|
|
BX_INCDIRS = -I.. -I$(srcdir)/.. -I../iodev -I$(srcdir)/../iodev
|