Bug 12726 – replace section brackets with linker script

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Linux
Creation time
2014-05-10T00:47:46Z
Last change time
2024-12-13T18:20:33Z
Assigned to
No Owner
Creator
Martin Nowak
Moved to GitHub: dmd#17658 →

Comments

Comment #0 by code — 2014-05-10T00:47:46Z
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 by code — 2015-02-18T22:47:40Z
Maybe we can use the implicit linker section support of the linker. http://www.airs.com/blog/archives/56
Comment #2 by robert.schadek — 2024-12-13T18:20:33Z
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