bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27433] RISC-V linker might lose relax opportunities since "again


From: nelsonc1225 at sourceware dot org
Subject: [Bug ld/27433] RISC-V linker might lose relax opportunities since "again" doesn't work as expected
Date: Thu, 18 Feb 2021 09:06:56 +0000

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

--- Comment #2 from Nelson Chu <nelsonc1225 at sourceware dot org> ---
The attached is the proposed solution.  We use a new boolean "restart_relax" to
determine if we need to re-run the whole relax passes again from 0 to 2.  Once
we have deleted the code between relax pass 0 to 2, the "restart_relax" will be
set to TRUE, and then we should re-run the whole relaxations again to give them
more chances to shorten the code.  We will only enter into the relax pass 3
when the "restart_relax" is FALSE, since we can't relax anything else once we
start to handle the alignments.

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