Binutils with MCST patches
Go to file
Ian Lance Taylor 5315c42827 Make MIPS ELF use new ELF backend linker. No shared library
support yet.
	* elf32-mips.c (bfd_mips_elf32_swap_gptab_in): New function.
	(bfd_mips_elf32_swap_gptab_out): New function.
	(mips_elf_object_p): If last symbol is LOCAL, set elf_bad_symtab.
	(mips_elf_final_write_processing): Set sh_info field for .gptab.*
	sections.
	(mips_elf_fake_sections): Set sh_entsize for .gptab.* sections.
	(mips_elf_read_ecoff_info): Read and free external symbols last,
	not first, for clarity.
	(struct mips_elf_link_hash_entry): Define new structure.
	(struct mips_elf_link_hash_table): Define new structure.
	(mips_elf_link_hash_lookup): Define new macro.
	(mips_elf_link_hash_traverse): Define new macro.
	(mips_elf_hash_table): Define new macro.
	(mips_elf_link_hash_newfunc): New static function.
	(mips_elf_link_hash_table_create): New static function.
	(mips_elf_add_symbol_hook): New static function.
	(struct extsym_info): Define new structure.
	(mips_elf_get_extr, mips_elf_set_index): Remove.
	(mips_elf_output_extsym): New static function.
	(gptab_compare): New static function.
	(mips_elf_final_link): Rewrite to use ELF backend linker, and to
	merge gptab information in input files.
	(mips_elf_relocate_hi16): New static function.
	(mips_elf_relocate_section): New static function.
	(bfd_elf32_bfd_link_hash_table_create): Define as macro before
	including elf32-target.h.
	(elf_backend_relocate_section): Likewise.
	(elf_backend_add_symbol_hook): Likewise.
	* elf.c (_bfd_elf_link_hash_newfunc): Rename from
	elf_link_hash_newfunc and make globally visible.  Change caller.
	(_bfd_elf_link_hash_table_init): New function, broken out of
	_bfd_elf_link_hash_table_create.
	(_bfd_elf_link_hash_table_create): Use
	_bfd_elf_link_hash_table_init.
	* libelf.h (struct elf_obj_tdata): Add new field bad_symtab.
	(elf_bad_symtab): Define new accessor macro.
	(_bfd_elf_link_hash_newfunc): Declare.
	(_bew_elf_link_hash_table_init): Declare.
	* elfcode.h (elf_object_p): Call backend object_p hook after
	swapping in all the section headers.
	(map_program_segments): Correct typo: Internal for External.
	(elf_link_add_object_symbols): If elf_bad_symtab is set, read all
	the symbols.  Skip STB_LOCAL symbols rather than giving an error.
	(elf_bfd_final_link): If elf_bad_symtab is set, allocate space for
	all symbols, not just locals.
	(elf_link_output_extsym): Only skip a symbol not mentioned by a
	regular file if it is mentioned by a dynamic object.
	(elf_link_input_bfd): If elf_bad_symtab is set, read all the
	symbols.
1994-05-24 20:44:50 +00:00
bfd Make MIPS ELF use new ELF backend linker. No shared library 1994-05-24 20:44:50 +00:00
binutils Remove sanitization of PowerPC NetWare. 1994-05-20 18:09:48 +00:00
config Really fix INSTALL_LAST this time.. 1994-05-20 15:28:26 +00:00
gas * as.h: Don't declare parameters for strstr. 1994-05-20 22:02:39 +00:00
gdb * Revert the previous changes. Please see Rob's directory 1994-05-21 17:24:22 +00:00
gprof * Makefile.in (.m.c:): Added .SUFFIXES : .m 1994-05-17 22:56:13 +00:00
include Remove sanitization of PowerPC NetWare. 1994-05-20 18:25:02 +00:00
ld * emulparams/elf32mipb.sh (OTHER_READONLY_SECTIONS): Don't give 1994-05-24 20:21:27 +00:00
mmalloc * COPYING.LIB: New file (standard version 2 LGPL, as already cited 1993-11-17 04:35:46 +00:00
opcodes * a29k-dis.c (print_insn): Print 'x' type operand in hex. 1994-05-08 00:19:06 +00:00
readline * readline.c (_rl_set_screen_size): Don't compile if __GO32__ is 1994-05-09 23:01:56 +00:00
sim * interp.c (sim_*): Make result void where there isn't one. 1994-05-18 21:37:08 +00:00
.Sanitize * configure.in (target==go32): Don't build gdb. 1994-05-07 23:48:27 +00:00
Build-A-Release.mk didn't get propagated from progressive to devo. 1992-07-31 17:33:55 +00:00
ChangeLog Really fix INSTALL_LAST this time.. 1994-05-20 15:28:26 +00:00
ChangeLog.mpw Tue Apr 26 12:54:52 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-04-26 21:45:10 +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.in Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
Makefile.in Really fix INSTALL_LAST this time.. 1994-05-20 15:28:26 +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
build-all.mk more cleanup 1994-05-18 00:03:28 +00:00
config.guess * config.guess: Recognize NCR running SVR4.3. 1994-03-30 03:15:42 +00:00
config.sub * config.sub (sparc64-elf): Fix os. 1994-04-16 19:19:24 +00:00
configure * configure: Ignore --x-includes and --x-libraries, for Autoconf 1994-04-08 19:03:23 +00:00
configure.in * configure.in: Use ld for i[34]86-*-sysv4* and sparc-*-solaris2*. 1994-05-19 21:16:30 +00:00
install-texi.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
mpw-README Sun Feb 27 16:05:15 1994 Stan Shebs (shebs@andros.cygnus.com) 1994-02-28 00:15:29 +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
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