1 commit e5f2b577ded109291c9632dacb6eaa621d8a59fe
2 Author: Sylvain Gault <sylvain.gault@gmail.com>
3 Date: Tue Sep 29 02:38:25 2015 +0200
5 bios: Fix alignment change with gcc 5
7 The section aligment specified in the ld scripts have to be greater or
8 equal to those in the .o files generated by gcc.
10 Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
11 Tested-by: poma <pomidorabelisima@gmail.com>
12 Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
13 Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
15 diff --git a/core/i386/syslinux.ld b/core/i386/syslinux.ld
16 index 7b4e012..7390451 100644
17 --- a/core/i386/syslinux.ld
18 +++ b/core/i386/syslinux.ld
19 @@ -266,7 +266,7 @@ SECTIONS
27 __rodata_lma = __rodata_vma + __text_lma - __text_vma;
28 @@ -361,7 +361,7 @@ SECTIONS
36 __data_lma = __data_vma + __text_lma - __text_vma;
37 @@ -377,7 +377,7 @@ SECTIONS
38 __pm_code_dwords = (__pm_code_len + 3) >> 2;
44 __bss_lma = .; /* Dummy */
45 .bss (NOLOAD) : AT (__bss_lma) {
46 diff --git a/core/x86_64/syslinux.ld b/core/x86_64/syslinux.ld
47 index 1057112..bf815c4 100644
48 --- a/core/x86_64/syslinux.ld
49 +++ b/core/x86_64/syslinux.ld
50 @@ -266,7 +266,7 @@ SECTIONS
58 __rodata_lma = __rodata_vma + __text_lma - __text_vma;
59 @@ -361,7 +361,7 @@ SECTIONS
67 __data_lma = __data_vma + __text_lma - __text_vma;
68 @@ -377,7 +377,7 @@ SECTIONS
69 __pm_code_dwords = (__pm_code_len + 3) >> 2;
75 __bss_lma = .; /* Dummy */
76 .bss (NOLOAD) : AT (__bss_lma) {