Binutils with MCST patches
Go to file
Ian Lance Taylor d1bf45aa94 64-bit MIPS ELF ABI objdump support:
* elf64-mips.c: New file.
	* Makefile.in: Rebuild dependencies.
 	(BFD64_BACKENDS): Add elf64-mips.o.
	(BFD64_BACKENDS_CFILES): Add elf64-mips.c.
	* config.bfd (mips*el-*-elf*) Add bfd_elf64_bigmips_vec and
	bfd_elf64_littlemips_vec to targ_selvecs.
	(mips*-*-elf*): Likewise.
	* confingure.in: Add bfd_elf64_bigmips_vec and
	bfd_elf64_littlemips_vec to vector switch.
	* configure: Rebuild.
	* elf32-mips.c (_bfd_mips_elf_section_from_shdr): New function,
	broken out of mips_elf_section_from_shdr.
	(mips_elf32_section_from_shdr): Rename from
	mips_elf_section_from_shdr.  Call new function.
	(elf_backend_section_from_shdr): Update name of renamed function.
	* elf-bfd.h (struct elf_size_info): Change second parameter of
	write_out_phdrs to be const.  Likewise for second parameter of
	swap_symbol_out.
	(struct bfd_elf_section_data): Add rel_hdr2 field.
	(bfd_elf32_swap_symbol_in): Change second parameter to be const.
	(bfd_elf32_swap_symbol_out): Likewise.
	(bfd_elf32_swap_reloc_in): Likewise.
	(bfd_elf32_swap_reloc_out): Likewise.
	(bfd_elf32_swap_reloca_in): Likewise.
	(bfd_elf32_swap_reloca_out): Likewise.
	(bfd_elf32_swap_phdr_in): Likewise.
	(bfd_elf32_swap_phdr_out): Likewise.
	(bfd_elf32_swap_dyn_in): Likewise.
	(bfd_elf32_swap_dyn_out): Likewise.
	(bfd_elf32_slurp_symbol_table): Declare.
	(bfd_elf32_write_shdrs_and_ehdr): Declare.
	(bfd_elf32_write_out_phdrs): Declare.
	(bfd_elf64_swap_symbol_in): Change second parameter to be const.
	(bfd_elf64_swap_symbol_out): Likewise.
	(bfd_elf64_swap_reloc_in): Likewise.
	(bfd_elf64_swap_reloc_out): Likewise.
	(bfd_elf64_swap_reloca_in): Likewise.
	(bfd_elf64_swap_reloca_out): Likewise.
	(bfd_elf64_swap_phdr_in): Likewise.
	(bfd_elf64_swap_phdr_out): Likewise.
	(bfd_elf64_swap_dyn_in): Likewise.
	(bfd_elf64_swap_dyn_out): Likewise.
	(bfd_elf64_slurp_symbol_table): Declare.
	(bfd_elf64_write_shdrs_and_ehdr): Declare.
	(bfd_elf64_write_out_phdrs): Declare.
	(_bfd_mips_elf_section_from_shdr): Declare.
	* elf.c (bfd_section_from_shdr): Remove assertion requiring
	SHT_REL/SHT_RELA to match use_rela_p.  If there is already a reloc
	section for the section, add the new one to rel_hdr2.  Increment
	reloc_count rather than setting it.
	* elfcode.h (elf_slurp_symbol_table): Define name as macro.
	Remove static declaration.
	(elf_write_shdrs_and_ehdr): Define name as macro.
	(elf_write_out_phdrs): Likewise.
	(elf_swap_ehdr_in, elf_swap_ehdr_out): Declare.
	(elf_swap_shdr_in, elf_swap_shdr_out): Declare.
	(elf_swap_symbol_in): Change second parameter to be const.
	(elf_swap_symbol_out): Likewise.
	(elf_swap_ehdr_in, elf_swap_ehdr_out): Likewise.
	(elf_swap_shdr_in, elf_swap_shdr_out): Likewise.
	(elf_swap_phdr_in, elf_swap_phdr_out): Likewise.
	(elf_swap_reloc_in, elf_swap_reloc_out): Likewise.
	(elf_swap_reloca_in, elf_swap_reloca_out): Likewise.
	(elf_write_out_phdrs): Rename from write_out_phdrs.  Change second
	parameter to be const.  Make non-static.
	(elf_write_shdrs_and_ehdr): Rename from write_shdrs_and_ehdr.
	Make non-static.
	(elf_slurp_symbol_table): Make non-static.
	(NAME(_bfd_elf,size_info)): Update names of renamed functions.
	* elfxx-target.h (elf_info_to_howto): Define if not defined.
	(elf_backend_size_info): Likewise.
	(elfNN_bed): Use elf_backend_size_info.
	* targets.c (bfd_elf64_bigmips_vec): Declare.
	(bfd_elf64_littlemips_vec): Declare.
	(bfd_target_vector): Add bfd_elf64_bigmips_vec and
	bfd_elf64_littlemips_vec if BFD64 is defined.
1996-05-29 20:33:00 +00:00
bfd 64-bit MIPS ELF ABI objdump support: 1996-05-29 20:33:00 +00:00
binutils * objdump.c (disassemble_data): Don't refer to bytes past the end 1996-05-03 18:31:00 +00:00
config * mh-go32 (CFLAGS): Define. 1996-03-26 19:12:19 +00:00
gas * config/tc-z8k.c (md_apply_fix): Handle fx_r_type of 0, as 1996-05-28 19:08:40 +00:00
gdb Removed EINVAL reference in remote-mips.c, and put a hardcoded 22 in its 1996-05-28 23:20:12 +00:00
gprof * configure.in: Permit --enable-shared to specify a list of 1996-04-08 18:45:08 +00:00
include * mips.h (Elf64_Mips_External_Rel): Define. 1996-05-29 19:36:40 +00:00
ld * scripttempl/elfmips.sc: Quote test -z argument. 1996-05-29 20:10:22 +00:00
mmalloc * mmalloc.h (mmtrace): Add prototype. 1996-03-30 05:46:57 +00:00
opcodes Silence warnings from Solaris PowerPC cc 1996-05-23 19:20:33 +00:00
readline * sysdep-linux.h: New file. 1996-05-26 22:15:47 +00:00
sim More changes for GO32 canadian cross builds 1996-05-24 19:12:21 +00:00
.Sanitize
Build-A-Release.mk
build-all.mk change [ -d foo ] to test -d foo 1996-03-22 21:50:27 +00:00
ChangeLog * mpw-README: Document GCCIncludes. 1996-05-28 19:32:11 +00:00
config-ml.in
config.guess
config.sub
configure
configure.bat
configure.in * configure.in (alpha-*-linux*): Set enable_shared to yes. 1996-05-26 22:17:46 +00:00
DOC.Sanitize Added lose-inet to docs 1996-05-16 20:35:38 +00:00
INSTALL
install-texi.in
Install.in
install.sh
intro.texi
makeall.bat
Makefile.in * Makefile.in (all-inet): Depend on all-perl. 1996-05-04 00:08:15 +00:00
mpw-build.in
mpw-config.in
mpw-configure
mpw-README
Pack-A-Progressive
SUPPORTED
tape-labels-tex.in
test-build.mk