aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-19 05:22:23 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-19 05:22:35 -0700
commit280958942b74f3164708700f195188c4d3446f58 (patch)
tree23b86f959d781b52563ae9a5f9f107dbc10cf72d /bfd/ChangeLog
parent1ba1f393faac96f6ad80499d7133df23d6187b8c (diff)
downloadgdb-280958942b74f3164708700f195188c4d3446f58.zip
gdb-280958942b74f3164708700f195188c4d3446f58.tar.gz
gdb-280958942b74f3164708700f195188c4d3446f58.tar.bz2
tilegx: Check bfd_link_executable for TLS check
Copied from x86, check bfd_link_executable, instead of bfd_link_pic, for TLS transition check. Not sure if it works correctly. All usages of bfd_link_pic should be audited. PR ld/22263 * elfxx-tilegx.c (tilegx_elf_tls_transition): Replace bfd_link_pic with !bfd_link_executable, !bfd_link_pic with bfd_link_executable for TLS check. (tilegx_elf_check_relocs): Likewise. (allocate_dynrelocs): Likewise. (tilegx_elf_relocate_section): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4ceb2dc..959cf06 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,6 +1,16 @@
2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
PR ld/22263
+ * elfxx-tilegx.c (tilegx_elf_tls_transition): Replace
+ bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
+ bfd_link_executable for TLS check.
+ (tilegx_elf_check_relocs): Likewise.
+ (allocate_dynrelocs): Likewise.
+ (tilegx_elf_relocate_section): Likewise.
+
+2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/22263
* elf32-tilepro.c (tilepro_elf_tls_transition): Replace
bfd_link_pic with !bfd_link_executable, !bfd_link_pic with
bfd_link_executable for TLS check.