mirror of https://github.com/FFmpeg/FFmpeg.git
As .rodata isn't one of the default created sections for COFF, it was created as a read-write data section. By using the default .rdata section name for COFF, it automatically becomes a read-only data section. The existing ".section .rodata" works as intended for ELF though. This is based on an original patch and diagnose by Tom Tan <Tom.Tan@microsoft.com>. Signed-off-by: Martin Storsjö <martin@martin.st>pull/325/head
parent
ca44fa5d7f
commit
41cf3e3b1c
2 changed files with 4 additions and 0 deletions
Loading…
Reference in new issue