Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
I'm using gcc on 64-bit Raspberry Pi OS. It gives me doubleword alignment for text strings:
.text
.section .rodata
.align 3
.LC0:
.string "Enter one character: "
.LC1:
.string "You entered: "
.align 2
.global main
.type main, %function
main: