Skip to content

Commit

Permalink
Mach-O: Fix exporting functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeakohn committed Feb 10, 2024
1 parent 3c1d80c commit 3d6e3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fileio/write_macho.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ int write_macho(
}

int ltmp0_offset = sym_offset;
file.write_string("lemp0");
file.write_string("ltmp0");

file.write_int8(0);
file.align(4);
Expand Down Expand Up @@ -268,7 +268,7 @@ int write_macho(
if (iter.flag_export == false) { continue; }

file.write_int32(sym_offset);
file.write_int8(0x0e);
file.write_int8(0x0f);
file.write_int8(1);
file.write_int16(0);

Expand Down

0 comments on commit 3d6e3ec

Please sign in to comment.