* config/obj-coffbfd.c (fill_section): Correct test for whether to
authorIan Lance Taylor <ian@airs.com>
Fri, 25 Feb 1994 21:16:56 +0000 (21:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 25 Feb 1994 21:16:56 +0000 (21:16 +0000)
fill a section (from Minh Tran-Le <TRANLE@intellicorp.com>).

gas/ChangeLog
gas/config/obj-coffbfd.c

index c6d4e2880f1629f3dcd703269146f9776a7bb3da..3ac5ef3389fa89d22cf27d1bbb99971cfb235b95 100644 (file)
@@ -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
index c659feba94e784756c6aacb47ffcad10632f94ab..0e6258794dae12f1db3cca48b6bd7d939516f343 100644 (file)
@@ -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,