diff options
-rw-r--r-- | libc/ports/sysdeps/arm/sysdep.h | 2 |
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 |