Fix build on OpenBSD/mips64 (#638)
authorvhankala <81743325+vhankala@users.noreply.github.com>
Thu, 10 Jun 2021 18:41:02 +0000 (18:41 +0000)
committerGitHub <noreply@github.com>
Thu, 10 Jun 2021 18:41:02 +0000 (14:41 -0400)
commitff059dd96af6ba4daf7bc9ddf22d1d2dbf6a177b
treeaf788b3f077b5f6b222d0924cf899e8d90e972fd
parente6eb59cde6580607544160f8e7dedc326b4799fd
Fix build on OpenBSD/mips64 (#638)

The build fails on OpenBSD/mips64 because clang 11's integrated
assembler expects read-only .eh_frame:

../src/mips/n32.S:585:9: error: changed section flags for .eh_frame, expected: 0x2
        .section .eh_frame,"aw",@progbits
        ^

Use EH_FRAME_FLAGS to get matching flags for the section.
src/mips/n32.S