Skip to content

Commit

Permalink
Explicitly align to 4k (#9041)
Browse files Browse the repository at this point in the history
This is just for parity with what `clang` uses, it will align the
`libxamarin-app.so` library to a more natural boundary of 4k bytes
(size of a memory page on Android)
  • Loading branch information
grendello authored Jun 19, 2024
1 parent bd95226 commit e174305
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ IEnumerable<Config> GetLinkerConfigs ()
"-soname libxamarin-app.so " +
"-z relro " +
"-z noexecstack " +
"-z max-page-size=4096 " +
"--enable-new-dtags " +
"--build-id " +
"--warn-shared-textrel " +
Expand Down

0 comments on commit e174305

Please sign in to comment.