Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Thu,  6 Nov 2014 23:38:45 +0100
From: Joakim Sindholt <>
Cc: Joakim Sindholt <>
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(-)


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.