aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/jal-svr4pic.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/mips/jal-svr4pic.s')
-rw-r--r--gas/testsuite/gas/mips/jal-svr4pic.s7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/testsuite/gas/mips/jal-svr4pic.s b/gas/testsuite/gas/mips/jal-svr4pic.s
index 9d89dfa..1174e94 100644
--- a/gas/testsuite/gas/mips/jal-svr4pic.s
+++ b/gas/testsuite/gas/mips/jal-svr4pic.s
@@ -1,5 +1,7 @@
# Source file used to test the jal macro with -KPIC code.
+.weak weak_text_label
+
text_label:
.set noreorder
.cpload $25
@@ -8,13 +10,12 @@ text_label:
jal $25
jal $4,$25
jal text_label
+ jal weak_text_label
jal external_text_label
-
+
# Test j as well
j text_label
# Round to a 16 byte boundary, for ease in testing multiple targets.
nop
nop
- nop
- nop