[PATCH v2 1/6] x86: relocate IFUNC references from non-alloc sections as STT_FUNC
Harshit Kumar
harshit7kr@gmail.com
Sat Nov 14 09:38:24 GMT 2026
A local STT_GNU_IFUNC symbol gets its hash entry from the relocation
scan, which skips non-SEC_ALLOC sections (PR ld/26080). When only such
a section refers to it, elf_i386_relocate_section and
elf_x86_64_relocate_section find no entry and abort. "gcc -g -O2"
produces this: once call () below loses its unused argument, only the
call-site DWARF still refers to f, and ld 2.47 aborts:
static int impl(void){return 1;}
static int (*resolve(void))(void){return impl;}
static int f(void) __attribute__((ifunc("resolve")));
__attribute__((noinline))
static int call(int (*p)(void), int x){ return x; }
int g(int x){ return call(f, x); }
A non-alloc section is not loaded and ld.so never processes it, so
relocate a reference from any non-alloc section, debugging and note
sections included, as against STT_FUNC: it gets the address of the
resolver. This replaces the separate SHT_NOTE (PR ld/22929) and
SEC_DEBUGGING (PR ld/18808) cases for a global symbol, which left a
debugging section's field unrelocated (0, or the bare addend, in
.debug_info) and rejected or aborted on other non-alloc sections.
bfd/
PR ld/34988
* elf32-i386.c (elf_i386_relocate_section): Relocate a reference
from a non-alloc section to an STT_GNU_IFUNC symbol, local without a
hash entry or defined, as against STT_FUNC.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
ld/
PR ld/34988
* testsuite/ld-i386/ifunc-debug-nonalloc.d: New test.
* testsuite/ld-i386/ifunc-debug-nonalloc.s: New file.
* testsuite/ld-i386/ifunc-global-debug-nonalloc.d: New test.
* testsuite/ld-i386/ifunc-global-debug-nonalloc.s: New file.
* testsuite/ld-i386/ifunc-global-plain-nonalloc.d: New test.
* testsuite/ld-i386/ifunc-global-plain-nonalloc.s: New file.
* testsuite/ld-i386/ifunc-note-nonalloc.d: New test.
* testsuite/ld-i386/ifunc-note-nonalloc.s: New file.
* testsuite/ld-i386/ifunc-plain-nonalloc.d: New test.
* testsuite/ld-i386/ifunc-plain-nonalloc.s: New file.
* testsuite/ld-i386/i386.exp: Run them.
* testsuite/ld-x86-64/ifunc-debug-nonalloc.d: New test.
* testsuite/ld-x86-64/ifunc-debug-nonalloc.s: New file.
* testsuite/ld-x86-64/ifunc-global-debug-nonalloc.d: New test.
* testsuite/ld-x86-64/ifunc-global-debug-nonalloc.s: New file.
* testsuite/ld-x86-64/ifunc-global-plain-nonalloc.d: New test.
* testsuite/ld-x86-64/ifunc-global-plain-nonalloc.s: New file.
* testsuite/ld-x86-64/ifunc-note-nonalloc.d: New test.
* testsuite/ld-x86-64/ifunc-note-nonalloc.s: New file.
* testsuite/ld-x86-64/ifunc-plain-nonalloc.d: New test.
* testsuite/ld-x86-64/ifunc-plain-nonalloc.s: New file.
* testsuite/ld-x86-64/x86-64.exp: Run them.
Signed-off-by: Harshit Kumar <harshit7kr@gmail.com>
---
bfd/elf32-i386.c | 33 +++++++++----------
bfd/elf64-x86-64.c | 33 +++++++++----------
ld/testsuite/ld-i386/i386.exp | 5 +++
ld/testsuite/ld-i386/ifunc-debug-nonalloc.d | 8 +++++
ld/testsuite/ld-i386/ifunc-debug-nonalloc.s | 11 +++++++
.../ld-i386/ifunc-global-debug-nonalloc.d | 8 +++++
.../ld-i386/ifunc-global-debug-nonalloc.s | 13 ++++++++
.../ld-i386/ifunc-global-plain-nonalloc.d | 8 +++++
.../ld-i386/ifunc-global-plain-nonalloc.s | 12 +++++++
ld/testsuite/ld-i386/ifunc-note-nonalloc.d | 8 +++++
ld/testsuite/ld-i386/ifunc-note-nonalloc.s | 11 +++++++
ld/testsuite/ld-i386/ifunc-plain-nonalloc.d | 8 +++++
ld/testsuite/ld-i386/ifunc-plain-nonalloc.s | 11 +++++++
ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.d | 8 +++++
ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.s | 11 +++++++
.../ld-x86-64/ifunc-global-debug-nonalloc.d | 8 +++++
.../ld-x86-64/ifunc-global-debug-nonalloc.s | 13 ++++++++
.../ld-x86-64/ifunc-global-plain-nonalloc.d | 8 +++++
.../ld-x86-64/ifunc-global-plain-nonalloc.s | 12 +++++++
ld/testsuite/ld-x86-64/ifunc-note-nonalloc.d | 8 +++++
ld/testsuite/ld-x86-64/ifunc-note-nonalloc.s | 11 +++++++
ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.d | 8 +++++
ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.s | 11 +++++++
ld/testsuite/ld-x86-64/x86-64.exp | 5 +++
24 files changed, 238 insertions(+), 34 deletions(-)
create mode 100644 ld/testsuite/ld-i386/ifunc-debug-nonalloc.d
create mode 100644 ld/testsuite/ld-i386/ifunc-debug-nonalloc.s
create mode 100644 ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.d
create mode 100644 ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.s
create mode 100644 ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.d
create mode 100644 ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.s
create mode 100644 ld/testsuite/ld-i386/ifunc-note-nonalloc.d
create mode 100644 ld/testsuite/ld-i386/ifunc-note-nonalloc.s
create mode 100644 ld/testsuite/ld-i386/ifunc-plain-nonalloc.d
create mode 100644 ld/testsuite/ld-i386/ifunc-plain-nonalloc.s
create mode 100644 ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.d
create mode 100644 ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.s
create mode 100644 ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.d
create mode 100644 ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.s
create mode 100644 ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.d
create mode 100644 ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.s
create mode 100644 ld/testsuite/ld-x86-64/ifunc-note-nonalloc.d
create mode 100644 ld/testsuite/ld-x86-64/ifunc-note-nonalloc.s
create mode 100644 ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.d
create mode 100644 ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.s
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 1f7d9736bb..3626119d0b 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -2274,11 +2274,19 @@ elf_i386_relocate_section (struct bfd_link_info *info,
h = _bfd_elf_x86_get_local_sym_hash (htab, input_bfd, rel,
false);
if (h == NULL)
- abort ();
-
- /* Set STT_GNU_IFUNC symbol value. */
- h->root.u.def.value = sym->st_value;
- h->root.u.def.section = sec;
+ {
+ /* Only a non-alloc section, which the relocation scan
+ skips, refers to the symbol. Relocate it as against
+ STT_FUNC. */
+ if ((input_section->flags & SEC_ALLOC) != 0)
+ abort ();
+ }
+ else
+ {
+ /* Set STT_GNU_IFUNC symbol value. */
+ h->root.u.def.value = sym->st_value;
+ h->root.u.def.section = sec;
+ }
}
}
else
@@ -2330,19 +2338,10 @@ elf_i386_relocate_section (struct bfd_link_info *info,
bfd_vma plt_index;
const char *name;
+ /* A non-alloc section is not loaded, so relocate a reference
+ from it as against STT_FUNC. */
if ((input_section->flags & SEC_ALLOC) == 0)
- {
- /* If this is a SHT_NOTE section without SHF_ALLOC, treat
- STT_GNU_IFUNC symbol as STT_FUNC. */
- if (elf_section_type (input_section) == SHT_NOTE)
- goto skip_ifunc;
- /* Dynamic relocs are not propagated for SEC_DEBUGGING
- sections because such sections are not SEC_ALLOC and
- thus ld.so will not process them. */
- if ((input_section->flags & SEC_DEBUGGING) != 0)
- continue;
- abort ();
- }
+ goto skip_ifunc;
/* STT_GNU_IFUNC symbol must go through PLT. */
if (htab->elf.splt != NULL)
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 948cc2d48c..24e57b9858 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -3258,11 +3258,19 @@ elf_x86_64_relocate_section (struct bfd_link_info *info,
h = _bfd_elf_x86_get_local_sym_hash (htab, input_bfd,
rel, false);
if (h == NULL)
- abort ();
-
- /* Set STT_GNU_IFUNC symbol value. */
- h->root.u.def.value = sym->st_value;
- h->root.u.def.section = sec;
+ {
+ /* Only a non-alloc section, which the relocation scan
+ skips, refers to the symbol. Relocate it as against
+ STT_FUNC. */
+ if ((input_section->flags & SEC_ALLOC) != 0)
+ abort ();
+ }
+ else
+ {
+ /* Set STT_GNU_IFUNC symbol value. */
+ h->root.u.def.value = sym->st_value;
+ h->root.u.def.section = sec;
+ }
}
}
else
@@ -3335,19 +3343,10 @@ elf_x86_64_relocate_section (struct bfd_link_info *info,
bfd_vma plt_index;
const char *name;
+ /* A non-alloc section is not loaded, so relocate a reference
+ from it as against STT_FUNC. */
if ((input_section->flags & SEC_ALLOC) == 0)
- {
- /* If this is a SHT_NOTE section without SHF_ALLOC, treat
- STT_GNU_IFUNC symbol as STT_FUNC. */
- if (elf_section_type (input_section) == SHT_NOTE)
- goto skip_ifunc;
- /* Dynamic relocs are not propagated for SEC_DEBUGGING
- sections because such sections are not SEC_ALLOC and
- thus ld.so will not process them. */
- if ((input_section->flags & SEC_DEBUGGING) != 0)
- continue;
- abort ();
- }
+ goto skip_ifunc;
switch (r_type)
{
diff --git a/ld/testsuite/ld-i386/i386.exp b/ld/testsuite/ld-i386/i386.exp
index 807bb8e9fc..997d708f0e 100644
--- a/ld/testsuite/ld-i386/i386.exp
+++ b/ld/testsuite/ld-i386/i386.exp
@@ -445,6 +445,11 @@ run_dump_test "pr20253-4a"
run_dump_test "pr20253-4b"
run_dump_test "pr20253-4c"
run_dump_test "pr20253-5"
+run_dump_test "ifunc-debug-nonalloc"
+run_dump_test "ifunc-note-nonalloc"
+run_dump_test "ifunc-global-debug-nonalloc"
+run_dump_test "ifunc-plain-nonalloc"
+run_dump_test "ifunc-global-plain-nonalloc"
run_dump_test "pr20515"
run_dump_test "property-x86-3"
run_dump_test "property-x86-4a"
diff --git a/ld/testsuite/ld-i386/ifunc-debug-nonalloc.d b/ld/testsuite/ld-i386/ifunc-debug-nonalloc.d
new file mode 100644
index 0000000000..1642b40a4e
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-debug-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a debugging section
+#as: --32
+#ld: -Ttext=0x10000 -melf_i386
+#objdump: -s -j .debug_info
+#...
+Contents of section .debug_info:
+ 0000 00000100 +.*
+#pass
diff --git a/ld/testsuite/ld-i386/ifunc-debug-nonalloc.s b/ld/testsuite/ld-i386/ifunc-debug-nonalloc.s
new file mode 100644
index 0000000000..26e6993ddf
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-debug-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .debug_info,"",@progbits
+ .long ifn
diff --git a/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.d b/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.d
new file mode 100644
index 0000000000..1e8651909d
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.d
@@ -0,0 +1,8 @@
+#name: global IFUNC symbol referenced from a debugging section
+#as: --32
+#ld: -Ttext=0x10000 -melf_i386
+#objdump: -s -j .debug_info
+#...
+Contents of section .debug_info:
+ 0000 00000100 +.*
+#pass
diff --git a/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.s b/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.s
new file mode 100644
index 0000000000..2279a190d0
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-global-debug-nonalloc.s
@@ -0,0 +1,13 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .globl ifn
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ call ifn
+ ret
+ .section .debug_info,"",@progbits
+ .long ifn
diff --git a/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.d b/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.d
new file mode 100644
index 0000000000..1e2287050a
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.d
@@ -0,0 +1,8 @@
+#name: global IFUNC symbol referenced from a plain non-alloc section
+#as: --32
+#ld: -Ttext=0x10000 -melf_i386
+#objdump: -s -j .probe
+#...
+Contents of section .probe:
+ 0000 00000100 +.*
+#pass
diff --git a/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.s b/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.s
new file mode 100644
index 0000000000..7bdaf56c92
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-global-plain-nonalloc.s
@@ -0,0 +1,12 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .globl ifn
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .probe,"",@progbits
+ .long ifn
diff --git a/ld/testsuite/ld-i386/ifunc-note-nonalloc.d b/ld/testsuite/ld-i386/ifunc-note-nonalloc.d
new file mode 100644
index 0000000000..60286e714f
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-note-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a non-alloc note section
+#as: --32
+#ld: -Ttext=0x10000 -melf_i386
+#objdump: -s -j .note.probe
+#...
+Contents of section .note.probe:
+ 0000 00000100 +.*
+#pass
diff --git a/ld/testsuite/ld-i386/ifunc-note-nonalloc.s b/ld/testsuite/ld-i386/ifunc-note-nonalloc.s
new file mode 100644
index 0000000000..2b818799f9
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-note-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .note.probe,"",@note
+ .long ifn
diff --git a/ld/testsuite/ld-i386/ifunc-plain-nonalloc.d b/ld/testsuite/ld-i386/ifunc-plain-nonalloc.d
new file mode 100644
index 0000000000..3492f960f5
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-plain-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a plain non-alloc section
+#as: --32
+#ld: -Ttext=0x10000 -melf_i386
+#objdump: -s -j .probe
+#...
+Contents of section .probe:
+ 0000 00000100 +.*
+#pass
diff --git a/ld/testsuite/ld-i386/ifunc-plain-nonalloc.s b/ld/testsuite/ld-i386/ifunc-plain-nonalloc.s
new file mode 100644
index 0000000000..2d9c8be0ae
--- /dev/null
+++ b/ld/testsuite/ld-i386/ifunc-plain-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .probe,"",@progbits
+ .long ifn
diff --git a/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.d b/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.d
new file mode 100644
index 0000000000..2559bc2574
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a debugging section
+#as: --64
+#ld: -Ttext=0x10000 -melf_x86_64
+#objdump: -s -j .debug_info
+#...
+Contents of section .debug_info:
+ 0000 00000100 00000000 +.*
+#pass
diff --git a/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.s b/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.s
new file mode 100644
index 0000000000..d6c3cf0d59
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-debug-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .debug_info,"",@progbits
+ .quad ifn
diff --git a/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.d b/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.d
new file mode 100644
index 0000000000..daa05f8c32
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.d
@@ -0,0 +1,8 @@
+#name: global IFUNC symbol referenced from a debugging section
+#as: --64
+#ld: -Ttext=0x10000 -melf_x86_64
+#objdump: -s -j .debug_info
+#...
+Contents of section .debug_info:
+ 0000 00000100 00000000 +.*
+#pass
diff --git a/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.s b/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.s
new file mode 100644
index 0000000000..239a166858
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-global-debug-nonalloc.s
@@ -0,0 +1,13 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .globl ifn
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ call ifn
+ ret
+ .section .debug_info,"",@progbits
+ .quad ifn
diff --git a/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.d b/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.d
new file mode 100644
index 0000000000..de2aee3a90
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.d
@@ -0,0 +1,8 @@
+#name: global IFUNC symbol referenced from a plain non-alloc section
+#as: --64
+#ld: -Ttext=0x10000 -melf_x86_64
+#objdump: -s -j .probe
+#...
+Contents of section .probe:
+ 0000 00000100 00000000 +.*
+#pass
diff --git a/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.s b/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.s
new file mode 100644
index 0000000000..960fae5cce
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-global-plain-nonalloc.s
@@ -0,0 +1,12 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .globl ifn
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .probe,"",@progbits
+ .quad ifn
diff --git a/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.d b/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.d
new file mode 100644
index 0000000000..0fc6f2a4c5
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a non-alloc note section
+#as: --64
+#ld: -Ttext=0x10000 -melf_x86_64
+#objdump: -s -j .note.probe
+#...
+Contents of section .note.probe:
+ 0000 00000100 00000000 +.*
+#pass
diff --git a/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.s b/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.s
new file mode 100644
index 0000000000..b93da97ca8
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-note-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .note.probe,"",@note
+ .quad ifn
diff --git a/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.d b/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.d
new file mode 100644
index 0000000000..6f8a14120f
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.d
@@ -0,0 +1,8 @@
+#name: local IFUNC symbol referenced only from a plain non-alloc section
+#as: --64
+#ld: -Ttext=0x10000 -melf_x86_64
+#objdump: -s -j .probe
+#...
+Contents of section .probe:
+ 0000 00000100 00000000 +.*
+#pass
diff --git a/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.s b/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.s
new file mode 100644
index 0000000000..ad056cd1d0
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/ifunc-plain-nonalloc.s
@@ -0,0 +1,11 @@
+ .text
+ .type resolver, @function
+resolver:
+ ret
+ .type ifn, @gnu_indirect_function
+ .set ifn, resolver
+ .globl _start
+_start:
+ ret
+ .section .probe,"",@progbits
+ .quad ifn
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index 985d96dcfb..2a0fa73a86 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -376,6 +376,11 @@ run_dump_test "pr19807-2e"
run_dump_test "pr19969"
run_dump_test "pr20093-1"
run_dump_test "pr20093-2"
+run_dump_test "ifunc-debug-nonalloc"
+run_dump_test "ifunc-note-nonalloc"
+run_dump_test "ifunc-global-debug-nonalloc"
+run_dump_test "ifunc-plain-nonalloc"
+run_dump_test "ifunc-global-plain-nonalloc"
run_dump_test "property-x86-3"
run_dump_test "property-x86-4a"
run_dump_test "property-x86-4b"
--
2.55.0
More information about the Binutils
mailing list