mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
* archive.c (coff_write_armap): Don't write more than symbol_count
`archive_member_file_ptr's.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2000-12-25 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* archive.c (coff_write_armap): Don't write more than symbol_count
|
||||||
|
`archive_member_file_ptr's.
|
||||||
|
|
||||||
2000-12-25 Kazu Hirata <kazu@hxi.com>
|
2000-12-25 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
* vms-tir.c: Fix formatting.
|
* vms-tir.c: Fix formatting.
|
||||||
|
@ -2198,7 +2198,7 @@ coff_write_armap (arch, elength, map, symbol_count, stridx)
|
|||||||
/* For each symbol which is used defined in this object, write
|
/* For each symbol which is used defined in this object, write
|
||||||
out the object file's address in the archive. */
|
out the object file's address in the archive. */
|
||||||
|
|
||||||
while (((bfd *) (map[count]).pos) == current)
|
while (count < symbol_count && ((bfd *) (map[count]).pos) == current)
|
||||||
{
|
{
|
||||||
bfd_write_bigendian_4byte_int (arch, archive_member_file_ptr);
|
bfd_write_bigendian_4byte_int (arch, archive_member_file_ptr);
|
||||||
count++;
|
count++;
|
||||||
|
Reference in New Issue
Block a user