From df642dfde00573f29155176f8e807d69e04bc825ebf10337e78f0577be727b57 Mon Sep 17 00:00:00 2001 From: Steffen Winterfeldt Date: Wed, 16 Mar 2016 12:57:44 +0000 Subject: [PATCH] - fix section alignment (bsc#948445) OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=82 --- syslinux-4.04-align.diff | 11 +++++++++++ syslinux.changes | 5 +++++ syslinux.spec | 2 ++ 3 files changed, 18 insertions(+) create mode 100644 syslinux-4.04-align.diff 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} .