[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relo
From: |
palmer at gcc dot gnu.org |
Subject: |
[Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type |
Date: |
Wed, 13 Sep 2023 01:10:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
Palmer Dabbelt <palmer at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |palmer at gcc dot gnu.org
--- Comment #1 from Palmer Dabbelt <palmer at gcc dot gnu.org> ---
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
touch less (like leaving R_RISCV_ALIGN in outputs even after we've aligned, for
example) but others we'd have to avoid relaxing (like R_RISCV_CALL, which
requires two instructions). Certainly producing binaries with R_RISCV_NONE is
a bug, it's not even in the psABI so we can't be producing binaries with it.
So I think we're happy to fix bugs here, but we really need to know what the
desired output is.
Do you have something more concrete about what you're looking for?
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/30844] New: ld riscv: --emit-relocs does not retain the original relocation type, i at maskray dot me, 2023/09/12
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, i at maskray dot me, 2023/09/12
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, i at maskray dot me, 2023/09/12
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type,
palmer at gcc dot gnu.org <=
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, i at maskray dot me, 2023/09/13
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, palmer at gcc dot gnu.org, 2023/09/13
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, nelsonc1225 at sourceware dot org, 2023/09/13
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, amodra at gmail dot com, 2023/09/14
- [Bug ld/30844] ld riscv: --emit-relocs does not retain the original relocation type, i at maskray dot me, 2023/09/19