Interpreting readelf -r, in this case R_X86_64_PC32
Having just put the monster Relocations, Relocations blog-post to bed, at one point I caught myself trying to compute a relocation from the information given by readelf -r
. It turns out that it’s a bit confusing, and not at all clear how you get…