GDB that can debug Mach-Os on Linux
Go to file
Ian Lance Taylor b6eb341bf8 Mon Jun 16 18:56:27 1997 Geoff Keating <geoffk@ozemail.com.au>
* elf32-ppc.c (ppc_elf_relocate_section): Don't emit R_PPC_REL*
 	relocs in shared libraries which refer to local symbols.  Cope
 	with addend when processing a GOT relocation.

	* elf32-ppc.c (ppc_elf_size_dynamic_sections): Only create symbols
	for sections that the linker didn't create.
	(ppc_elf_finish_dynamic_sections): Only try to write out a section
 	symbol if it was created in ppc_elf_size_dynamic_sections.
	(ppc_elf_relocate_section): Complain if we have to generate a reloc
	relative to a section for which we didn't output a symbol.

	* elf32-ppc.c (ppc_elf_size_dynamic_sections): Clean up.  PLT
 	relocs are 'rela' relocs, like everything else.  .rela.plt is not
 	a read-only section, so we don't have to special-case it.

	* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Entries in the
	.rela.bss section are (of course) 'rela' relocs not 'rel' relocs.

	* elf32-ppc.c (ppc_elf_check_relocs): Initialise srelgot.
	(ppc_elf_relocate_section): @got offsets are 4 from start of the
	actual .got section.
	* elflink.c (_bfd_elf_create_got_section): The three reserved
	words start from the symbol '_GLOBAL_OFFSET_TABLE_'.

	* elf32-ppc.c (ppc_elf_size_dynamic_sections): '.rela' is 5
	characters, not 4.

	* elf32-ppc.c (ppc_elf_check_relocs): Use
	_bfd_elf_create_got_section to create the GOT rather than
	ppc_elf_create_linker_section. Create the '.rela.got' section
	ourselves.
	(ppc_elf_finish_dynamic_symbol): Set up GOT relocations when a
	symbol has a GOT entry.
	(ppc_elf_relocate_section): Record when a symbol is used through
	the GOT, and allocate space in the GOT for each such symbol.
	(ppc_elf_adjust_dynamic_symbol): Delete unused .got.plt stuff.
	(ppc_elf_create_linker_section): Delete unused LINKER_SECTION_GOT
	stuff.

	* elf32-ppc.c (ppc_elf_howto_raw): GOT16_HA relocs should be
	treated in a similar way to ADDR16_HA relocs.
	(ppc_elf_relocate_section): PLTREL24 relocs do not get copied into
	shared objects; the linker must deal with them.
	(ppc_elf_create_linker_section): Stop setting
	_GLOBAL_OFFSET_TABLE_ to the wrong value; delete unused
	LINKER_SECTION_PLT stuff.
	(ppc_elf_check_relocs): Delete unused LINKER_SECTION_PLT stuff.
	(ppc_elf_finish_dynamic_sections): Use BFD calls to get GOT
	section, not ELF-specific calls.
	(elf_backend_plt_not_loaded): Set to 1.
	(elf_backend_got_symbol_offset): Set to 4.
	* elf-bfd.h (elf_backend_data): Add 'plt_not_loaded' member
	for when ld.so fills in the PLT; and 'got_symbol_offset' member.
	* elflink.c (_bfd_elf_create_dynamic_sections): Apply
	plt_not_loaded member.
	(_bfd_elf_create_got_section): Apply got_symbol_offset.
	* elfxx-target.h (elf_backend_plt_not_loaded): Set default to
	'loaded'.
	(elf_backend_G_O_T_offset): Set default to 0.
	(elfNN_bed): Set added fields.

	* elf32-ppc.c (ppc_elf_size_dynamic_sections): Was setting
	DT_RELENT in shared objects; should be DT_RELAENT.

	* elf32-ppc.c (ppc_elf_relocate_section): Propagate
	R_PPC_ADDR16_HA relocs to shared objects. Cope with case where
	such a reloc (in a non-shared object) refers to a symbol that's
	not defined.
1997-06-16 23:05:27 +00:00
bfd Mon Jun 16 18:56:27 1997 Geoff Keating <geoffk@ozemail.com.au> 1997-06-16 23:05:27 +00:00
binutils * dlltool.c (export_type): Add data field. 1997-06-12 16:30:55 +00:00
config Thu Mar 27 15:52:40 1997 Geoffrey Noer <noer@cygnus.com> 1997-03-27 23:55:00 +00:00
gas * config/tc-ppc.c (ppc_insert_operand): In 32 bit mode, with a 1997-06-16 20:09:35 +00:00
gdb * config/monitor.exp(gdb_load): Fix typo in regexp. 1997-06-14 16:25:14 +00:00
gprof * Makefile.am (INCLUDES): Add -DDEBUG. 1997-06-16 19:32:15 +00:00
include Mon Jun 16 14:10:00 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 1997-06-16 18:11:38 +00:00
ld Mon Jun 16 12:49:36 1997 H.J. Lu <hjl@gnu.ai.mit.edu> 1997-06-16 16:56:22 +00:00
mmalloc * Makefile.in (mm.o): New target that combines all the functions 1996-12-28 22:33:53 +00:00
opcodes * m68k-dis.c (print_insn_arg): Print case 7.2 using %pc@() 1997-06-16 18:31:32 +00:00
readline * tilde.c (tilde_word_expand): __MSDOS___ -> __MSDOS__ 1996-10-08 16:00:54 +00:00
sim * simops.c: Fix thinko in last change. 1997-06-12 04:14:42 +00:00
.Sanitize * configure.in (host_libs): Added libide. 1997-04-21 19:30:47 +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 change [ -d foo ] to test -d foo 1996-03-22 21:50:27 +00:00
ChangeLog * configure: Set CFLAGS and CXXFLAGS, and substitute them into 1997-06-16 19:46:12 +00:00
config-ml.in * config-ml.in (ml_realsrcdir): New, to account for ${subdir}. 1995-12-27 23:52:53 +00:00
config.guess Thu Apr 17 13:57:06 1997 Per Fogelstrom <pefo@openbsd.org> 1997-04-17 17:58:22 +00:00
config.sub (m32r): Clean up support for. 1997-03-24 20:24:29 +00:00
configure * configure: Set CFLAGS and CXXFLAGS, and substitute them into 1997-06-16 19:46:12 +00:00
configure.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
configure.in * configure.in: Build itl, db, sn, etc., when building for native 1997-06-16 15:13:43 +00:00
DOC.Sanitize Updated documentation for lose-inet -> keep-inet change 1996-06-19 15:40:45 +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
intro.texi Add some files from Progressive shich shouldn't be lost. 1992-07-29 16:21:34 +00:00
makeall.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
Makefile.in * configure: Set CFLAGS and CXXFLAGS, and substitute them into 1997-06-16 19:46:12 +00:00
makefile.vms Tue Apr 1 16:28:50 1997 Klaus Kaempf <kkaempf@progis.de> 1997-04-01 21:29:27 +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 * mpw-configure: Add support for exec-prefix. 1995-12-04 20:48:19 +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
setup.com Thu Aug 8 12:18:59 1996 Klaus Kaempf <kkaempf@progis.de> 1996-08-08 16:20:25 +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 add support for i386-unixware target, m68k-vxworks5.1 target, i960-vxworks5.1 target... always configure with --enable-gdbtk 1995-05-18 09:27:23 +00:00