mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
If the symbol index is not zero, the addend is used to represent the first and the third expressions of the .align. The lowest 8 bits are used to represent the first expression. Other bits are used to represent the third expression. The addend of R_LARCH_ALIGN for ".align 5, ,4" is 0x405. The addend of R_LARCH_ALIGN for ".balign 32, ,4" is 0x405.
13 lines
262 B
ArmAsm
13 lines
262 B
ArmAsm
# relax-align.o has 3 andi(nop) insns.
|
|
# relax-align has 2 andi insns, ld relax delete andi insns.
|
|
# the last pcaddi 16 bytes align.
|
|
.text
|
|
L1:
|
|
la.local $a0, L1
|
|
.align 3
|
|
la.local $a0, L1
|
|
.align 3, ,4
|
|
la.local $a0, L1
|
|
.align 3, ,2
|
|
la.local $a0, L1
|