[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/29077] RISCV: .align directive disables secondary relaxations
From: |
patrick at rivosinc dot com |
Subject: |
[Bug ld/29077] RISCV: .align directive disables secondary relaxations |
Date: |
Wed, 20 Apr 2022 19:54:07 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29077
--- Comment #1 from Patrick O'Neill <patrick at rivosinc dot com> ---
Upon investigating further, I think this just indicates an issue with .align
and relaxations in general, not just secondary relaxations.
For example, the call is not relaxed:
.text
foo:
jr ra
.zero 1048568
_start:
call foo
jr ra
.align 4
If you remove the .align 4, then the call is relaxed.
--
You are receiving this mail because:
You are on the CC list for the bug.