digitalmars.D.bugs - [Issue 12726] New: replace section brackets with linker script
- via Digitalmars-d-bugs (20/20) May 09 2014 https://issues.dlang.org/show_bug.cgi?id=12726
https://issues.dlang.org/show_bug.cgi?id=12726 Issue ID: 12726 Summary: replace section brackets with linker script Product: D Version: unspecified Hardware: Other OS: Linux Status: NEW Severity: enhancement Priority: P1 Component: DMD Assignee: nobody puremagic.com Reporter: code dawg.eu 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 --
May 09 2014