From: Jeff Law Date: Sun, 20 Mar 1994 19:27:40 +0000 (+0000) Subject: * objcopy.c: Changes to keep it from stripping symbols used X-Git-Tag: gdb-4_18~15106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fb158b92f988b291a7726b54d2851742ab3ee32e;p=external%2Fbinutils.git * objcopy.c: Changes to keep it from stripping symbols used in output relocations. (mark_symbols_used_in_relocations): New function. Mark symbols used in output relocations with BSF_KEEP. (filter_symbols): Do not strip symbols marked with BSF_KEEP. (copy_object): Reorder actions. First setup sections, then build the output symbol table, then copy the section contents. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 88dd54c..ebd52e3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,13 @@ +Sun Mar 20 11:26:36 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + + * objcopy.c: Changes to keep it from stripping symbols used + in output relocations. + (mark_symbols_used_in_relocations): New function. Mark symbols + used in output relocations with BSF_KEEP. + (filter_symbols): Do not strip symbols marked with BSF_KEEP. + (copy_object): Reorder actions. First setup sections, then + build the output symbol table, then copy the section contents. + Fri Mar 18 10:53:55 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * ar.c (write_archive): Allocate space for the null byte. From