summaryrefslogtreecommitdiff
path: root/sub/syslinux/syslinux-gcc5-1.patch
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-05-04 00:10:26 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-05-04 00:10:26 +0000
commit7bb2006007c1996f33758e41db070252d4d3607f (patch)
tree3dc03d4f6a8867742961a3dea9ecc96c52d00a10 /sub/syslinux/syslinux-gcc5-1.patch
parent1202c964c4e91083a3c60b41b9c11e220bfa759d (diff)
downloadlh-bootstrap-7bb2006007c1996f33758e41db070252d4d3607f.tar.xz
Make a lean and mean version, as a basis for filling an initramfs
Diffstat (limited to 'sub/syslinux/syslinux-gcc5-1.patch')
-rw-r--r--sub/syslinux/syslinux-gcc5-1.patch81
1 files changed, 0 insertions, 81 deletions
diff --git a/sub/syslinux/syslinux-gcc5-1.patch b/sub/syslinux/syslinux-gcc5-1.patch
deleted file mode 100644
index 380b05a..0000000
--- a/sub/syslinux/syslinux-gcc5-1.patch
+++ /dev/null
@@ -1,81 +0,0 @@
-From e5f2b577ded109291c9632dacb6eaa621d8a59fe Mon Sep 17 00:00:00 2001
-From: Sylvain Gault <sylvain.gault@gmail.com>
-Date: Tue, 29 Sep 2015 02:38:25 +0200
-Subject: [PATCH 1/1] bios: Fix alignment change with gcc 5
-
-The section aligment specified in the ld scripts have to be greater or
-equal to those in the .o files generated by gcc.
-
-Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
-Tested-by: poma <pomidorabelisima@gmail.com>
-Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
----
- core/i386/syslinux.ld | 6 +++---
- core/x86_64/syslinux.ld | 6 +++---
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld
-index 7b4e012..7390451 100644
---- a/core/i386/syslinux.ld
-+++ b/core/i386/syslinux.ld
-@@ -266,7 +266,7 @@ SECTIONS
- __text_end = .;
- }
-
-- . = ALIGN(16);
-+ . = ALIGN(32);
-
- __rodata_vma = .;
- __rodata_lma = __rodata_vma + __text_lma - __text_vma;
-@@ -361,7 +361,7 @@ SECTIONS
- __dynamic_end = .;
- }
-
-- . = ALIGN(16);
-+ . = ALIGN(32);
-
- __data_vma = .;
- __data_lma = __data_vma + __text_lma - __text_vma;
-@@ -377,7 +377,7 @@ SECTIONS
- __pm_code_dwords = (__pm_code_len + 3) >> 2;
-
- . = ALIGN(128);
--
-+
- __bss_vma = .;
- __bss_lma = .; /* Dummy */
- .bss (NOLOAD) : AT (__bss_lma) {
-diff --git a/core/x86_64/syslinux.ld b/core/x86_64/syslinux.ld
-index 1057112..bf815c4 100644
---- a/core/x86_64/syslinux.ld
-+++ b/core/x86_64/syslinux.ld
-@@ -266,7 +266,7 @@ SECTIONS
- __text_end = .;
- }
-
-- . = ALIGN(16);
-+ . = ALIGN(32);
-
- __rodata_vma = .;
- __rodata_lma = __rodata_vma + __text_lma - __text_vma;
-@@ -361,7 +361,7 @@ SECTIONS
- __dynamic_end = .;
- }
-
-- . = ALIGN(16);
-+ . = ALIGN(32);
-
- __data_vma = .;
- __data_lma = __data_vma + __text_lma - __text_vma;
-@@ -377,7 +377,7 @@ SECTIONS
- __pm_code_dwords = (__pm_code_len + 3) >> 2;
-
- . = ALIGN(128);
--
-+
- __bss_vma = .;
- __bss_lma = .; /* Dummy */
- .bss (NOLOAD) : AT (__bss_lma) {
---
-2.7.4.GIT
-