aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r--bfd/coffcode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h
index 1eb9ba8..069acda 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -985,6 +985,10 @@ coff_set_alignment_hook (abfd, section, scnhdr)
{
section->alignment_power = 1;
}
+ else if (strncmp (section->name, ".stab", 5) == 0)
+ {
+ section->alignment_power = 2;
+ }
#endif
}
#undef ALIGN_SET