aboutsummaryrefslogtreecommitdiff
path: root/test/old-elf/X86_64/Inputs/note_ro_rw.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/old-elf/X86_64/Inputs/note_ro_rw.s')
-rw-r--r--test/old-elf/X86_64/Inputs/note_ro_rw.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/old-elf/X86_64/Inputs/note_ro_rw.s b/test/old-elf/X86_64/Inputs/note_ro_rw.s
new file mode 100644
index 000000000000..2a0eff5dfb2b
--- /dev/null
+++ b/test/old-elf/X86_64/Inputs/note_ro_rw.s
@@ -0,0 +1,21 @@
+ .section ".note.ro", "a"
+ .p2align 2
+ .long 1f - 0f # name size (not including padding)
+ .long 3f - 2f # desc size (not including padding)
+ .long 0x01234567 # type
+0: .asciz "NaMe" # name
+1: .p2align 2
+2: .long 0x76543210 # desc
+ .long 0x89abcdef
+3: .p2align 2
+ .section ".note.rw", "aw"
+ .p2align 2
+ .long 1f - 0f # name size (not including padding)
+ .long 3f - 2f # desc size (not including padding)
+ .long 0x01234567 # type
+0: .asciz "NaMe" # name
+1: .p2align 2
+2: .long 0x76543210 # desc
+ .long 0x89abcdef
+3: .p2align 2
+