Fix problem where orphan section is treated as a KEEP section.
gold/ PR gold/20717 * script-sections.cc (Script_sections): Set *keep to false when no match.
This commit is contained in:
parent
be2884c1ea
commit
397b8d2a9f
@ -1,3 +1,9 @@
|
||||
2016-12-01 Cary Coutant <ccoutant@gmail.com>
|
||||
|
||||
PR gold/20717
|
||||
* script-sections.cc (Script_sections): Set *keep to false when
|
||||
no match.
|
||||
|
||||
2016-12-01 Cary Coutant <ccoutant@gmail.com>
|
||||
|
||||
PR gold/20834
|
||||
|
@ -3538,6 +3538,7 @@ Script_sections::output_section_name(
|
||||
|
||||
*output_section_slot = NULL;
|
||||
*psection_type = Script_sections::ST_NONE;
|
||||
*keep = false;
|
||||
|
||||
return section_name;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user