From: Ian Lance Taylor Date: Fri, 22 Apr 1994 22:09:25 +0000 (+0000) Subject: Get rid of the ECOFF .reginfo section hack. X-Git-Tag: gdb-4_18~14730 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc71e155b6f60586f8afddaaa9512d0972d92866;p=external%2Fbinutils.git Get rid of the ECOFF .reginfo section hack. * ecoff.c (ecoff_mkobject_hook): Don't create a .reginfo section. (ecoff_new_section_hook): Don't handle the .reginfo section. (ecoff_sizeof_headers): Likewise. (ecoff_get_section_contents): Likewise. (ecoff_compute_section_file_positions): Likewise. (ecoff_compute_reloc_file_positions): Likewise. (ecoff_set_section_contents): Likewise. (ecoff_write_object_contents): Likewise. (ecoff_bfd_final_link): Likewise. (ecoff_bfd_copy_private_bfd_data): Copy the GP value and the register masks. (bfd_ecoff_get_gp_value): New function. (bfd_ecoff_set_gp_value): New function. (bfd_ecoff_set_regmasks): New function. * bfd-in.h (bfd_ecoff_get_gp_value): Declare. (bfd_ecoff_set_gp_value): Declare. (bfd_ecoff_set_regmasks): Declare. * bfd-in2.h: Rebuilt. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 40670a1..c18e97e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,25 @@ Fri Apr 22 11:08:38 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + Get rid of the ECOFF .reginfo section hack. + * ecoff.c (ecoff_mkobject_hook): Don't create a .reginfo section. + (ecoff_new_section_hook): Don't handle the .reginfo section. + (ecoff_sizeof_headers): Likewise. + (ecoff_get_section_contents): Likewise. + (ecoff_compute_section_file_positions): Likewise. + (ecoff_compute_reloc_file_positions): Likewise. + (ecoff_set_section_contents): Likewise. + (ecoff_write_object_contents): Likewise. + (ecoff_bfd_final_link): Likewise. + (ecoff_bfd_copy_private_bfd_data): Copy the GP value and the + register masks. + (bfd_ecoff_get_gp_value): New function. + (bfd_ecoff_set_gp_value): New function. + (bfd_ecoff_set_regmasks): New function. + * bfd-in.h (bfd_ecoff_get_gp_value): Declare. + (bfd_ecoff_set_gp_value): Declare. + (bfd_ecoff_set_regmasks): Declare. + * bfd-in2.h: Rebuilt. + Fix ECOFF objcopy to actually copy debugging information. * ecoff.c (ecoff_bfd_copy_private_bfd_data): New function. (ecoff_get_extr): Assume that any ECOFF symbol with local clear is