projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ac8ce5
)
* ldlang.c (wild_doit): Copy SEC_SHORT to output section.
author
Richard Henderson
<rth@redhat.com>
Wed, 14 Jul 1999 16:45:13 +0000
(16:45 +0000)
committer
Richard Henderson
<rth@redhat.com>
Wed, 14 Jul 1999 16:45:13 +0000
(16:45 +0000)
ld/ldlang.c
patch
|
blob
|
history
diff --git
a/ld/ldlang.c
b/ld/ldlang.c
index 8e7ae9d4d08a3ec139b2f990f1658a2adeeeaa5e..0c0cf3d5a5deed99b00320ec6d2baf65f544ed5d 100644
(file)
--- 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;