aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-stgo32.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-09 02:56:16 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-09 02:56:16 +0000
commit5dccc1ddaa1d8e543c1113a83df73c6d7e6973ec (patch)
tree67c302c3ec020fbc5b6a6ac27cc7f420848618da /bfd/coff-stgo32.c
parentdc8bc5a62ae63232cc0e42871b398ed8e80c9f05 (diff)
downloadgdb-5dccc1ddaa1d8e543c1113a83df73c6d7e6973ec.zip
gdb-5dccc1ddaa1d8e543c1113a83df73c6d7e6973ec.tar.gz
gdb-5dccc1ddaa1d8e543c1113a83df73c6d7e6973ec.tar.bz2
1999-08-08 Mark Elbrecht <snowball3@bigfoot.com>
* libcoff-in.h (struct coff_section_alignment_entry): Define. * coffcode.h (coff_set_custom_section_alignment): New static function. (coff_section_alignment_table): New static array. (coff_new_section_hook): Use coff_set_customer_section_alignment. * coff-go32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. * coff-stgo32.c (COFF_SECTION_ALIGNMENT_ENTRIES): Define. * libcoff.h: Rebuild.
Diffstat (limited to 'bfd/coff-stgo32.c')
-rw-r--r--bfd/coff-stgo32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/coff-stgo32.c b/bfd/coff-stgo32.c
index 9115e3c..26dba40 100644
--- a/bfd/coff-stgo32.c
+++ b/bfd/coff-stgo32.c
@@ -42,6 +42,12 @@
#define COFF_LONG_SECTION_NAMES
#define COFF_SUPPORT_GNU_LINKONCE
+#define COFF_SECTION_ALIGNMENT_ENTRIES \
+{ COFF_SECTION_NAME_EXACT_MATCH (".data"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }, \
+{ COFF_SECTION_NAME_EXACT_MATCH (".text"), \
+ COFF_ALIGNMENT_FIELD_EMPTY, COFF_ALIGNMENT_FIELD_EMPTY, 4 }
+
#include "bfd.h"
/* At first the prototypes */