diff --git a/syslinux-4.04-align.diff b/syslinux-4.04-align.diff new file mode 100644 index 0000000..551843b --- /dev/null +++ b/syslinux-4.04-align.diff @@ -0,0 +1,11 @@ +--- core/syslinux.ld ++++ core/syslinux.ld +@@ -263,7 +263,7 @@ + __text_end = .; + } + +- . = ALIGN(16); ++ . = ALIGN(32); + + __rodata_vma = .; + __rodata_lma = __rodata_vma + __text_lma - __text_vma; diff --git a/syslinux.changes b/syslinux.changes index ab1d97f..4707e4e 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 16 13:56:48 CET 2016 - snwint@suse.de + +- fix section alignment (bsc#948445) + ------------------------------------------------------------------- Tue Feb 16 09:41:32 CET 2016 - snwint@suse.de diff --git a/syslinux.spec b/syslinux.spec index 0667cf4..9eff31e 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -55,6 +55,7 @@ Patch14: %{name}-%{version}-timeout.diff Patch15: %{name}-%{version}-cache_fix.diff Patch16: %{name}-%{version}-mtime.diff Patch17: %{name}-%{version}-miniacc.diff +Patch18: %{name}-%{version}-align.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -88,6 +89,7 @@ Authors: %patch15 -p1 %patch16 -p1 %patch17 +%patch18 %build cp %{SOURCE2} .