binutils-gdb/ld/testsuite
H.J. Lu 9ef5d93881 Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections
It is a good pratice to set the SHF_INFO_LINK bit when the sh_info field
represents a section header index.

bfd/

	PR binutils/16317
	* elf.c (assign_section_numbers): Set the SHF_INFO_LINK bit for
	SHT_REL/SHT_RELA sections when setting the sh_info field.

binutils/testsuite/

	PR binutils/16317
	* binutils-all/readelf.s: Updated.
	* binutils-all/readelf.s-64: Likewise.

ld/testsuite/

	PR binutils/16317
	* ld-elf/linkinfo1.s: New file.
	* ld-elf/linkinfo1a.d: Likewise.
	* ld-elf/linkinfo1b.d: Likewise.
2013-12-19 11:34:47 -08:00
..
config Add HOSTING_SLIBS and use it for -pie 2013-11-26 11:17:08 -08:00
ld-aarch64 ld/testsuite/ld-aarch64: Fixup IFUNC tests to work on all targets 2013-12-11 21:05:36 +00:00
ld-alpha
ld-arm ld/ARM: Fix script-type testsuite failure. 2013-11-14 08:39:59 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
ld-elfcomm
ld-elfvers Allow for extra st_other readelf output in ld testsuite 2013-11-04 10:18:47 +10:30
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386
ld-ia64 Pass ignored unresolved relocations to ld backend 2013-11-05 10:29:44 -08:00
ld-ifunc Allow for extra st_other readelf output in ld testsuite 2013-11-04 10:18:47 +10:30
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf binutils/testsuite/ 2013-11-27 09:11:06 +00:00
ld-misc
ld-mmix ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-mn10300
ld-nds32 Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
ld-nios2
ld-pe strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
ld-pie Set ET_EXEC for -pie -Ttext-segment= 2013-12-12 07:41:27 -08:00
ld-plugin [ld/testsuite/] 2013-11-27 13:43:39 +00:00
ld-powerpc Edit ELFv2 global entry prologue to non-PIC 2013-11-04 10:21:32 +10:30
ld-s390
ld-scripts ld crossref test fix 2013-11-04 10:17:55 +10:30
ld-selective
ld-sh ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-shared
ld-size
ld-sparc
ld-spu
ld-srec
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-vxworks
ld-x86-64 Add bnd-branch-1 test 2013-11-21 04:53:05 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib ld/testsuite 2013-12-18 15:16:41 +00:00
ChangeLog Set SHF_INFO_LINK bit for SHT_REL/SHT_RELA sections 2013-12-19 11:34:47 -08:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-9303