Skip to content

Commit 251f016

Browse files
committed
x86_abi_support.asm: use .rdata for win32/win64
Instead of `.rodata`. This fixes a non-zero exit code from nasm 3.0 which cause Visual Studio builds to fail. This also matches x86inc.asm. Bug: 540261859 Fixed: 540261859 Change-Id: Ic869fb72622f122aa959922539b8956a23ea0069
1 parent 3e25f22 commit 251f016

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

vpx_ports/x86_abi_support.asm

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,10 @@ section .text
395395
%endmacro
396396
%elifidn __OUTPUT_FORMAT__,aout
397397
%define SECTION_RODATA section .data
398+
%elifidn __OUTPUT_FORMAT__,win32
399+
%define SECTION_RODATA section .rdata
400+
%elif LIBVPX_YASM_WIN64
401+
%define SECTION_RODATA section .rdata
398402
%else
399403
%define SECTION_RODATA section .rodata
400404
%endif

0 commit comments

Comments
 (0)