aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbarch.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-12-19 11:34:47 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-12-19 11:34:47 -0800
commit9ef5d938819dff73d7640a2654b07df64670d7f9 (patch)
tree035e8760ec659165e1dc2d2665604c02d3a85f33 /gdb/gdbarch.c
parentfa8761a3e0d999ada63194291ddf9b308a8d8276 (diff)
downloadgdb-9ef5d938819dff73d7640a2654b07df64670d7f9.zip
gdb-9ef5d938819dff73d7640a2654b07df64670d7f9.tar.gz
gdb-9ef5d938819dff73d7640a2654b07df64670d7f9.tar.bz2
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.
Diffstat (limited to 'gdb/gdbarch.c')
0 files changed, 0 insertions, 0 deletions