mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
symbols, unless stripping.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user