mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-27 03:54:29 +00:00
* ldlang.c (wild_doit): Copy SEC_SHORT to output section.
This commit is contained in:
parent
2ac8ce5fe0
commit
9e41f97317
@ -1105,6 +1105,10 @@ wild_doit (ptr, section, output, file)
|
||||
break;
|
||||
}
|
||||
|
||||
/* Copy over SEC_SHORT. */
|
||||
if (section->flags & SEC_SHORT)
|
||||
section->output_section->flags |= SEC_SHORT;
|
||||
|
||||
if (section->alignment_power > output->bfd_section->alignment_power)
|
||||
output->bfd_section->alignment_power = section->alignment_power;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user