diff options
author | Per Bothner <per@bothner.com> | 1993-06-01 22:44:42 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1993-06-01 22:44:42 +0000 |
commit | 1cf91c69b09ffb537aa36c3fc663459058db08b8 (patch) | |
tree | f5d22a30b52b0e1ccdd26eba02a09ff165320a99 /ld | |
parent | 3ef08dc3e319cbe79ccf92712b52091dec73f33c (diff) | |
download | gdb-1cf91c69b09ffb537aa36c3fc663459058db08b8.zip gdb-1cf91c69b09ffb537aa36c3fc663459058db08b8.tar.gz gdb-1cf91c69b09ffb537aa36c3fc663459058db08b8.tar.bz2 |
* ldsym.c (write_file_locals): Write BSF_CONSTRUCTOR
symbols, unless stripping.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/ldsym.c | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 37e3c0f..2a98c62 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 @@ -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 { |