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

replace section brackets with linker script #17658

Open
dlangBugzillaToGithub opened this issue May 10, 2014 · 1 comment
Open

replace section brackets with linker script #17658

dlangBugzillaToGithub opened this issue May 10, 2014 · 1 comment

Comments

@dlangBugzillaToGithub
Copy link

Martin Nowak (@MartinNowak) reported this on 2014-05-10T00:47:46Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=12726

Description

Currently we're relying on the order of unknown output section to frame certain sections (minfo, deh) with runtime accessibly brackets. A cleaner solution would be to use PROVIDE_HIDDEN(_mingo_beg) in a linker script.
It's possible to extend the default linker scripts using -T and the INSERT command, see http://sourceware.org/binutils/docs/ld/Miscellaneous-Commands.html#Miscellaneous-Commands
@dlangBugzillaToGithub
Copy link
Author

code (@MartinNowak) commented on 2015-02-18T22:47:40Z

Maybe we can use the implicit linker section support of the linker.

http://www.airs.com/blog/archives/56

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant