|
Message-Id: <2b5c4618.dNq.dMV.1X.caN6xB@mailjet.com> Date: Thu, 6 Nov 2014 23:38:45 +0100 From: Joakim Sindholt <opensource@...sha.com> To: musl@...ts.openwall.com Cc: Joakim Sindholt <opensource@...sha.com> Subject: [PATCH] Clang compatibility for ARM Clang -integrated-as intentionally disallows the current instruction used in longjmp/setjmp because it overlaps with something else. This usage is intentional musl-side and avoid assembler errors where one is compiling for a target that doesn't support the given instruction. By using a manual .word instead it works with both clang and gas. Furthermore, memcpy uses the wrong ordering in the sub elements of many instructions. Clang does not like this and it has no impact on gas. Joakim Sindholt (1): arm assembly changes for clang compatibility src/setjmp/arm/longjmp.s | 2 +- src/setjmp/arm/setjmp.s | 2 +- src/string/armel/memcpy.s | 60 +++++++++++++++++++++++------------------------ 3 files changed, 32 insertions(+), 32 deletions(-) -- 2.0.4
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.