summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2013-06-11 16:32:25 +0100
committerWill Newton <will.newton@linaro.org>2013-06-11 16:32:25 +0100
commite2c02767111130a2dde6359e3709b7e318e9d88a (patch)
tree67b0ad525131e89e7e6ac84bb7a938aa83d70ed3
parent070b691bda29c91e8bb8dc60a68cc6cb0195c6c8 (diff)
ports/sysdeps/arm/sysdep.h: Correct PC_OFS definition.
-rw-r--r--libc/ports/sysdeps/arm/sysdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/ports/sysdeps/arm/sysdep.h b/libc/ports/sysdeps/arm/sysdep.h
index 1df1a2aa9..f42c89822 100644
--- a/libc/ports/sysdeps/arm/sysdep.h
+++ b/libc/ports/sysdeps/arm/sysdep.h
@@ -118,7 +118,7 @@
#endif /* __ASSEMBLER__ */
/* This number is the offset from the pc at the current location. */
-#ifdef __thumb__
+#if defined(__thumb__) && !defined(__ASSEMBLER__)
# define PC_OFS 4
#else
# define PC_OFS 8