diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S index fd32bf784e..5c329430fd 100644 --- a/libavutil/aarch64/asm.S +++ b/libavutil/aarch64/asm.S @@ -63,6 +63,8 @@ ELF .size \name, . - \name .else .section .rodata .endif +#elif defined(_WIN32) + .section .rdata #elif !defined(__MACH__) .section .rodata #else diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S index 5fc85591dd..e3a8c7f065 100644 --- a/libavutil/arm/asm.S +++ b/libavutil/arm/asm.S @@ -125,6 +125,8 @@ ELF .size \name, . - \name .else .section .rodata .endif +#elif defined(_WIN32) + .section .rdata #elif !defined(__MACH__) .section .rodata #else