aboutsummaryrefslogtreecommitdiff
path: root/bfd/coffcode.h
diff options
context:
space:
mode:
authorKim Knuttila <krk@cygnus>1995-12-12 23:47:05 +0000
committerKim Knuttila <krk@cygnus>1995-12-12 23:47:05 +0000
commitcaa740beb84d3e73cf48991baa02b0fd0c04811b (patch)
treead78810da3b8ad74f82fcb25b57b9051db8fae08 /bfd/coffcode.h
parentaaa877b7ac6d27e4ce22a22e55feca89d6dd436b (diff)
downloadgdb-caa740beb84d3e73cf48991baa02b0fd0c04811b.zip
gdb-caa740beb84d3e73cf48991baa02b0fd0c04811b.tar.gz
gdb-caa740beb84d3e73cf48991baa02b0fd0c04811b.tar.bz2
Fixes for .reloc
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 e0c4f17..b7eeea4 100644
--- a/bfd/coffcode.h
+++ b/bfd/coffcode.h
@@ -981,6 +981,10 @@ coff_set_alignment_hook (abfd, section, scnhdr)
{
section->alignment_power = 1;
}
+ else if (strcmp (section->name, ".reloc") == 0)
+ {
+ section->alignment_power = 1;
+ }
#endif
}
#undef ALIGN_SET