about summary refs log tree commit diff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2023-11-06 21:48:02 -0500
committerRich Felker <dalias@aerifal.cx>2023-11-06 21:48:02 -0500
commit039d3c34f2e3578a8b7ada42f89213b844aa7a4e (patch)
treeca5f6460bc374a8fc27c70d6f8ea473e7d741da2 /arch
parent7b6a6516e133a4154022de4d15b3d5bc800ab3ad (diff)
downloadmusl-039d3c34f2e3578a8b7ada42f89213b844aa7a4e.tar.gz
musl-039d3c34f2e3578a8b7ada42f89213b844aa7a4e.tar.xz
musl-039d3c34f2e3578a8b7ada42f89213b844aa7a4e.zip
ldso: convert TLSDESC_BACKWARDS from "#ifdef" to "if" logic
this style is preferred because it allows the code to be
compile-checked even on archs where it is not used.
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/reloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/reloc.h b/arch/arm/reloc.h
index d091d2ad..d98eb8af 100644
--- a/arch/arm/reloc.h
+++ b/arch/arm/reloc.h
@@ -26,7 +26,7 @@
 #define REL_TPOFF       R_ARM_TLS_TPOFF32
 #define REL_TLSDESC     R_ARM_TLS_DESC
 
-#define TLSDESC_BACKWARDS
+#define TLSDESC_BACKWARDS 1
 
 #define CRTJMP(pc,sp) __asm__ __volatile__( \
 	"mov sp,%1 ; bx %0" : : "r"(pc), "r"(sp) : "memory" )