Re: [PATCH] riscv: Fix incorrect gnu property alignment on rv32

2025-04-10 Thread Kito Cheng
On Thu, Apr 10, 2025 at 9:12 PM Jesse Huang wrote: > > Codegen is incorrectly emitting a ".p2align 3" that coerces the > alignment of the .note.gnu.property section from 4 to 8 on rv32. > --- > gcc/config/riscv/riscv.cc | 2 +- > gcc/testsuite/gcc.target/riscv/gnu-proper

[PATCH] riscv: Fix incorrect gnu property alignment on rv32

2025-04-10 Thread Jesse Huang
Codegen is incorrectly emitting a ".p2align 3" that coerces the alignment of the .note.gnu.property section from 4 to 8 on rv32. --- gcc/config/riscv/riscv.cc | 2 +- gcc/testsuite/gcc.target/riscv/gnu-property-rv32.c | 12 gcc/testsuite/gcc.target/riscv/gnu-