Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Bob Miller
Sat, 24 Feb 1990 00:43
bug in binutils ld (and fix!)
Author: Bob Miller
Date: Sat, 24 Feb 1990 00:43
Date: Sat, 24 Feb 1990 00:43
34 lines
1462 bytes
1462 bytes
When ld scans an archive that has no __.SYMDEFS, it loses track of
all members other than the last. Then it prints this fascinating message.
internal error: wrong number of symbols written into output file
The problem is in process_subentry. It isn't putting archive members
onto the subentry chain right, so they aren't found on subsequent
passes. Here's a fix.
I'm using ld.c from the binutils product. The date on ld.c is October
17, 1989.
***************
*** 2277,2283 ****
prev->chain = subentry;
else
entry->subfiles = subentry;
! prev = subentry;
subentry->strings = 0; /* Since space will dissapear on return */
}
}
--- 2294,2300 ----
prev->chain = subentry;
else
entry->subfiles = subentry;
! *prev_addr = subentry;
subentry->strings = 0; /* Since space will dissapear on return */
}
}
K<bob>
"Computers are my forte." Bob Miller/bobm@convex.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads