Skip to content

Commit

Permalink
[FIX] fixed offset for linux objs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cr0a3 committed Sep 14, 2024
1 parent e337ef3 commit 41dc821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Obj/wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ impl ObjectBuilder {
Decl::Function => 0,
_ => -1,
};
offset = -4;
offset = -3;
}

obj.add_relocation(secText, Relocation {
Expand Down

0 comments on commit 41dc821

Please sign in to comment.