summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/type-noifunc.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/elf/type-noifunc.s')
-rw-r--r--gas/testsuite/gas/elf/type-noifunc.s20
1 files changed, 20 insertions, 0 deletions
diff --git a/gas/testsuite/gas/elf/type-noifunc.s b/gas/testsuite/gas/elf/type-noifunc.s
new file mode 100644
index 0000000000..11f75bf53c
--- /dev/null
+++ b/gas/testsuite/gas/elf/type-noifunc.s
@@ -0,0 +1,20 @@
+ .text
+ .size function,1
+ .type function,%function
+function:
+ .byte 0x0
+ .data
+ .type object,%object
+ .size object,1
+object:
+ .byte 0x0
+ .type tls_object,%tls_object
+ .size tls_object,1
+tls_object:
+ .byte 0x0
+ .type notype,%notype
+ .size notype,1
+notype:
+ .byte 0x0
+ .comm common, 1
+ .type common,STT_COMMON