diff options
Diffstat (limited to 'trunk/src/arch-arm.c')
-rw-r--r-- | trunk/src/arch-arm.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/trunk/src/arch-arm.c b/trunk/src/arch-arm.c index 47fde9b..ba53929 100644 --- a/trunk/src/arch-arm.c +++ b/trunk/src/arch-arm.c @@ -28,6 +28,12 @@ #include "prelink.h" +#ifndef R_ARM_TLS_DTPMOD32 +#define R_ARM_TLS_DTPMOD32 17 /* ID of module containing symbol */ +#define R_ARM_TLS_DTPOFF32 18 /* Offset in TLS block */ +#define R_ARM_TLS_TPOFF32 19 /* Offset in static TLS block */ +#endif + static int arm_adjust_dyn (DSO *dso, int n, GElf_Dyn *dyn, GElf_Addr start, GElf_Addr adjust) @@ -823,7 +829,7 @@ arm_reloc_class (int reloc_type) } } -PL_ARCH = { +PL_ARCH(arm) = { .name = "ARM", .class = ELFCLASS32, .machine = EM_ARM, @@ -833,6 +839,7 @@ PL_ARCH = { .R_RELATIVE = R_ARM_RELATIVE, .rtype_class_valid = RTYPE_CLASS_VALID, .dynamic_linker = "/lib/ld-linux.so.2", + .dynamic_linker_alt = "/lib/ld-linux.so.3", .adjust_dyn = arm_adjust_dyn, .adjust_rel = arm_adjust_rel, .adjust_rela = arm_adjust_rela, |