projects
/
platform
/
upstream
/
libffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6eb59c
)
Fix build on OpenBSD/mips64 (#638)
author
vhankala
<81743325+vhankala@users.noreply.github.com>
Thu, 10 Jun 2021 18:41:02 +0000
(18:41 +0000)
committer
GitHub
<noreply@github.com>
Thu, 10 Jun 2021 18:41:02 +0000
(14:41 -0400)
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
patch
|
blob
|
history
diff --git
a/src/mips/n32.S
b/src/mips/n32.S
index 1a940b6d2a8921b4d5f530cbabfc7716622e023a..23b77fdfde5071c7ed4e0eefc83d35c04b8b0e9c 100644
(file)
--- a/
src/mips/n32.S
+++ b/
src/mips/n32.S
@@
-582,7
+582,7
@@
cls_epilogue:
.end ffi_closure_N32
#ifdef __GNUC__
- .section .eh_frame,
"aw"
,@progbits
+ .section .eh_frame,
EH_FRAME_FLAGS
,@progbits
.Lframe1:
.4byte .LECIE1-.LSCIE1 # length
.LSCIE1: