Retro68/binutils/ld/testsuite/ld-x86-64/property-x86-2.S

32 lines
606 B
ArmAsm
Raw Normal View History

#ifdef __LP64__
# define ALIGN 3
#else
# define ALIGN 2
#endif
.section ".note.gnu.property", "a"
.p2align ALIGN
.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 ALIGN
/* GNU_PROPERTY_X86_ISA_1_USED */
2022-10-27 18:45:45 +00:00
.long 0xc0010002 /* pr_type. */
.long 5f - 4f /* pr_datasz. */
4:
.long 0x3
5:
.p2align ALIGN
/* GNU_PROPERTY_X86_ISA_1_NEEDED */
2022-10-27 18:45:45 +00:00
.long 0xc0008002 /* pr_type. */
.long 5f - 4f /* pr_datasz. */
4:
.long 0xa
5:
.p2align ALIGN
3:
2022-10-27 18:45:45 +00:00
.section .note.GNU-stack