- mov rbx, [_dt_debug] ; rbx points to r_debug
- mov rbx, [rbx + 8] ; rbx points to link_map
- mov rbx, [rbx + 24] ; skip the first two link_map entries
- mov rbx, [rbx + 24]
+ mov r14, [rel _dt_debug] ; r14 points to r_debug
+ mov r14, [r14 + 8] ; r14 points to link_map
+ mov r14, [r14 + 24] ; skip the first two link_map entries
+ mov r14, [r14 + 24]