This repository was archived by the owner on Aug 31, 2021. It is now read-only.
Commit 41cd45f
Patch the libffi source to fix an obsolete opcode
The libffi source uses the 'stmeqia' opcode. This is a compound opcode for
the 'stm' (store multiple) instruction with two suffixes: 'eq' to indicate
that it should only execute if the previous comparison result was equality
and 'ia' to indicate the memory layout of the buffer.
The canonical ordering of this suffixes is 'ia' then 'eq' (giving a final
opcode of 'stmiaeq'). Libffi uses the other ordering, which GAS accepts but
Clang's internal assembler does not.
This change simply canonicalises the ordering of the suffixes allowing the
code to compile with either tool.1 parent fe2f67c commit 41cd45f
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
398 | 398 | | |
399 | 399 | | |
400 | 400 | | |
401 | | - | |
| 401 | + | |
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| |||
0 commit comments