CVS commit: src/sys/arch/riscv/riscv
"Thor Lancelot Simon" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: tls Date: Sun Mar 29 12:10:50 UTC 2026 Modified Files: src/sys/arch/riscv/riscv: bus_space_generic.S Log Message: Add alignment constraint where ASCII strings are at the end of asm functions; it's not clear whether this is a toolchain bug, but the combination of odd length strings right at the function end, the toolchain's "linker relaxation", and the technically variable length of encoded riscv insns (they can be 2 bytes, but 4 byte instructions must be 4 byte aligned) seems to be causing instructions in the next function to be out of alignment, especially with -Os. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/riscv/riscv/bus_space_generic.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.