Add support to GDB for the Renesas rl78 architecture.
[external/binutils.git] / gas / testsuite / gas / mips / jal-svr4pic.s
index 9d89dfa..4b4adf1 100644 (file)
@@ -1,6 +1,10 @@
 # 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
@@ -8,13 +12,13 @@ text_label:
        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