binutils-gdb/ld/testsuite
Richard Sandiford cc3e26bed7 bfd/
* elf32-m68k.c (elf_m68k_plt_info): New structure.
	(elf_m68k_plt0_entry): Add R_68K_PC32-style in-place addends.
	(elf_m68k_plt_entry): Likewise.
	(elf_m68k_plt_info): New table.
	(CFV4E_PLT_ENTRY_SIZE): Rename to...
	(ISAB_PLT_ENTRY_SIZE): ...this.
	(CFV4E_FLAG): Delete.
	(elf_cfv4e_plt0_entry): Rename to...
	(elf_isab_plt0_entry): ...this.  Adjust comments.  Use (-6,%pc,%d0)
	for the second instruction too.
	(elf_cfv4e_plt_entry): Rename to...
	(elf_isab_plt_entry): ...this.  Adjust comments and use (-6,%pc,%d0).
	(elf_isab_plt_info): New table.
	(CPU32_FLAG): Delete.
	(PLT_CPU32_ENTRY_SIZE): Rename to...
	(CPU32_PLT_ENTRY_SIZE): ...this.
	(elf_cpu32_plt0_entry): Update bounds accordingly.  Add R_68K_PC32-
	style in-place addends.
	(elf_cpu32_plt_entry): Likewise.
	(elf_cpu32_plt_info): New table.
	(elf_m68k_link_hash_table): Add a plt_info field.
	(elf_m68k_link_hash_table_create): Initialize it.
	(elf_m68k_get_plt_info): New function.
	(elf_m68k_always_size_sections): Likewise.
	(elf_m68k_adjust_dynamic_symbol): Use the plt_info hash table field.
	(elf_m68k_install_pc32): New function.
	(elf_m68k_finish_dynamic_symbol): Factor code using plt_info and
	elf_m68k_install_pc32.
	(elf_m68k_finish_dynamic_sections): Likewise.
	(elf_m68k_plt_sym_val): Use elf_m68k_get_plt_info.
	(elf_backend_always_size_sections): Define.

ld/testsuite/
	* ld-m68k/plt1.s, ld-m68k/plt1-empty.s, ld-m68k/plt1.ld: New files.
	* ld-m68k/plt1-68020.d, ld-m68k/plt1-cpu32.d: Likewise.
	* ld-m68k/plt1-isab.d: Likewise.
	* ld-m68k/m68k.exp: Run new PLT tests.
2006-06-14 08:27:41 +00:00
..
config
ld-alpha bfd/ 2006-06-02 00:32:00 +00:00
ld-arm 2006-05-24 Paul Brook <paul@codesourcery.com> 2006-05-24 17:10:02 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris bfd/ 2006-06-02 00:32:00 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf * ld-elf/sec64k.exp: Add "main" symbol. Use dc.a for addresses. 2006-06-05 12:53:50 +00:00
ld-elfcomm
ld-elfvers * ld-elfvers/vers.exp (objdump_versionstuff): Allow versions in 2006-06-06 04:30:21 +00:00
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-h8300
ld-i386 bfd/ 2006-06-02 00:32:00 +00:00
ld-ia64 bfd/ 2006-06-02 00:32:00 +00:00
ld-linkonce
ld-m68hc11
ld-m68k bfd/ 2006-06-14 08:27:41 +00:00
ld-maxq
ld-mips-elf [ bfd/ChangeLog ] 2006-06-12 11:35:45 +00:00
ld-mmix bfd/ 2006-06-02 00:32:00 +00:00
ld-pe
ld-pie
ld-powerpc * ld-powerpc/tlsexe.r: Update for removal of some section syms. 2006-06-02 07:53:30 +00:00
ld-s390 * ld-powerpc/tlsexe.r: Update for removal of some section syms. 2006-06-02 07:53:30 +00:00
ld-scripts * ld-scripts/empty-orphan.d: Update again. 2006-05-19 11:50:31 +00:00
ld-selective
ld-sh
ld-shared
ld-sparc bfd/ 2006-06-02 00:32:00 +00:00
ld-srec
ld-undefined
ld-v850
ld-versados
ld-x86-64 bfd/ 2006-06-02 00:32:00 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib
ChangeLog bfd/ 2006-06-14 08:27:41 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-9303