blob: 19a32014dcd91611a8eb0ef1eacbeddd78ee9d2a [file] [log] [blame]
;;; Bug #3331: Invalid group relaxation, bset uses an invalid address
.sect .text
.globl _start
.relax L1
ldx #foo ;; This relax group must not be changed.
bset 0,x #4
ldd #2
std table ;; This instruction uses a symbol in page0
;; and it triggered the relaxation of the
;; previous relax group
.sect .page0
.globl table
table: .long 0
.sect .data
.globl foo
foo: .long 0