diff options
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/coffcode.h | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b1310b8..1148a0e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Fri Jun 7 12:35:46 1991 Sean Fagan (sef at cygint.cygnus.com) + + * coffcode.h (coff_swap_aux_in): added else case to deal with + filenames less than 9 characters. + Thu Jun 6 18:27:38 1991 Steve Chamberlain (steve at cygint.cygnus.com) * ../include/oasys.h oasys.c (oasys_archive_p): fixed so it works diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 8e6627b..63630c3 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -205,6 +205,9 @@ DEFUN(coff_swap_aux_in,(abfd, ext, type, class, in), if (ext->x_file.x_fname[0] == 0) { in->x_file.x_n.x_zeroes = 0; in->x_file.x_n.x_offset = bfd_h_get_32(abfd, ext->x_file.x_n.x_offset); + } else { + memcpy (in->x_file.x_fname, ext->x_file.x_fname, + sizeof (in->x_file.x_fname)); } break; |