Comment 2 for bug 1130776

Revision history for this message
David Long (dave-long) wrote :

By experimentation I found that only R_ARM_THM_CALL, R_ARM_THM_JUMP24, and R_ARM_THM_JUMP19 appear to need handling to fix this. These relocation types all have the same addend formula as the currently supported ARM relocation types. Just accepting the above types in the relevant code makes my test case detect a section mismatch in a thumb kernel build. The proposed patch is attached.