binutils-gdb/ld/testsuite/ld-loongarch-elf/anno-sym.l
mengqinggang c3d507aba3 LoongArch: Add support for the third expression of .align for R_LARCH_ALIGN
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.
2023-12-22 14:20:18 +08:00

4 lines
73 B
Common Lisp

#...
.*: in function `(|_)start':
.*: undefined reference to `foo'
#pass