diff options
Diffstat (limited to 'ld/testsuite/ld-i386/property-x86-2.S')
-rw-r--r-- | ld/testsuite/ld-i386/property-x86-2.S | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ld/testsuite/ld-i386/property-x86-2.S b/ld/testsuite/ld-i386/property-x86-2.S new file mode 100644 index 0000000..f11e1fe --- /dev/null +++ b/ld/testsuite/ld-i386/property-x86-2.S @@ -0,0 +1,25 @@ + .section ".note.gnu.property", "a" + .p2align 2 + .long 1f - 0f /* name length. */ + .long 3f - 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 5f - 4f /* pr_datasz. */ +4: + .long 0x3 +5: + .p2align 2 + /* GNU_PROPERTY_X86_ISA_1_NEEDED */ + .long 0xc0000001 /* pr_type. */ + .long 5f - 4f /* pr_datasz. */ +4: + .long 0xa +5: + .p2align 2 +3: |