summaryrefslogtreecommitdiffstats
path: root/sectalign-nasm.patch
blob: c74a23668e5bd5d702fbe38f3ab30e8f7d9f62ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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