[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-19 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 --- Comment #6 from Fangrui Song --- (In reply to Alan Modra from comment #5) > (In reply to Fangrui Song from comment #0) > > For GNU ld's AArch64/PPC64/x86-64 ports, the --emit-relocs code retains the > > original relocation type even if a

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-14 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #5

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-13 Thread nelsonc1225 at sourceware dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 --- Comment #4 from Nelson Chu --- > The --emit-relocs should switch to preserve the original > relocation type, including R_RISCV_CALL_PLT(etc), > R_RISCV_RELAX, and R_RISCV_ALIGN. Looks reasonable, so based on this rule when setting

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-13 Thread palmer at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 --- Comment #3 from Palmer Dabbelt --- (In reply to Fangrui Song from comment #2) > (In reply to Palmer Dabbelt from comment #1) > > Nelson and I are just chatting about this. It's not intentional, but we > > also don't quite know what the

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-13 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 --- Comment #2 from Fangrui Song --- (In reply to Palmer Dabbelt from comment #1) > Nelson and I are just chatting about this. It's not intentional, but we > also don't quite know what the right answer is here: there's some relocs we > can

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-12 Thread palmer at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 Palmer Dabbelt changed: What|Removed |Added CC||palmer at gcc dot gnu.org ---

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-12 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 Fangrui Song changed: What|Removed |Added CC||jnoorman at igalia dot com -- You

[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type

2023-09-12 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=30844 Fangrui Song changed: What|Removed |Added CC||jrtc27 at jrtc27 dot com,