relocation types are very much architecture dependent, thats why they are handled in each architecture/target. Its ok to move this to the TargetHandler, and the code would be more clear. http://reviews.llvm.org/D7605 EMAIL PREFERENCES http://reviews.llvm.org/settings/panel/emailpreferences/