Use THUMB 'ret' when in THUMB mode.

https://github.com/upx/upx/issues/236
https://github.com/upx/upx/issues/229
	modified:   src/arm.v4t-linux.shlib-init.S

	modified:   arm.v5t-linux.shlib-init.h
	modified:   tmp/arm.v5t-linux.shlib-init.bin.dump
This commit is contained in:
John Reiser
2018-12-13 20:10:57 -08:00
parent 473b90419f
commit 75c31dff1d
3 changed files with 36 additions and 33 deletions
@@ -258,9 +258,9 @@ OFFSET TYPE VALUE
0000007c R_ARM_THM_CALL .real_start_ofELFMAINZ
0000009c R_ARM_THM_CALL .real_start_ofELFMAINZ
000000cc R_ARM_PC24 ELFMAINZ
000000ea R_ARM_THM_CALL .real_start_ofELFMAINZ
00000110 R_ARM_THM_CALL .real_start_ofELFMAINZ
00000128 R_ARM_THM_CALL .real_start_ofELFMAINZ
00000132 R_ARM_THM_CALL .real_start_ofELFMAINZ
0000013c R_ARM_THM_CALL .real_start_ofELFMAINZ
00000144 R_ARM_THM_CALL .real_start_ofELFMAINZ
000000ec R_ARM_THM_CALL .real_start_ofELFMAINZ
00000112 R_ARM_THM_CALL .real_start_ofELFMAINZ
0000012a R_ARM_THM_CALL .real_start_ofELFMAINZ
00000134 R_ARM_THM_CALL .real_start_ofELFMAINZ
0000013e R_ARM_THM_CALL .real_start_ofELFMAINZ
00000146 R_ARM_THM_CALL .real_start_ofELFMAINZ