This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: orphan-handling.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]