Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/riscv/riscv
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.
Home |
Main Index |
Thread Index |
Old Index