mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-13 10:55:46 +08:00
(_place_orphan): Use an already existing section name if that section does not
have any flags set.
This commit is contained in:
@ -612,6 +612,7 @@ lang_output_section_find_1 (const char *const name, int constraint)
|
||||
for (u = lang_output_section_statement.head; u != NULL; u = lookup->next)
|
||||
{
|
||||
lookup = &u->output_section_statement;
|
||||
|
||||
if (strcmp (name, lookup->name) == 0
|
||||
&& lookup->constraint != -1
|
||||
&& (constraint == 0 || constraint == lookup->constraint))
|
||||
|
Reference in New Issue
Block a user