From 50ebf8088aa86519f31bdbababb11ff70d8b5c9d Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sun, 17 Dec 2006 13:19:37 -0800 Subject: [PATCH] R_ARM_ABS8 --- src/linker.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/linker.cpp b/src/linker.cpp index 2755aa73..83820c6e 100644 --- a/src/linker.cpp +++ b/src/linker.cpp @@ -661,6 +661,9 @@ void ElfLinkerArmBE::relocate1(const Relocation *rel, upx_byte *location, //(b, 0xF000 + ((v - 1) / 2) * 0x10000); //set_be32(location, get_be32(location) + value / 4); } + else if (0==strcmp("R_ARM_ABS8", type)) { + *location += value; + } else super::relocate1(rel, location, value, type); } @@ -690,6 +693,9 @@ void ElfLinkerArmLE::relocate1(const Relocation *rel, upx_byte *location, //(b, 0xF000 + ((v - 1) / 2) * 0x10000); //set_le32(location, get_le32(location) + value / 4); } + else if (0==strcmp("R_ARM_ABS8", type)) { + *location += value; + } else super::relocate1(rel, location, value, type); }