diff options
Diffstat (limited to 'ld/testsuite/ld-x86-64/pr31868b.s')
-rw-r--r-- | ld/testsuite/ld-x86-64/pr31868b.s | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/pr31868b.s b/ld/testsuite/ld-x86-64/pr31868b.s new file mode 100644 index 0000000..afa529e --- /dev/null +++ b/ld/testsuite/ld-x86-64/pr31868b.s @@ -0,0 +1,60 @@ + .section ".note.gnu.property", "a" +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + .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: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + /* GNU_PROPERTY_X86_ISA_1_NEEDED */ + .long 0xc0008002 /* pr_type. */ + .long 3f - 2f /* pr_datasz. */ +2: + .long 0x7 +3: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +4: + .section ".note.gnu.property", "a" +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + .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: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + /* GNU_PROPERTY_X86_ISA_1_USED */ + .long 0xc0010002 /* pr_type. */ + .long 3f - 2f /* pr_datasz. */ +2: + .long 0x1b +3: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +4: |