From: Clément Chigot Date: Thu, 27 Oct 2022 08:45:00 +0000 (+0200) Subject: ld/testsuite: disable ilp32 tests for aarch64-qnx X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f7a5019a918c194c576781da71e98be788d69bbb;p=binutils-gdb.git ld/testsuite: disable ilp32 tests for aarch64-qnx aarch64nto32 emulation isn't supported. The tests will then fall back on aarch64elf32. It does work but some extra warnings are being generated because the "-z relro" being added aarch64nto but ignored by aarch64elf32 emulation. Skip the tests to avoid any problems. ld/ChangeLog: * testsuite/ld-aarch64/emit-relocs-112-overflow.d: Skip for aarch64nto. * testsuite/ld-aarch64/emit-relocs-112.d: Likewise. * testsuite/ld-aarch64/emit-relocs-113.d: Likewise. * testsuite/ld-aarch64/emit-relocs-114-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-114.d: Likewise. * testsuite/ld-aarch64/emit-relocs-115.d: Likewise. * testsuite/ld-aarch64/emit-relocs-116-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-116.d: Likewise. * testsuite/ld-aarch64/emit-relocs-117.d: Likewise. * testsuite/ld-aarch64/emit-relocs-118-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-118.d: Likewise. * testsuite/ld-aarch64/emit-relocs-119.d: Likewise. * testsuite/ld-aarch64/emit-relocs-22.d: Likewise. * testsuite/ld-aarch64/emit-relocs-23.d: Likewise. * testsuite/ld-aarch64/emit-relocs-28.d: Likewise. * testsuite/ld-aarch64/emit-relocs-86-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-86.d: Likewise. * testsuite/ld-aarch64/emit-relocs-87.d: Likewise. * testsuite/ld-aarch64/emit-relocs-88-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-88.d: Likewise. * testsuite/ld-aarch64/emit-relocs-89.d: Likewise. * testsuite/ld-aarch64/emit-relocs-90-overflow.d: Likewise. * testsuite/ld-aarch64/emit-relocs-90.d: Likewise. * testsuite/ld-aarch64/emit-relocs-92.d: Likewise. * testsuite/ld-aarch64/tls-desc-ie-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-all-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d: Likewise. * testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d: Likewise. --- diff --git a/ld/testsuite/ld-aarch64/emit-relocs-112-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-112-overflow.d index b66812b740e..4fbe787cb0f 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-112-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-112-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-552-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLE_LDST8_TPREL_LO12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-112.d b/ld/testsuite/ld-aarch64/emit-relocs-112.d index 8379cf211fe..ce6be9969c4 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-112.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-112.d @@ -1,6 +1,7 @@ #source: emit-relocs-552.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-113.d b/ld/testsuite/ld-aarch64/emit-relocs-113.d index 60e40e6ba2b..b892bb658d1 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-113.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-113.d @@ -1,6 +1,7 @@ #source: emit-relocs-553.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-114-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-114-overflow.d index 59261734dc2..463c0f1d8b8 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-114-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-114-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-554-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLE_LDST16_TPREL_LO12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-114.d b/ld/testsuite/ld-aarch64/emit-relocs-114.d index 96a2501d058..f883afaf2c5 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-114.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-114.d @@ -1,6 +1,7 @@ #source: emit-relocs-554.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-115.d b/ld/testsuite/ld-aarch64/emit-relocs-115.d index 95a6e317448..da04584315a 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-115.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-115.d @@ -1,6 +1,7 @@ #source: emit-relocs-555.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-116-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-116-overflow.d index f060c1731e1..f2ed5fca3ab 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-116-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-116-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-556-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLE_LDST32_TPREL_LO12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-116.d b/ld/testsuite/ld-aarch64/emit-relocs-116.d index bd2d6aabf48..4123d9818da 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-116.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-116.d @@ -1,6 +1,7 @@ #source: emit-relocs-556.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-117.d b/ld/testsuite/ld-aarch64/emit-relocs-117.d index a3bb606bf59..6aede666314 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-117.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-117.d @@ -1,6 +1,7 @@ #source: emit-relocs-557.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-118-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-118-overflow.d index 1eedac19d29..61f48e41053 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-118-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-118-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-558-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLE_LDST64_TPREL_LO12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-118.d b/ld/testsuite/ld-aarch64/emit-relocs-118.d index 90619742850..c5ec1927124 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-118.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-118.d @@ -1,6 +1,7 @@ #source: emit-relocs-558.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-119.d b/ld/testsuite/ld-aarch64/emit-relocs-119.d index 20e05eb81bf..cab426952bd 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-119.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-119.d @@ -1,6 +1,7 @@ #source: emit-relocs-559.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... 00010000 <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-22.d b/ld/testsuite/ld-aarch64/emit-relocs-22.d index b1e69e06d76..01da7ac900f 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-22.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-22.d @@ -1,6 +1,7 @@ #source: emit-relocs-22.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld --defsym foo1=0x12345 --defsym foo2=0x1234 -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr .*: +file format .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-23.d b/ld/testsuite/ld-aarch64/emit-relocs-23.d index abb939d48b6..466081ee16c 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-23.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-23.d @@ -1,6 +1,7 @@ #source: emit-relocs-23.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld --defsym foo=0x12345678 -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr .*: +file format .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-28.d b/ld/testsuite/ld-aarch64/emit-relocs-28.d index fd5c71c3b6d..cfc887a71be 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-28.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-28.d @@ -1,6 +1,7 @@ #source: emit-relocs-28.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] --defsym globala=0x11000 --defsym globalb=0x45000 --defsym globalc=0x1234 -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr .*: +file format .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-86-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-86-overflow.d index a9781a9515a..924a379efcb 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-86-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-86-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-86-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLD_ADD_DTPREL_LO12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-86.d b/ld/testsuite/ld-aarch64/emit-relocs-86.d index 00477853616..bd883d669d8 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-86.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-86.d @@ -1,6 +1,7 @@ #source: emit-relocs-86.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <\.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-87.d b/ld/testsuite/ld-aarch64/emit-relocs-87.d index dce85b6ae5c..ae6bc7eb4c5 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-87.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-87.d @@ -1,6 +1,7 @@ #source: emit-relocs-87.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-88-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-88-overflow.d index cedf505c323..cc0c02db878 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-88-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-88-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-88-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLD_MOVW_DTPREL_G0 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-88.d b/ld/testsuite/ld-aarch64/emit-relocs-88.d index a6f63208796..0fda7057576 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-88.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-88.d @@ -1,6 +1,7 @@ #source: emit-relocs-88.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-89.d b/ld/testsuite/ld-aarch64/emit-relocs-89.d index 33cf0cc7c95..fc1cddc020c 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-89.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-89.d @@ -1,6 +1,7 @@ #source: emit-relocs-89.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-90-overflow.d b/ld/testsuite/ld-aarch64/emit-relocs-90-overflow.d index f5f65b518d0..c43898f5552 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-90-overflow.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-90-overflow.d @@ -1,5 +1,6 @@ #source: emit-relocs-90-overflow.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #error: .*\(.text\+0x\d+\): relocation truncated to fit: R_AARCH64_P32_TLSLD_ADD_DTPREL_HI12 against symbol `v2' .* diff --git a/ld/testsuite/ld-aarch64/emit-relocs-90.d b/ld/testsuite/ld-aarch64/emit-relocs-90.d index d6ef58bae39..cf301d831c3 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-90.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-90.d @@ -1,6 +1,7 @@ #source: emit-relocs-90.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <.text>: diff --git a/ld/testsuite/ld-aarch64/emit-relocs-92.d b/ld/testsuite/ld-aarch64/emit-relocs-92.d index 0ff532b10f7..a0b582a7b89 100644 --- a/ld/testsuite/ld-aarch64/emit-relocs-92.d +++ b/ld/testsuite/ld-aarch64/emit-relocs-92.d @@ -1,6 +1,7 @@ #source: emit-relocs-92.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -e0 --emit-relocs +#notarget: *-*-nto* #objdump: -dr #... .* <.text>: diff --git a/ld/testsuite/ld-aarch64/tls-desc-ie-ilp32.d b/ld/testsuite/ld-aarch64/tls-desc-ie-ilp32.d index 2cf42dc634b..911f50eeba8 100644 --- a/ld/testsuite/ld-aarch64/tls-desc-ie-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-desc-ie-ilp32.d @@ -2,6 +2,7 @@ #target: [check_shared_lib_support] #as: -mabi=ilp32 #ld: -shared -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 90000080 adrp x0, 20000 <_GLOBAL_OFFSET_TABLE_> diff --git a/ld/testsuite/ld-aarch64/tls-relax-all-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-all-ilp32.d index 62faed4b73a..2fb172d053e 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-all-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-all-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-all.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: a9bf7bfd stp x29, x30, \[sp, #-16\]! diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d index 340206a9e2b..7728178d2c9 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-gd-ie-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-gd-ie.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 tmpdir/tls-sharedlib-ilp32.so +#notarget: *-*-nto* #objdump: -dr #... +10000: 90000080 adrp x0, 20000 <_GLOBAL_OFFSET_TABLE_> diff --git a/ld/testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d index dd91cb41df4..4b28fc51541 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-gd-le-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-gd-le.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 52a00000 movz w0, #0x0, lsl #16 diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d index 903b0b4d618..4dca8c5510d 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-2-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-gdesc-le-2.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 52a00000 movz w0, #0x0, lsl #16 diff --git a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d index 020554baa69..e9053fdb876 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-gdesc-le-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-gdesc-le.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 52a00000 movz w0, #0x0, lsl #16 diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d index 71ee72caf0f..7929e3f28a8 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-ie-le-2-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-ie-le-2.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: d53bd041 mrs x1, tpidr_el0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d index e0bc05dce41..987559abfc2 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-ie-le-3-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-ie-le-3.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: d53bd042 mrs x2, tpidr_el0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d index ede3d8ce0d7..b1e728c73cd 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-ie-le-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-ie-le.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: d53bd041 mrs x1, tpidr_el0 diff --git a/ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d index 0f86d932ca5..2b80db5a542 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-ld-le-small-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-ld-le-small.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 910003fd mov x29, sp diff --git a/ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d b/ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d index e2a42503f96..445e79dccf6 100644 --- a/ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-relax-ld-le-tiny-ilp32.d @@ -1,6 +1,7 @@ #source: tls-relax-ld-le-tiny.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... +10000: 910003fd mov x29, sp diff --git a/ld/testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d b/ld/testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d index 3dffa1b85e6..e8059bbcea4 100644 --- a/ld/testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-tiny-desc-ie-ilp32.d @@ -1,6 +1,7 @@ #source: tls-tiny-desc-ie.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 tmpdir/tls-sharedlib-ilp32.so +#notarget: *-*-nto* #objdump: -dr #... diff --git a/ld/testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d b/ld/testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d index 79a6f5cd586..e9211b229ec 100644 --- a/ld/testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-tiny-desc-le-ilp32.d @@ -1,6 +1,7 @@ #source: tls-tiny-desc-le.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #... diff --git a/ld/testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d b/ld/testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d index 6317152eb1e..f79b5eba300 100644 --- a/ld/testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-tiny-gd-ie-ilp32.d @@ -1,6 +1,7 @@ #source: tls-tiny-gd-ie.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 tmpdir/tls-sharedlib-ilp32.so +#notarget: *-*-nto* #objdump: -dr #... diff --git a/ld/testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d b/ld/testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d index 5213a046c0a..cc13bbde21b 100644 --- a/ld/testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d +++ b/ld/testsuite/ld-aarch64/tls-tiny-gd-le-ilp32.d @@ -1,6 +1,7 @@ #source: tls-tiny-gd-le.s #as: -mabi=ilp32 #ld: -m [aarch64_choose_ilp32_emul] -T relocs-ilp32.ld -e0 +#notarget: *-*-nto* #objdump: -dr #...