binutils-gdb/ld/testsuite/ld-s390/reloccheck-1.s
Andreas Krebbel 906f69cf65 IBM zSystems: Issue error for *DBL relocs on misaligned symbols
Relocs like PC32DBL require a right shift of the symbol value.  There
is no situation where dropping symbol value bits with the right shift
is a good thing.  Hence we now issue an error to detect such problems.
2022-10-19 09:03:17 +02:00

15 lines
197 B
ArmAsm

.machinemode zarch
.machine "z900"
.text
.align 8
.globl start
.type start, @function
start:
larl %r1, test
.globl test
.data
.align 4
.byte 23
test:
.zero 4