www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12726] New: replace section brackets with linker script


          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

May 09 2014