summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386/pr23372a.s
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-i386/pr23372a.s')
-rw-r--r--ld/testsuite/ld-i386/pr23372a.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/pr23372a.s b/ld/testsuite/ld-i386/pr23372a.s
new file mode 100644
index 00000000000..9849d620a1d
--- /dev/null
+++ b/ld/testsuite/ld-i386/pr23372a.s
@@ -0,0 +1,18 @@
+ .section ".note.gnu.property", "a"
+ .p2align 2
+ .long 1f - 0f /* name length. */
+ .long 4f - 1f /* data length. */
+ /* NT_GNU_PROPERTY_TYPE_0 */
+ .long 5 /* note type. */
+0:
+ .asciz "GNU" /* vendor name. */
+1:
+ .p2align 2
+ /* GNU_PROPERTY_X86_ISA_1_USED */
+ .long 0xc0000000 /* pr_type. */
+ .long 3f - 2f /* pr_datasz. */
+2:
+ .long 0x0
+3:
+ .p2align 2
+4: