aboutsummaryrefslogtreecommitdiff
path: root/pc-bios/bios-pq/0004_no-stack-protector.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pc-bios/bios-pq/0004_no-stack-protector.patch')
-rw-r--r--pc-bios/bios-pq/0004_no-stack-protector.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/pc-bios/bios-pq/0004_no-stack-protector.patch b/pc-bios/bios-pq/0004_no-stack-protector.patch
deleted file mode 100644
index a5f7bbc15c..0000000000
--- a/pc-bios/bios-pq/0004_no-stack-protector.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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