aboutsummaryrefslogtreecommitdiff
path: root/lib/substitute-internal.h
diff options
context:
space:
mode:
authorcomex2015-02-24 20:57:12 -0500
committercomex2015-02-24 20:57:12 -0500
commit11d6f5764e35bdddae7a4aaf23fd859eecb48c8f (patch)
tree59d1be8a346c15c2e1287d31ce04eabd58eb3104 /lib/substitute-internal.h
parentfix armv7 syscall registers :o (diff)
downloadsubstitute-11d6f5764e35bdddae7a4aaf23fd859eecb48c8f.tar.gz
Add unaligned read/write functions.
I thought I could get away without since I wasn't (presently) targeting systems without hardware support for unaligned accesses, but on armv7 clang insists on optimizing into the one ARM instruction that requires alignment anyway - LDM/STM. Oops. Damnit, clang.
Diffstat (limited to '')
-rw-r--r--lib/substitute-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/substitute-internal.h b/lib/substitute-internal.h
index 9a91516..8f900a4 100644
--- a/lib/substitute-internal.h
+++ b/lib/substitute-internal.h
@@ -100,3 +100,4 @@ int substitute_dlopen_in_pid(int pid, const char *filename, int options,
int substitute_ios_unrestrict(task_t task, char **error);
#endif
+