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.
This commit is contained in:
Ian Lance Taylor 1994-04-22 22:09:25 +00:00
parent d5336fc5a4
commit cc71e155b6
1 changed files with 20 additions and 0 deletions

View File

@ -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