D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 12726 - replace section brackets with linker script
Summary: replace section brackets with linker script
Status: NEW
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Linux
: P4 enhancement
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 00:47 UTC by Martin Nowak
Modified: 2024-12-13 18:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2014-05-10 00:47:46 UTC
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
Comment 1 Martin Nowak 2015-02-18 22:47:40 UTC
Maybe we can use the implicit linker section support of the linker.

http://www.airs.com/blog/archives/56
Comment 2 dlangBugzillaToGithub 2024-12-13 18:20:33 UTC
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/17658

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB