bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/25181] RISC-V: Linker relaxation may fail if there are R_R


From: yitingwang16 at outlook dot com
Subject: [Bug binutils/25181] RISC-V: Linker relaxation may fail if there are R_RISCV_ALIGN type relocations
Date: Sun, 10 Nov 2019 03:40:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25181

--- Comment #2 from Yiting Wang <yitingwang16 at outlook dot com> ---
I have a fix locally which changes the common ld/ldlang.c. I can post to
binutils mailing list for review.

I am not sure whether there is a possibility of a similar problem occurring
*between* passes instead of within a single pass. I.e. what if a call in B is
within range and so gets relaxed in one pass, then in a later pass B moves down
due to relaxation in a previous section - but the destination stays in the same
place due to alignment? Is that possible?

-- 
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]