python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / boot / syslinux / 0001-Fix-gcc-5-ALIGN-causing-Boot-error.patch
blob2df67665579def74b84ec09593969b8caa1a9077
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
20 __text_end = .;
23 - . = ALIGN(16);
24 + . = ALIGN(32);
26 __rodata_vma = .;
27 __rodata_lma = __rodata_vma + __text_lma - __text_vma;
28 @@ -361,7 +361,7 @@ SECTIONS
29 __dynamic_end = .;
32 - . = ALIGN(16);
33 + . = ALIGN(32);
35 __data_vma = .;
36 __data_lma = __data_vma + __text_lma - __text_vma;
37 @@ -377,7 +377,7 @@ SECTIONS
38 __pm_code_dwords = (__pm_code_len + 3) >> 2;
40 . = ALIGN(128);
43 __bss_vma = .;
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
51 __text_end = .;
54 - . = ALIGN(16);
55 + . = ALIGN(32);
57 __rodata_vma = .;
58 __rodata_lma = __rodata_vma + __text_lma - __text_vma;
59 @@ -361,7 +361,7 @@ SECTIONS
60 __dynamic_end = .;
63 - . = ALIGN(16);
64 + . = ALIGN(32);
66 __data_vma = .;
67 __data_lma = __data_vma + __text_lma - __text_vma;
68 @@ -377,7 +377,7 @@ SECTIONS
69 __pm_code_dwords = (__pm_code_len + 3) >> 2;
71 . = ALIGN(128);
74 __bss_vma = .;
75 __bss_lma = .; /* Dummy */
76 .bss (NOLOAD) : AT (__bss_lma) {