Commit 286d7b4
gkoehler
Fix cc -ftrapping-math on macppc
Handle CALL_RM like CALL for 32-bit ELF. If a function call has the
strictfp attribute, its opcode changes from CALL to CALL_RM. If a
call uses the secure PLT, then it must getGlobalBaseReg() to set r30.
After I rebuilt xenocara/lib/pixman with this change, Xorg stopped
crashing on my macppc. pixman uses cc -ftrapping-math which puts
strictfp on each function call.
llvm/llvm-project#72758
ok jca@ tobhe@ deraadt@1 parent b2e43b2 commit 286d7b4
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5293 | 5293 | | |
5294 | 5294 | | |
5295 | 5295 | | |
5296 | | - | |
| 5296 | + | |
| 5297 | + | |
5297 | 5298 | | |
5298 | 5299 | | |
5299 | 5300 | | |
| |||
0 commit comments