No description
Find a file
Ian Lance Taylor 92962c7188 Add support for linking SPARC SunOS PIC compiled code.
* sunos.c (SPARC_PLT_PIC_WORD0): Define.
	(SPARC_PLT_PIC_WORD1, SPARC_PLT_PIC_WORD2): Define.
	(struct sunos_link_hash_entry): Add got_offset and plt_offset
	fields.
	(struct sunos_link_hash_table): Add dynamic_sections_created and
	dynamic_sections_needed fields.
	(sunos_link_hash_newfunc): Initialize new fields.
	(sunos_link_hash_table_create): Initialize new fields.
	(sunos_create_dynamic_sections): New static function, broken out
	of sunos_add_dynamic_symbols.
	(sunos_add_dynamic_symbols): Call sunos_create_dynamic_sections.
	(sunos_add_one_symbol): Call sunos_create_dynamic_sections.
	(bfd_sunos_size_dynamic_sections): Call sunos_scan_relocs before
	checking whether we need to set up the dynamic link information.
	Define __GLOBAL_OFFSET_TABLE if anything referred to it.
	(sunos_scan_std_relocs): Call sunos_create_dynamic_sections.  Use
	plt_offset field; only put symbol in .plt if it is not defined by
	a regular object.
	(sunos_scan_ext_relocs): Likewise.  Handle base relative relocs.
	(sunos_scan_dynamic_symbol): Store dynobj in local variable.
	(sunos_write_dynamic_symbol): Check plt_offset rather than
	checking whether symbol is in .plt section.  If symbol is defined
	in a regular object file, use SPARC_PLT_PIC_WORD[012], and don't
	add a JMP_TBL reloc.
	(sunos_check_dynamic_reloc): Add contents and relocationp fields.
	If plt_offset is set, redirect relocation to PLT.  If this is a
	base relative reloc, redirect relocation to GOT.  Check
	dynamic_sections_needed field rather than whether dynobj is set.
	(sunos_finish_dynamic_link): Check dynamic_sections_needed field
	rather than whether dynobj is set.  Don't die if .need and .rules
	sections were not created.
	* aoutx.h (howto_table_ext): Mark PC10, PC22, and JMP_TBL entries
	PC relative.  Mark PC10 complain_overflow_dont.  Mark PC22 and
	JMP_TBL complain_overflow_signed.
	(NAME(aout,final_link)): If info->shared is set, set DYNAMIC.
	(aout_link_input_section_std): Call check_dynamic_reloc for all
	relocs.  Pass contents and &relocation.  Don't warn about an
	undefined symbol until check_dynamic_reloc has been called.  Don't
	warn about an undefined symbol for a base relative reloc.
	(aout_link_input_section_ext): Likewise.  For a base relative
	reloc, always treat r_index as an index into the symbol table.
	* libaout.h (struct aout_backend_data): Add contents and
	relocation argument to check_dynamic_reloc entry point.
	(struct aoutdata): Add local_got_offsets field.
1995-08-17 19:30:46 +00:00
bfd Add support for linking SPARC SunOS PIC compiled code. 1995-08-17 19:30:46 +00:00
binutils * dlltool.c (gen_exp_file): Fix RVA handling. 1995-08-16 23:28:18 +00:00
config Renamed. 1995-07-03 21:22:00 +00:00
gas * as.h (alloca): Use void* declaration on HP/UX. 1995-08-16 22:15:28 +00:00
gdb * config/pa/tm-hppa.h (PROLOGUE_FIRSTLINE_OVERLAP): Define. 1995-08-17 04:01:24 +00:00
gprof all v2.2 && v2.3 autoconf-generated configure scripts updated to 1995-08-16 04:06:53 +00:00
include * m68kmri.h: Remove. 1995-08-02 22:48:21 +00:00
ld * scripttempl/armpe.sc: Always start code at 0x401000, even 1995-08-16 23:29:18 +00:00
mmalloc * Makefile.in, configure.in: Converted to use autoconf. 1995-05-04 00:21:18 +00:00
opcodes * m68k-dis.c: (fpcr_names): Add % before all register names. 1995-08-07 20:22:13 +00:00
readline inc-hist.texi: gdb manual up to date for 95q3 1995-06-22 21:30:02 +00:00
sim For Sega/Hitachi, when simulator exits, check to see if it was because 1995-08-12 01:03:16 +00:00
.Sanitize Remove traces of gdbtk from Makefile.in if --lose-gdbtk arg seen. 1995-08-06 19:16:15 +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 update target lists for all hosts 1995-05-18 09:16:59 +00:00
cfg-ml-com.in * cfg-ml-com.in (z8k-*-coff): Add 'std' multilib build. 1995-07-31 16:57:38 +00:00
cfg-ml-pos.in Document sed bug. 1995-07-27 21:37:26 +00:00
ChangeLog * config.guess: Merge with FSF: 1995-08-11 22:40:18 +00:00
config.guess * config.guess: Merge with FSF: 1995-08-11 22:40:18 +00:00
config.sub * Makfile.in (DLLTOOL_FOR_TARGET): New name, pass it down. 1995-07-03 22:02:03 +00:00
configure Handle autoconfiscated directories by running the correct configure script. 1995-06-21 20:57:03 +00:00
configure.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
configure.in * configure.in (i386-go32 host): Fix typo (deja-gnu -> dejagnu). 1995-08-07 16:24:42 +00:00
DOC.Sanitize Remove mention of no-longer-needed keep-mpw, add mention of lose-gdbtk. 1995-05-29 20:52:31 +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
makeall.bat additions for binutils release from dj 1994-10-22 02:17:33 +00:00
Makefile.in * Makefile.in (GDB_SUPPORT_DIRS): Add utils. 1995-08-05 01:04:06 +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 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