# Source file used to test the jal macro with -KPIC code.
-
-text_label:
+
+ .weak weak_text_label
+
+ .ent text_label
+text_label:
+ .frame $sp,0,$31
.set noreorder
.cpload $25
.set reorder
jal $25
jal $4,$25
jal text_label
+ jal weak_text_label
jal external_text_label
-
-# Test j as well
+
+# Test j as well.
j text_label
+ .end text_label
-# Round to a 16 byte boundary, for ease in testing multiple targets.
- nop
- nop
- nop
- nop
+# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
+ .align 2
+ .space 8