bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/29077] RISCV: .align directive interferes with relaxations


From: nelsonc1225 at sourceware dot org
Subject: [Bug ld/29077] RISCV: .align directive interferes with relaxations
Date: Mon, 05 Sep 2022 08:01:05 +0000

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

Nelson Chu <nelsonc1225 at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX
                 CC|                            |nelsonc1225 at sourceware dot 
org

--- Comment #2 from Nelson Chu <nelsonc1225 at sourceware dot org> ---
We should reserve the maximum section alignment when doing relaxations, even if
the section alignment doesn't seems to affect.  Since sometimes the alignment
will stop the code shrinking, but linker cannot know the final addresses when
doing relaxations.

Consider this,
https://github.com/bminor/binutils-gdb/commit/c6261a00c3e70dd8e508062ea43a1bcb6d547621.

This doesn't a bug, but we probably will have better estimates in the future,
so just marked as RESOLVED and WONTFIX.

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