[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2020-04-20 Thread raj.khem at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 Khem Raj changed: What|Removed |Added CC||raj.khem at gmail dot com -- You are rece

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #4 f

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-13 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 Jim Wilson changed: What|Removed |Added Blocks||24676 Referenced Bugs: https://sourcew

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-13 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 --- Comment #3 from Jim Wilson --- Via IRC, elfnn-riscv.c circa line 563 has case R_RISCV_TLS_GOT_HI20: if (bfd_link_pic (info)) info->flags |= DF_STATIC_TLS; where this should be bfd_link_dll instead of bfd_link_

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-12 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 --- Comment #2 from Jim Wilson --- The issue with the R_RISCV_NONE appears to be that we are pre-allocating space for dynamic relocs, and accidentally allocating one more than we need. This space is apparently cleared someplace. So it ends u

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-12 Thread wilson at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ld/24673] [RISCV] -fPIC -pie and -fPIC -no-pie create unexpected R_RISCV_NONE R_RISCV_DTPMOD64 relocations

2019-06-12 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24673 Fangrui Song changed: What|Removed |Added Target||riscv64-*-* -- You are receiving this