[gold commit] PR 20749: Add --orphan-handling option

Cary Coutant ccoutant@gmail.com
Tue Dec 13 21:04:00 GMT 2016


This patch implements ld's --orphan-handling option.

-cary


2016-12-13  Cary Coutant  <ccoutant@gmail.com>

gold/
        PR gold/20749
        * options.h (--orphan-handling): New option.
        (General_options::Orphan_handling): New enum.
        (General_options::orphan_handling_enum): New method.
        (General_options::set_orphan_handling_enum): New method.
        (General_options::orphan_handling_enum_): New data member.
        * options.cc (General_options::General_options): Initialize new member.
        (General_options::finalize): Convert --orphan-handling argument to enum.
        * script-sections.cc (Script_sections::output_section_name): Check it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: orphan-handling.patch
Type: application/octet-stream
Size: 5182 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20161213/bd4866fb/attachment.obj>


More information about the Binutils mailing list