Sign in
gnu
/
binutils-gdb
/
00d962d155e1cff6ce144f60f81a416e0f9b872e
/
.
/
gas
/
testsuite
/
gas
/
m68k
/
p2663.s
blob: 9f3650fb8aa02b908ffaca6aa35eafb88def32c5 [
file
] [
log
] [
blame
]
|
|
This code generates an incorrect pc relative offset
|
bug
:
movel
#4,%d7
jsr table
(%pc,%
d7.w
)
|
wrong
jsr
%pc@(table-.-2:b,%
d7
:
w
)
|
correct but cryptic
nop
nop
table
:
bra junk
bra junk
bra junk
junk
:
nop
rts