binutils-gdb/ld/testsuite
H.J. Lu e1f987424b Put IRELATIVE relocations after JUMP_SLOT.
bfd/

2011-10-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13302
	* elf32-i386.c (elf_i386_link_hash_table): Add next_jump_slot_index
	and next_irelative_index.
	(elf_i386_link_hash_table_create): Initialize next_jump_slot_index
	and next_irelative_index.
	(elf_i386_allocate_dynrelocs): Increment reloc_count instead of
	next_tls_desc_index.
	(elf_i386_size_dynamic_sections): Set next_tls_desc_index and
	next_irelative_index from reloc_count.
	(elf_i386_finish_dynamic_symbol): Put R_386_IRELATIVE after
	R_386_JUMP_SLOT.

	* elf64-x86-64.c (elf_x86_64_link_hash_table): Add
	next_jump_slot_index and next_irelative_index.
	(elf_x86_64_link_hash_table_create): Initialize
	next_jump_slot_index and next_irelative_index.
	(elf_x86_64_size_dynamic_sections): Set next_irelative_index
	from reloc_count.
	(elf_x86_64_finish_dynamic_symbol): Put R_X86_64_IRELATIVE after
	R_X86_64_JUMP_SLOT.

ld/testsuite/

2011-10-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/13302
	* ld-ifunc/ifunc-16-i386.d: New.
	* ld-ifunc/ifunc-16-x86-64.d: Likewise.
	* ld-ifunc/ifunc-16-x86.s: Likewise.
2011-10-21 15:13:37 +00:00
..
config
ld-alpha
ld-arm Jie Zhang <jie@codesourcery.com> 2011-10-18 14:41:55 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris * ld-cris/pic-gc-72.d: Adjust for dropping unused undefined 2011-10-14 06:51:48 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf PR ld/13177 2011-10-19 07:17:21 +00:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc PR ld/13177 2011-10-19 07:17:21 +00:00
ld-h8300
ld-i386 ld/testsuite/ 2011-07-27 20:58:14 +00:00
ld-ia64
ld-ifunc Put IRELATIVE relocations after JUMP_SLOT. 2011-10-21 15:13:37 +00:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-mips-elf bfd/ 2011-07-24 14:20:15 +00:00
ld-misc
ld-mmix PR ld/12815 2011-07-25 01:16:05 +00:00
ld-mn10300
ld-pe
ld-pie
ld-plugin PR ld/13329 2011-10-06 10:07:17 +00:00
ld-powerpc ld/ 2011-10-10 09:05:41 +00:00
ld-s390
ld-scripts * readelf.c (get_machine_dlags): Add support for RX's PID mode. 2011-10-05 14:13:31 +00:00
ld-selective * ld-selective/selective.exp: Use check_gc_sections_available. 2011-10-20 12:34:20 +00:00
ld-sh
ld-shared
ld-sparc Fix sparc TLS call relaxation when the delay slot sets up %o0. 2011-10-19 00:32:25 +00:00
ld-spu
ld-srec
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined
ld-unique ELFOSABI_GNU 2011-07-03 13:37:09 +00:00
ld-v850
ld-versados
ld-vxworks
ld-x86-64 Use .got.plt for IFUNC symbols if there are no GOT relocations. 2011-09-12 18:17:36 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib PR ld/13177 2011-10-19 07:17:21 +00:00
ChangeLog Put IRELATIVE relocations after JUMP_SLOT. 2011-10-21 15:13:37 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-9303