bug-binutils
[Top][All Lists]
Advanced

[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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]