aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite/binutils-all/note-2-64.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite/binutils-all/note-2-64.s')
-rw-r--r--binutils/testsuite/binutils-all/note-2-64.s94
1 files changed, 94 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/note-2-64.s b/binutils/testsuite/binutils-all/note-2-64.s
new file mode 100644
index 0000000..51317c8
--- /dev/null
+++ b/binutils/testsuite/binutils-all/note-2-64.s
@@ -0,0 +1,94 @@
+ .text
+ .org 0x100
+ .global note1.s
+note1.s:
+ .word 0
+
+ .pushsection .gnu.build.attributes, "0x100000", %note
+ .balign 4
+ .dc.l 4
+ .dc.l 8
+ .dc.l 0x100
+ .asciz "$1"
+ .8byte note1.s
+
+ .dc.l 12
+ .dc.l 0
+ .dc.l 0x100
+ .asciz "$gcc 7.0.1"
+
+ .dc.l 2
+ .dc.l 0
+ .dc.l 0x100
+ .dc.b 0x2b, 0x2
+ .dc.b 0, 0
+
+ .dc.l 3
+ .dc.l 0
+ .dc.l 0x100
+ .dc.b 0x2a, 0x7, 0
+ .dc.b 0
+
+ .dc.l 3
+ .dc.l 0
+ .dc.l 0x100
+ .dc.b 0x2a, 0x6, 0
+ .dc.b 0
+ .popsection
+
+
+ .global note2.s
+note2.s:
+ .word 0x100
+
+ .pushsection .gnu.build.attributes, "0x100000", %note
+ .dc.l 4
+ .dc.l 8
+ .dc.l 0x100
+ .asciz "$1"
+ .8byte note2.s
+
+ .dc.l 12
+ .dc.l 0
+ .dc.l 0x100
+ .asciz "$gcc 7.0.1"
+
+ .dc.l 2
+ .dc.l 0
+ .dc.l 0x100
+ .dc.b 0x21, 0x2
+ .dc.b 0, 0
+
+ .dc.l 3
+ .dc.l 0
+ .dc.l 0x101
+ .dc.b 0x2a, 0x7, 1
+ .dc.b 0
+
+ .dc.l 3
+ .dc.l 0
+ .dc.l 0x100
+ .dc.b 0x2a, 0x6, 0
+ .dc.b 0
+ .popsection
+
+
+ .global note3.s
+note3.s:
+ .word 0x100
+
+ .pushsection .gnu.build.attributes, "0x100000", %note
+ .dc.l 4
+ .dc.l 8
+ .dc.l 0x100
+ .asciz "$1"
+ .8byte note3.s
+
+ .dc.l 12
+ .dc.l 0
+ .dc.l 0x100
+ .asciz "$gcc 7.0.1"
+
+ .popsection
+
+