property-x86-2.S 580 B

123456789101112131415161718192021222324252627282930
  1. #ifdef __LP64__
  2. # define ALIGN 3
  3. #else
  4. # define ALIGN 2
  5. #endif
  6. .section ".note.gnu.property", "a"
  7. .p2align ALIGN
  8. .long 1f - 0f /* name length. */
  9. .long 3f - 1f /* data length. */
  10. /* NT_GNU_PROPERTY_TYPE_0 */
  11. .long 5 /* note type. */
  12. 0:
  13. .asciz "GNU" /* vendor name. */
  14. 1:
  15. .p2align ALIGN
  16. /* GNU_PROPERTY_X86_ISA_1_USED */
  17. .long 0xc0010002 /* pr_type. */
  18. .long 5f - 4f /* pr_datasz. */
  19. 4:
  20. .long 0x3
  21. 5:
  22. .p2align ALIGN
  23. /* GNU_PROPERTY_X86_ISA_1_NEEDED */
  24. .long 0xc0008002 /* pr_type. */
  25. .long 5f - 4f /* pr_datasz. */
  26. 4:
  27. .long 0xa
  28. 5:
  29. .p2align ALIGN
  30. 3: