aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-03 05:41:09 +0000
committerAlan Modra <amodra@gmail.com>2000-05-03 05:41:09 +0000
commitab5ec407a6dad56dda2f866343e65df3eaeb019d (patch)
tree1d3cf46a5fa0a9773cbdf73f6f146f6ef1a453b8 /gas
parentecb5fb3025e5577f9a1b2415c3f0ea7784903fd8 (diff)
downloadgdb-ab5ec407a6dad56dda2f866343e65df3eaeb019d.zip
gdb-ab5ec407a6dad56dda2f866343e65df3eaeb019d.tar.gz
gdb-ab5ec407a6dad56dda2f866343e65df3eaeb019d.tar.bz2
go32 bss alignment
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f27d984..46aab83 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-03 Mark Elbrecht <snowball3@bigfoot.com>
+
+ * gas/config/tc-i386.h (SUB_SEGMENT_ALIGN): If TE_GO32, return 4
+ for the .bss section too.
+
2000-04-29 Andreas Jaeger <aj@suse.de>
* as.h: Correctly check GCC version.
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 1d830ee..2bf9a7f 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -120,6 +120,7 @@ extern int tc_coff_sizemachdep PARAMS ((fragS *frag));
#define SUB_SEGMENT_ALIGN(SEG) \
((strcmp (obj_segment_name (SEG), ".text") == 0 \
|| strcmp (obj_segment_name (SEG), ".data") == 0 \
+ || strcmp (obj_segment_name (SEG), ".bss") == 0 \
|| strncmp (obj_segment_name (SEG), ".gnu.linkonce.t", 15) == 0 \
|| strncmp (obj_segment_name (SEG), ".gnu.linkonce.d", 15) == 0 \
|| strncmp (obj_segment_name (SEG), ".gnu.linkonce.r", 15) == 0) \