From: Richard Henderson Date: Wed, 14 Jul 1999 16:45:13 +0000 (+0000) Subject: * ldlang.c (wild_doit): Copy SEC_SHORT to output section. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e41f973176c33cc938e512cacdb1b2ca9afe7f6;p=binutils-gdb.git * ldlang.c (wild_doit): Copy SEC_SHORT to output section. --- diff --git a/ld/ldlang.c b/ld/ldlang.c index 8e7ae9d4d08..0c0cf3d5a5d 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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;