summaryrefslogtreecommitdiff
path: root/src/temp/mkostemp.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-11-23 14:12:14 -0500
committerRich Felker <dalias@aerifal.cx>2014-11-23 14:12:14 -0500
commit9367fe926196f407705bb07cd29c6e40eb1774dd (patch)
tree67fde01cfd46a13297304de2976928e84802605b /src/temp/mkostemp.c
parent27828f7e9adb6b4f93ca56f6f98ef4c44bb5ed4e (diff)
downloadmusl-9367fe926196f407705bb07cd29c6e40eb1774dd.tar.gz
fix build regression in arm asm for memcpy
commit 27828f7e9adb6b4f93ca56f6f98ef4c44bb5ed4e fixed compatibility with clang's internal assembler, but broke compatibility with gas and the traditional arm asm syntax by switching to the arm "unified assembler language" (UAL). recent versions of gas also support UAL, but require the .syntax directive to be used to switch to it. clang on the other hand defaults to UAL. and old versions of gas (still relevant) don't support UAL at all. for the conditional ldm/stm instructions, "ia" is default and can just be omitted, resulting in a mnemonic that's compatible with both traditional and UAL syntax. but for byte/halfword loads and stores, there seems to be no mnemonic compatible with both, and thus .word is used to produce the desired opcode explicitly. the .inst directive is not used because it is not compatible with older assemblers.
Diffstat (limited to 'src/temp/mkostemp.c')
0 files changed, 0 insertions, 0 deletions