binutils-gdb/ld/testsuite
Richard Sandiford 4a3dc54359 bfd/
* elf32-ppc.c (ppc_elf_plt_type): New enumeration.
	(ppc_elf_link_hash_table): Replace old_got and new_got with
	plt_type and can_use_new_plt.
	(ppc_elf_create_dynamic_sections): Add SEC_HAS_CONTENTS,
	SEC_LOAD and SEC_READONLY to the VxWorks .plt flags.
	(ppc_elf_check_relocs): Set can_use_new_plt instead of new_plt.
	Move from plt_type == PLT_UNSET to PLT_OLD instead of setting old_plt.
	(ppc_elf_select_plt_layout): Move from plt_type == PLT_UNSET to
	either plt_type == PLT_OLD or plt_type == PLT_NEW.  Assert that
	this function should not be called for VxWorks targets.
	(ppc_elf_tls_setup): Use plt_type instead of old_got.
	(allocate_got): Likewise.  Rearrange so that max_before_header
	is only used for PLT_OLD and PLT_NEW.
	(allocate_dynrelocs): Use plt_type instead of old_got and is_vxworks.
	(ppc_elf_size_dynamic_sections): Likewise.
	(ppc_elf_relax_section): Likewise.
	(ppc_elf_relocate_section): Likewise.
	(ppc_elf_finish_dynamic_symbol): Likewise.
	(ppc_elf_vxworks_link_hash_table_create): Initialize plt_type.

ld/
	* emulparams/elf32ppccommon.sh: New file, extracted from...
	* emulparams/elf32ppc.sh: ...here.
	* emulparams/elf32ppcvxworks.sh: Include elf32ppccommon.sh
	instead of elf32ppc.sh.
	(BSS_PLT): Remove override.
	* Makefile.am (eelf32lppc.c): Depend on elf32ppccommons.h.
	(eelf32lppcnto.c, eelf32lppcsim.c, eelf32ppcnto.c): Likewise.
	(eelf32ppc.c, eelf32ppc_fbsd.c, eelf32ppcsimm): Likewise.
	(eelf32ppclinux.c): Likewise.
	(eelf32ppcvxworks.c): Likewise.  Add missing vxworks.sh dependency.
	* Makefile.in: Regenerate.

ld/testsuite/
	* ld-powerpc/vxworks1-lib.s, ld-powerpc/vxworks1-lib.dd,
	* ld-powerpc/vxworks1-lib.rd, ld-powerpc/vxworks1.s,
	* ld-powerpc/vxworks1.dd, ld-powerpc/vxworks1.rd,
	* ld-powerpc/vxworks1.ld, ld-powerpc/vxworks1.sd: New test.
	* ld-powerpc/powerpc.exp: Run it.
2006-03-02 08:50:04 +00:00
..
config * config/default.exp (CC): Use find_gcc. 2005-05-27 17:27:03 +00:00
ld-alpha bfd/ 2005-08-17 10:04:33 +00:00
ld-arm 2006-02-07 Paul Brook <paul@codesourcery.com> 2006-02-07 03:50:20 +00:00
ld-auto-import Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-bootstrap binutils/testsuite/ 2005-11-15 08:32:02 +00:00
ld-cdtest Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-checks Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
ld-cris * ld-cris/noov.d: Restrict to cris-*-*elf*. 2005-11-11 00:29:14 +00:00
ld-crx Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-cygwin Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-d10v * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-discard Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elf 2005-12-19 H.J. Lu <hongjiu.lu@intel.com> 2005-12-19 15:07:28 +00:00
ld-elfcomm Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfvers * ld.texino: Describe double-quoted string syntax for version 2005-10-13 17:29:57 +00:00
ld-elfvsb Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-elfweak * ld-elfweak/size2a.s: Extend test to check size for two weaks. 2005-07-27 00:08:40 +00:00
ld-fastcall Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-frv Adjust for dynamic sym changes. 2005-08-15 15:39:48 +00:00
ld-h8300 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-i386 ld/testsuite/ 2006-02-28 07:17:33 +00:00
ld-ia64 bfd/ 2005-10-24 01:40:58 +00:00
ld-linkonce Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-m68hc11 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-maxq Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-mips-elf bfd/ 2006-02-04 08:29:58 +00:00
ld-mmix * ld-mmix/sec-1.d: Adjust for section order changes. 2006-01-03 07:03:26 +00:00
ld-pe Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-pie 2006-02-23 H.J. Lu <hongjiu.lu@intel.com> 2006-02-23 22:23:26 +00:00
ld-powerpc bfd/ 2006-03-02 08:50:04 +00:00
ld-s390 Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-scripts Add support for the Z80 processor family 2005-10-25 17:40:19 +00:00
ld-selective * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-sh Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-shared Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-sparc * ld-sparc/sparc.exp: Do not run 64-bit tests on Solaris 2.5.1 2006-01-31 23:49:32 +00:00
ld-srec Remove a29k support. 2005-08-18 03:51:51 +00:00
ld-undefined * ld-d10v/default_layout.d: Adjust for section removal. 2005-08-18 07:51:08 +00:00
ld-v850 include/elf/ 2004-12-16 16:56:04 +00:00
ld-versados Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-x86-64 Updo the last change to binutils and ld/testsuite. 2006-02-02 22:53:46 +00:00
ld-xc16x Add support for the Infineon XC16X. 2006-02-17 14:36:28 +00:00
ld-xstormy16 Update FSF addresses 2005-05-12 07:32:09 +00:00
ld-xtensa Update FSF addresses 2005-05-12 07:32:09 +00:00
lib 2006-01-27 H.J. Lu <hongjiu.lu@intel.com> 2006-01-27 14:32:04 +00:00
ChangeLog bfd/ 2006-03-02 08:50:04 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-9303