* ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR

symbols, unless stripping.
This commit is contained in:
Per Bothner 1993-06-01 22:44:42 +00:00
parent 3ef08dc3e3
commit 1cf91c69b0
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Tue Jun 1 14:56:10 1993 Per Bothner (bothner@rtl.cygnus.com)
* ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
symbols, unless stripping.
Tue May 25 15:34:25 1993 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: configure looks for ####, so remove lines with many

View File

@ -528,9 +528,12 @@ write_file_locals (output_buffer)
*output_buffer++ = p;
}
}
else if (p->flags & BSF_CTOR)
else if (p->flags & BSF_CONSTRUCTOR)
{
/* Throw it away */
if (strip_symbols != STRIP_ALL)
{
*output_buffer++ = p;
}
}
else
{