Skip to content

Commit

Permalink
fixup! options/rtdl: handle architecture-generic static relocations
Browse files Browse the repository at this point in the history
  • Loading branch information
no92 committed Aug 29, 2023
1 parent 7fbb551 commit b6ea5c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options/rtdl/generic/linker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ void Loader::_processRelocations(Relocation &rel) {
if constexpr (tlsAboveTp) {
off += tls_offset - sizeof(Tcb);
} else {
off -= tls_offset;
off += tls_offset;
}

rel.relocate(off);
Expand Down

0 comments on commit b6ea5c8

Please sign in to comment.