diff options
author | Cary Coutant <ccoutant@gmail.com> | 2016-12-13 13:01:13 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-12-13 13:01:26 -0800 |
commit | 591be3e4a841ac56bb3ee094447b708d58a6d4b8 (patch) | |
tree | 9ef4c58b0530d20a799cb095554656a2cad35c6a /gold/ChangeLog | |
parent | 03fb64f837bd8466ba6e7b7cb8880f5c6c87daab (diff) | |
download | gdb-591be3e4a841ac56bb3ee094447b708d58a6d4b8.zip gdb-591be3e4a841ac56bb3ee094447b708d58a6d4b8.tar.gz gdb-591be3e4a841ac56bb3ee094447b708d58a6d4b8.tar.bz2 |
Add --orphan-handling option.
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index ac5fce8..b40f7b8 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,5 +1,17 @@ 2016-12-13 Cary Coutant <ccoutant@gmail.com> + 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. + +2016-12-13 Cary Coutant <ccoutant@gmail.com> + PR gold/20522 * layout.cc (Layout::choose_output_section): Add is_reloc parameter. Adjust all callers. Do not use linker script for is_reloc sections. |