GDB that can debug Mach-Os on Linux
Go to file
Ian Lance Taylor 6ec3bb6a75 * elfcode.h: Include bfdlink.h. Added several new functions to do
linking.
	(ELF_R_TYPE): Define.
	(bfd_add_to_strtab): Return unsigned long.  Change check for
	realloc failure.
	(elf_fake_sections): Check return value of bfd_add_to_strtab.
	(elf_compute_section_file_positions): Add link_info argument.
	Call elf_backend_begin_write_processing hook and prep_headers
	here.  Only call swap_out_syms if link_info is NULL.  Set up
	.shstrtab section here.  Pass dosyms argument to
	assign_file_positions_except_relocs.  Set output_has_begun flag.
	(assign_file_positions_for_symtab_and_strtabs): Add dosyms
	argument, and use it to control setting .symtab and .strtab file
	positions.
	(assign_file_positions_except_relocs): Add dosyms argument, and
	pass it on.
	(prep_headers): Check return value of bfd_add_to_strtab.
	(swap_out_syms): Likewise.  Also, don't set up .shstrtab here.
	(NAME(bfd_elf,write_object_contents)): Some calls moved into
	elf_compute_section_file_positions.
	(elf_set_section_contents): Likewise.
	(elf_slurp_symbol_table): SHN_LORESERV corrected to SHN_LORESERVE.
	* libelf.h: Include bfdlink.h.
	(struct elf_backend_data): Add fields collect,
	elf_add_symbol_hook, elf_backend_relocate_section.
	(struct bfd_elf_section_data): Add field rel_hashes.
	(struct elf_obj_tdata): Remove fields internal_syms and symbols.
	Add field sym_hashes.
	(obj_symbols, obj_internal_syms): Remove definitions.
	(elf_sym_hashes): Define.
	(struct elf_link_hash_entry): Define.
	(struct elf_link_hash_table): Define.
	(elf_link_hash_lookup): Define.
	(elf_link_hash_traverse): Define.
	(elf_hash_table): Define.
	(_bfd_elf_link_hash_table_create): Declare.
	(bfd_elf32_bfd_link_add_symbols): Declare.
	(bfd_elf32_bfd_final_link): Declare.
	(bfd_elf64_bfd_link_add_symbols): Declare.
	(bfd_elf64_bfd_final_link): Declare.
	* elf.c: Include bfdlink.h.
	(elf_link_hash_newfunc): New function.
	(_bfd_elf_link_hash_table_create): New function.
	* elf32-target.h (elf_backend_relocate_section): If not defined,
	define as 0 and use generic linker.  Otherwise, use ELF backend
	linker.
	(elf_backend_collect): If not defined, define as false.
	(elf_backend_add_symbol_hook): If not defined, define as 0.
	(elf32_bed): Initialize new fields.
	* elf64-target.h: Same changes as elf32-target.h.
	* elf32-i386.c: Include bfdlink.h.
	(elf_i386_relocate_section): New function.
	(elf_backend_relocate_section): Define.
	* elf32-sparc.c: Include bfdlink.h.
	(elf_info_to_howto): Change type of dst from Elf32_Internal_Rela
	to Elf_Internal_Rela (they're the same type anyhow).
	(elf_sparc_relocate_section): New function.
	(elf_backend_relocate_section): Define.
	* elf32-mips.c (elf_backend_collect): Define.
1994-05-09 16:58:36 +00:00
bfd * elfcode.h: Include bfdlink.h. Added several new functions to do 1994-05-09 16:58:36 +00:00
binutils various changes for lynx.rs, ericsson, BNR. 1994-05-07 00:34:19 +00:00
config It's mh-lynxrs6k, not mh-lynxosrs6k. 1994-05-07 04:58:52 +00:00
gas remove unneeded files 1994-05-08 05:21:37 +00:00
gdb Remove debugging code. 1994-05-08 15:22:51 +00:00
gprof gprof.h, Makefile.in changes 1994-05-05 23:25:12 +00:00
include * h8300.h (dec, inc): Get encoding right. 1994-04-27 18:30:33 +00:00
ld Remove Delta68 support. Could not get copyright assignment for it. 1994-05-09 16:36:38 +00:00
mmalloc
opcodes * a29k-dis.c (print_insn): Print 'x' type operand in hex. 1994-05-08 00:19:06 +00:00
readline * config/mh-go32: New fragment. 1994-05-06 20:40:19 +00:00
sim
.Sanitize * configure.in (target==go32): Don't build gdb. 1994-05-07 23:48:27 +00:00
Build-A-Release.mk
build-all.mk update platform targets 1994-04-08 23:35:47 +00:00
ChangeLog Restore changelog entries clobbered by last checkin. 1994-05-07 20:11:44 +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
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 Fix typo in last change. 1994-05-09 16:10:34 +00:00
DOC.Sanitize Update for Things-to-lose and lose_these_too. 1994-03-24 16:25:47 +00:00
INSTALL
install-texi.in
Install.in
install.sh * install.sh: If $dstdir exists, don't check whether each component does. 1994-04-27 19:19:56 +00:00
intro.texi
Makefile.in
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
SUPPORTED
tape-labels-tex.in
test-build.mk * test-build.mk (CC): For mips-sgi-irix4, change -XNh1500 to 1994-04-11 18:00:46 +00:00