aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-02-25 21:16:56 +0000
committerIan Lance Taylor <ian@airs.com>1994-02-25 21:16:56 +0000
commit3919ffeb06afa58b22d9280b4a64bd685731433c (patch)
tree462ff30b49d54889a59ca218f942dc897f297387 /gas
parent5e808126677845ec035cc169e41c909be3ec90f4 (diff)
downloadgdb-3919ffeb06afa58b22d9280b4a64bd685731433c.zip
gdb-3919ffeb06afa58b22d9280b4a64bd685731433c.tar.gz
gdb-3919ffeb06afa58b22d9280b4a64bd685731433c.tar.bz2
* config/obj-coffbfd.c (fill_section): Correct test for whether to
fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/obj-coffbfd.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index c6d4e28..3ac5ef3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,12 @@
+Fri Feb 25 13:15:31 1994 Ian Lance Taylor (ian@cygnus.com)
+
+ * config/obj-coffbfd.c (fill_section): Correct test for whether to
+ fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).
+
Thu Feb 24 11:30:26 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
+ * configure.in: Don't require version number for i386-*-mach.
+
* read.c (potable): Added ".this_GCC_requires_the_GNU_assembler",
which is ignored by gas, but will cause other assemblers to choke.
Intended for use by gcc ports that require gas instead of native
diff --git a/gas/config/obj-coffbfd.c b/gas/config/obj-coffbfd.c
index c659feb..0e62587 100644
--- a/gas/config/obj-coffbfd.c
+++ b/gas/config/obj-coffbfd.c
@@ -563,7 +563,7 @@ DEFUN (fill_section, (abfd, h, file_cursor),
unsigned int off = frag->fr_fix;
for (count = frag->fr_offset; count; count--)
{
- if (fill_size + frag->fr_address + off < s->s_size)
+ if (fill_size + frag->fr_address + off <= s->s_size)
{
memcpy (buffer + frag->fr_address + off,
frag->fr_literal + frag->fr_fix,