x86inc: don't use read-only data sections on COFF targets
authorJames Almer <jamrial@gmail.com>
Mon, 26 Jun 2017 03:29:16 +0000 (00:29 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 27 Jun 2017 15:48:04 +0000 (12:48 -0300)
commit4d62ee674699645c7b7105213e7d339665144069
tree68a5cde0f3b3844b4d1770495a1038d15322f53c
parentfeab761b73c37311a23a6cbbcee1ddf56439d5a4
x86inc: don't use read-only data sections on COFF targets

Yasm:
src/libavfilter/x86/af_volume.asm:24: warning: Standard COFF does not support read-only data sections
src/libavfilter/x86/af_volume.asm:24: warning: Unrecognized qualifier `align'

Nasm:
src/libavfilter/x86/af_volume.asm:24: error: standard COFF does not support section alignment specification
src/libavutil/x86/x86inc.asm:92: ... from macro `SECTION_RODATA' defined here

Tested-by: Clément Bœsch <u@pkh.me>
Signed-off-by: James Almer <jamrial@gmail.com>
libavutil/x86/x86inc.asm