Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: support gnu symbol visibility when building DSO #80

Merged
merged 3 commits into from
Feb 7, 2025

Conversation

mochaaP
Copy link
Contributor

@mochaaP mochaaP commented Feb 5, 2025

fix #79

@athre0z
Copy link
Member

athre0z commented Feb 5, 2025

I suppose the idea is to allow the linker to dead-code-eliminate stuff from shared library builds of Zydis?

@mochaaP
Copy link
Contributor Author

mochaaP commented Feb 6, 2025

Currently we don't have private APIs to hide from the exported symbol list (but allows internal linkage), so this doesn't make any difference. But it should be a nice addition to make it also working on Linux platforms.

@mochaaP
Copy link
Contributor Author

mochaaP commented Feb 6, 2025

Hardly forgot I have to take MinGW into consideration here (it should also support the __declspec notations), do not merge yet

@mochaaP
Copy link
Contributor Author

mochaaP commented Feb 6, 2025

done, sorry if the emscripten commit introduced noise here

Copy link
Member

@athre0z athre0z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@athre0z athre0z merged commit cbb6e09 into zyantific:master Feb 7, 2025
48 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ZYCORE_IMPORT & ZYCORE_EXPORT with GNU symbol visibility
2 participants