summaryrefslogtreecommitdiffstats
path: root/sectalign-nasm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sectalign-nasm.patch')
-rw-r--r--sectalign-nasm.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/sectalign-nasm.patch b/sectalign-nasm.patch
new file mode 100644
index 0000000..c74a236
--- /dev/null
+++ b/sectalign-nasm.patch
@@ -0,0 +1,24 @@
+https://bugzilla.redhat.com/show_bug.cgi?id=603113#c11
+
+--- libvpx-v1.3.0/build/make/configure.sh-orig 2014-01-10 21:12:40.000000000 +0100
++++ libvpx-v1.3.0/build/make/configure.sh 2014-07-29 13:30:14.509553770 +0200
+@@ -374,7 +374,7 @@ EOF
+ readelf -WS ${TMP_O} >${TMP_X}
+ log_file ${TMP_X}
+ if ! grep -q '\.rodata .* 16$' ${TMP_X}; then
+- die "${AS} ${ASFLAGS} does not support section alignment (nasm <=2.08?)"
++ echo >&2 "${AS} ${ASFLAGS} does not support section alignment (nasm <=2.08?)"
+ fi
+ }
+
+--- libvpx-v1.3.0/vpx_ports/x86_abi_support.asm-orig 2014-07-29 14:06:26.856461360 +0200
++++ libvpx-v1.3.0/vpx_ports/x86_abi_support.asm 2014-07-29 15:00:51.772040384 +0200
+@@ -377,7 +377,7 @@ section .text
+ %elifidn __OUTPUT_FORMAT__,aout
+ %define SECTION_RODATA section .data
+ %else
+-%define SECTION_RODATA section .rodata
++%define SECTION_RODATA section .rodata align=16
+ %endif
+
+