diff options
Diffstat (limited to 'binutils/testsuite/binutils-all')
-rw-r--r-- | binutils/testsuite/binutils-all/x86-64/lam-u48.d | 12 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/x86-64/lam-u48.s | 27 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/x86-64/lam-u57.d | 12 | ||||
-rw-r--r-- | binutils/testsuite/binutils-all/x86-64/lam-u57.s | 27 |
4 files changed, 78 insertions, 0 deletions
diff --git a/binutils/testsuite/binutils-all/x86-64/lam-u48.d b/binutils/testsuite/binutils-all/x86-64/lam-u48.d new file mode 100644 index 0000000..92d7d81 --- /dev/null +++ b/binutils/testsuite/binutils-all/x86-64/lam-u48.d @@ -0,0 +1,12 @@ +#PROG: objcopy +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes +#objcopy: +#readelf: -n + +Displaying notes found in: .note.gnu.property +[ ]+Owner[ ]+Data size[ ]+Description + GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 feature: LAM_U48 + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/lam-u48.s b/binutils/testsuite/binutils-all/x86-64/lam-u48.s new file mode 100644 index 0000000..52db75f --- /dev/null +++ b/binutils/testsuite/binutils-all/x86-64/lam-u48.s @@ -0,0 +1,27 @@ + .section ".note.gnu.property", "a" +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + .long 1f - 0f /* name length */ + .long 5f - 2f /* data length */ + .long 5 /* note type */ +0: .asciz "GNU" /* vendor name */ +1: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +2: .long 0xc0000002 /* pr_type. */ + .long 4f - 3f /* pr_datasz. */ +3: + .long 0x4 +4: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +5: diff --git a/binutils/testsuite/binutils-all/x86-64/lam-u57.d b/binutils/testsuite/binutils-all/x86-64/lam-u57.d new file mode 100644 index 0000000..c922075 --- /dev/null +++ b/binutils/testsuite/binutils-all/x86-64/lam-u57.d @@ -0,0 +1,12 @@ +#PROG: objcopy +#as: --64 -defsym __64_bit__=1 -mx86-used-note=yes +#objcopy: +#readelf: -n + +Displaying notes found in: .note.gnu.property +[ ]+Owner[ ]+Data size[ ]+Description + GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 feature: LAM_U57 + GNU 0x00000020 NT_GNU_PROPERTY_TYPE_0 + Properties: x86 ISA used: + x86 feature used: x86 diff --git a/binutils/testsuite/binutils-all/x86-64/lam-u57.s b/binutils/testsuite/binutils-all/x86-64/lam-u57.s new file mode 100644 index 0000000..d53098d --- /dev/null +++ b/binutils/testsuite/binutils-all/x86-64/lam-u57.s @@ -0,0 +1,27 @@ + .section ".note.gnu.property", "a" +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif + .long 1f - 0f /* name length */ + .long 5f - 2f /* data length */ + .long 5 /* note type */ +0: .asciz "GNU" /* vendor name */ +1: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +2: .long 0xc0000002 /* pr_type. */ + .long 4f - 3f /* pr_datasz. */ +3: + .long 0x8 +4: +.ifdef __64_bit__ + .p2align 3 +.else + .p2align 2 +.endif +5: |