]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
I found that the relax failure for execute/930628-1.c is due to gas
authorJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 1 Jul 1998 20:42:42 +0000 (20:42 +0000)
committerJoern Rennecke <joern.rennecke@embecosm.com>
Wed, 1 Jul 1998 20:42:42 +0000 (20:42 +0000)
commitd1a7caf90137bd08d3830d69ca5a455661af0883
treee67c40d7386d07203897d56e237e55703b039bd3
parentf3b86a30f914d3a74e4f167bd4a97170f21a9776
I found that the relax failure for execute/930628-1.c is due to gas
incorrectly relaxing an out-of-range conditional branch with delay slot.
It turned:
                        bf.s    L6              (slot mov.l   r12,@(44,r0))
into:

   2c:  8f 01 a0 8b     bf.s    32 <_main+32>   (slot bra       L6)
   30:  00 09           nop
   32:  10 cb           mov.l   r12,@(44,r0)

* config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
Changed all users of COND12_DELAY.
gas/config/tc-sh.c