* archive.cc (Lib_group::add_symbols): Lock object before deleting its

symbols data.
	(Lib_group::include_member): Unlock object after deleting its
	symbols data.
	* testsuite/start_lib_test_3.c: Remove all global symbols to trigger
	the bug fixed here.
This commit is contained in:
Cary Coutant
2010-08-23 20:28:24 +00:00
parent 96f73ba54f
commit 9919d93bc7
3 changed files with 20 additions and 9 deletions

View File

@@ -22,9 +22,4 @@
This is a test of the --start-lib and --end-lib options. */
extern void t3 (void);
void
t3 (void)
{
}
static char t3[] = "t3";