Go to file
Jeff Law ff5a090fb4 * Support code for enabling the new style linker for PA ELF.
* elfcode.h (swap_symbol_in, swap_symbol_out): Externalize.
	(elf_compute_section_file_positions): Pass link_info to
	the begin_write_processing hook.
	(bfd_elf_write_object_contents): Pass NULL for new link_info
	argument to final_write_processing hook.
	(elf_link_output_sym): Accept new "input_section" argument for
	the symbols's input section.  All callers changed.  Call the
	link_output_symbol_hook if it's defined.
	(elf_bfd_final_link): Call the final_write_processing hook if
	it's defined.
	* libelf.h (elf_backend_link_output_symbol_hook): Declare.
	(elf_backend_begin_write_processing): Add new "info" argument.
	(elf_backend_final_write_processing): Likewise.
	* elf32-target.h (elf_backend_link_output_symbol_hook): Provide
	a default definition.
	(elf32_bed): Add elf_backend_link_output_symbol_hook.
	* elf64-target.h: Likewise.

	* Major rework of the PA ELF code.  Uses the new style BFD
	linker, major cleanups.
	* hppa_stubs.h: Rewrite from scratch.  Much smaller and simpler.
	* elf32-hppa.h: Delete all symbol extension related code.
	(hppa_look_for_stubs_in_section): Delete decl.
	(elf32_hppa_size_stubs, elf32_hppa_build_stubs): New decls.
	* elf32-hppa.c: Symbol extension stuff moved form elf32-hppa.h
	into elf32-hppa.c.  Do not include aout64.h.
	(typdef hppa_stub_type): Delete.
	(elf32_hppa_stub_name_list_struct): Delete.
	(elf32_hppa_stub_description_struct): Delete.
	(arg_reloc_type): Use simpler enumerations.  All references changed.
	(arg_location, arg_reloc_relocation): Likewise.
	(elf32_hppa_symextn_map_struct): Delete.
	(get_symbol_value): Delete.
	(elf32_hppa_get_sym_extn): Delete.
	(find_stubs, new_stubs, type_of_mismatch): Delete.
	(find_stub_by_name, add_stub_by_name): Delete.
	(hppa_elf_stub_finish, hppa_elf_stub_reloc): Delete.
	(hppa_elf_arg_reloc_needed): Renamed.  Simplify.
	(hppa_elf_build_linker_stub, hppa_elf_create_stub_sec): Delete.
	(hppa_elf_long_branch_needed_p): Delete.
	(hppa_look_for_stubs_in_section): Delete.
	(hppa_elf_get_section_contents): Delete.
	(elf32_hppa_backend_symbol_processing): Delete.
	(elf32_hppa_backend_section_processing): Delete.
	(elf32_hppa_backend_section_from_shdr): Delete.
	(elf32_hppa_backend_fake_sections): Delete.
	(elf32_hppa_backend_section_from_bfd_section): Delete.
	(NEW_INSTRUCTION): Delete.
	(CURRENT_STUB_OFFSET): Delete.
	(elf32_hppa_relocate_section): New function.
	(elf32_hppa_bfd_final_link_relocate): New function.
	(elf32_hppa_size_symext): New function.
	(elf32_hppa_link_output_symbol_hook): New function.
	(elf32_hppa_read_symext_info): New function.
	(elf32_hppa_add_symbol_hook): New function.
	(elf32_hppa_name_of_stub): New function.
	(elf32_hppa_size_of_stub): New function.
	(elf32_hppa_build_one_sub): New function.
	(elf32_hppa_build_stubs): New function.
	(elf32_hppa_size_stubs): New function.
	(linker, stub and argument hash tables): Add appropriate
	structures, definitions and functions to implement all three
	hash tables.
	(hppa_elf_relocate_insn): Don't need argument location information
	in this function.
	(add_entry_to_symext_chain): Accept a symbol's argument location
	information rather than the symbol itself.  All callers changed.
	(hppa_elf_gen_reloc_type): Simplify.
	(hppa_elf_set_section_contents): Stub section is no longer special.
	(hppa_elf_reloc): Greatly simplify.
	(elf32_hppa_begin_write_processing): Accept link_info argument.
	Handle being called from the BFD backend linker.
	(elf32_hppa_final_write_processing): Likewise.
	(elf_hppa_tc_make_sections): No longer call stub_finish.
1994-07-01 19:00:17 +00:00
bfd * Support code for enabling the new style linker for PA ELF. 1994-07-01 19:00:17 +00:00
binutils * mpw-config.in: New file, MPW configure fragment for binutils. 1994-06-28 02:20:40 +00:00
config Add CXX 1994-07-01 00:39:20 +00:00
gas * config/default.exp: Look for "as.new" in "$base_dir/..", where it got 1994-06-30 22:54:44 +00:00
gdb * mpw-config.in (MacSerial.h): Duplicate from standard Serial.h. 1994-07-01 18:44:26 +00:00
gprof * Makefile.in (gprof): Depend on $(LIBS). 1994-06-23 17:23:30 +00:00
include * demangle.h (cplus_demangle_opname): Declare. 1994-06-18 23:14:00 +00:00
ld Elim dup of file names 1994-06-30 23:19:26 +00:00
mmalloc * COPYING.LIB: New file (standard version 2 LGPL, as already cited 1993-11-17 04:35:46 +00:00
opcodes Elim dup of file names 1994-06-30 23:19:26 +00:00
readline * rltty.c (control_meta_key_on): Don't compile if __GO32__ is 1994-06-30 22:31:29 +00:00
sim Specify the file type. 1994-06-28 01:05:38 +00:00
.Sanitize unsanitize v9 1994-06-17 00:51:16 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
build-all.mk rs6k lynx changes 1994-06-08 05:05:21 +00:00
ChangeLog * config.guess: Recognize Mach. 1994-06-29 13:13:53 +00:00
ChangeLog.mpw * mpw-README: Update the GDB information. 1994-07-01 01:21:18 +00:00
config.guess * config.guess (i386-unknown-bsdi): New system to guess. 1994-06-04 00:48:21 +00:00
config.sub unsanitize v9 1994-06-17 00:51:16 +00:00
configure * configure: If there is a package_makefile_frag, remove 1994-06-07 19:07:34 +00:00
configure.in Removing a mistake I made (don't put newlib in host_tools). 1994-06-24 05:44:12 +00:00
DOC.Sanitize Remove mention of keep-powerpc-netware: PowerPC NetWare is no longer 1994-05-20 18:26:18 +00:00
INSTALL Nearly complete. Still needs pointer to "more doc". 1991-04-13 07:41:11 +00:00
install-texi.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Install.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
install.sh * install.sh: If $dstdir exists, don't check whether each component does. 1994-04-27 19:19:56 +00:00
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Makefile.in Move "@" so it's actually on the first line of the shell script in the 1994-06-08 01:03:08 +00:00
mpw-build.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-config.in Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
mpw-configure Thu Mar 17 12:55:51 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-03-17 23:02:58 +00:00
mpw-README Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +00:00
Pack-A-Progressive Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
SUPPORTED Initial revision 1991-06-12 21:44:36 +00:00
tape-labels-tex.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
test-build.mk more cleanup 1994-05-18 00:03:28 +00:00