summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/dwarf-3-func.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/elf/dwarf-3-func.s')
-rw-r--r--gas/testsuite/gas/elf/dwarf-3-func.s40
1 files changed, 40 insertions, 0 deletions
diff --git a/gas/testsuite/gas/elf/dwarf-3-func.s b/gas/testsuite/gas/elf/dwarf-3-func.s
new file mode 100644
index 00000000000..4610686afd2
--- /dev/null
+++ b/gas/testsuite/gas/elf/dwarf-3-func.s
@@ -0,0 +1,40 @@
+ .text
+
+ .ifndef LOCAL
+efunc1:
+ .nop
+ .nop
+ .global efunc1
+ .type efunc1, %function
+ .size efunc1, .-efunc1
+ .endif
+
+ .ifndef GLOBAL
+lfunc1:
+ .nops 16
+ .nop
+ .type lfunc1, %function
+ .size lfunc1, .-lfunc1
+ .endif
+
+ .ifndef LOCAL
+efunc2:
+ .nop
+ .nops 32
+ .nop
+ .global efunc2
+ .type efunc2, %function
+ .size efunc2, .-efunc2
+ .endif
+
+ .global efunc3
+ .type efunc3, %function
+
+ .ifndef GLOBAL
+lfunc2:
+ .nop
+ .nop
+ .nop
+ .type lfunc2, %function
+ .size lfunc2, .-lfunc2
+ .endif