projects
/
external
/
binutils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: Verify the ISA mode and alignment of branch and jump targets
[external/binutils.git]
/
ld
/
testsuite
/
ld-mips-elf
/
undefweak-overflow.s
diff --git
a/ld/testsuite/ld-mips-elf/undefweak-overflow.s
b/ld/testsuite/ld-mips-elf/undefweak-overflow.s
index
2cec4b9
..
a7a9937
100644
(file)
--- a/
ld/testsuite/ld-mips-elf/undefweak-overflow.s
+++ b/
ld/testsuite/ld-mips-elf/undefweak-overflow.s
@@
-21,6
+21,11
@@
start:
bal foo
lui $4, %gp_rel(foo)
+ jal foo
+ nop
+ j foo
+ nop
+
.set mips32r2
.set micromips
micro:
@@
-30,3
+35,18
@@
micro:
nop
b foo
nop
+ bal foo
+ nop
+
+ jal foo
+ nop
+ j foo
+ nop
+
+ .set nomicromips
+ .set mips16
+mips16:
+ b foo
+
+ jal foo
+ nop