diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/reloc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/reloc.h b/arch/arm/reloc.h index 4b00bf64..2c2e7f58 100644 --- a/arch/arm/reloc.h +++ b/arch/arm/reloc.h @@ -26,7 +26,9 @@ #define REL_DTPMOD R_ARM_TLS_DTPMOD32 #define REL_DTPOFF R_ARM_TLS_DTPOFF32 #define REL_TPOFF R_ARM_TLS_TPOFF32 -//#define REL_TLSDESC R_ARM_TLS_DESC +#define REL_TLSDESC R_ARM_TLS_DESC + +#define TLSDESC_BACKWARDS #define CRTJMP(pc,sp) __asm__ __volatile__( \ "mov sp,%1 ; bx %0" : : "r"(pc), "r"(sp) : "memory" ) |