binutils-gdb/ld/testsuite/ld-ifunc
Alan Modra fd161d860f Define various symbols conditionally in shared libraries
The values of symbols in shared libraries like _end, _edata, and
__bss_start are generally not that useful outside of the shared
library.  This patch defines them conditionally with PROVIDE, since a
shared library might need the local value.  An example is glibc ld.so
local access to "_begin", "_etext" and "_end".  (ld.so gains access to
the local values by making the references using hidden visibility.
That makes the definitions hidden too.)

We can't use PROVIDE_HIDDEN in the linker scripts because the shared
library might need the value of the symbol in the executable.  An
example is freebsd libc dynamic access to "_end".

	PR ld/23161
	* emulparams/aarch64cloudabi.sh: PROVIDE __bss_start__, _bss_end__,
	and __end__ in shared libraries.
	* emulparams/aarch64fbsd.sh: Likewise.
	* emulparams/aarch64linux.sh: Likewise.
	* emulparams/aarch64linux32.sh: Likewise.
	* emulparams/armelf_fuchsia.sh: Likewise.
	* emulparams/armelf_linux.sh: Likewise.
	* emulparams/armelf_phoenix.sh: Likewise.
	* emulparams/aarch64elf.sh: Likewise, and __data_start
	* emulparams/aarch64elf32.sh: Likewise.
	* emulparams/armelf.sh: Likewise.
	* emulparams/armnto.sh: Likewise.
	* emulparams/elf32bmip.sh: Remove duplicate ". = ." from
	OTHER_GOT_SYMBOLS.  PROVIDE _ftext, _fdata, and _fbss in shared libs.
	* emulparams/elf32bmipn32-defs.sh: Likewise.
	* emulparams/elf32frv.sh: PROVIDE __end and __data_start in shared libs.
	* emulparams/elf32lriscv-defs.sh: Tidy.
	* emulparams/elf32mcore.sh: PROVIDE __bss_start and _bss_end in
	shared libs
	* emulparams/elf32ppccommon.sh: PROVIDE __end in shared libs.
	* emulparams/elf32rl78.sh: Tidy.
	* emulparams/i386nto.sh: PROVIDE _btext in shared libs.
	* emulparams/shelf_nto.sh: Likewise.
	* emulparams/shlelf_nto.sh: Likewise.
	* emulparams/score3_elf.sh: PROVIDE _gp, _bss_start__, _bss_end__,
	__bss_end__, __end__, _fdata, _sdata_begin, and _bss_start in
	shared libs.
	* scripttempl/elf.sc: Don't use EXECUTABLE_SYMBOLS for shared
	libraries.  PROVIDE _edata, edata, __bss_start, and _end in shared
	libraries.
	* testsuite/ld-elf/pr23161.map,
	* testsuite/ld-elf/pr23161a.c,
	* testsuite/ld-elf/pr23161b.c,
	* testsuite/ld-elf/pr23161c.c,
	* testsuite/ld-elf/pr23161a.rd,
	* testsuite/ld-elf/pr23161b.rd,
	* testsuite/ld-elf/pr23161c.rd,
	* testsuite/ld-elf/pr23161d.rd: New tests.
	* testsuite/ld-elf/shared.exp: Run ld/23161 tests.
	* testsuite/ld-elf/pr23162.rd,
	* testsuite/ld-aarch64/ifunc-1-local.d,
	* testsuite/ld-aarch64/ifunc-1.d,
	* testsuite/ld-aarch64/ifunc-2-local.d,
	* testsuite/ld-aarch64/ifunc-2.d,
	* testsuite/ld-aarch64/ifunc-21.d,
	* testsuite/ld-aarch64/ifunc-3a.d,
	* testsuite/ld-alpha/tlsbin.rd,
	* testsuite/ld-alpha/tlsbin.sd,
	* testsuite/ld-alpha/tlsbinr.rd,
	* testsuite/ld-alpha/tlspic.rd,
	* testsuite/ld-alpha/tlspic.sd,
	* testsuite/ld-cris/dso-pltdis1.d,
	* testsuite/ld-cris/dso-pltdis2.d,
	* testsuite/ld-cris/dso12-pltdis.d,
	* testsuite/ld-cris/gotplt1.d,
	* testsuite/ld-cris/gotplt2.d,
	* testsuite/ld-cris/gotplt3.d,
	* testsuite/ld-cris/hiddef1.d,
	* testsuite/ld-cris/libdso-1.d,
	* testsuite/ld-cris/libdso-10.d,
	* testsuite/ld-cris/libdso-11.d,
	* testsuite/ld-cris/libdso-12.d,
	* testsuite/ld-cris/libdso-12b.d,
	* testsuite/ld-cris/libdso-12c.d,
	* testsuite/ld-cris/libdso-13.d,
	* testsuite/ld-cris/libdso-13b.d,
	* testsuite/ld-cris/libdso-14.d,
	* testsuite/ld-cris/libdso-15.d,
	* testsuite/ld-cris/libdso-15b.d,
	* testsuite/ld-cris/libdso-1c.d,
	* testsuite/ld-cris/libdso-1d.d,
	* testsuite/ld-cris/libdso-2.d,
	* testsuite/ld-cris/pic-gc-72.d,
	* testsuite/ld-cris/pic-gc-73.d,
	* testsuite/ld-cris/pr16044.d,
	* testsuite/ld-cris/pv32-1.d,
	* testsuite/ld-cris/tls-dso-dtpoffd2.d,
	* testsuite/ld-cris/tls-dso-dtpoffd4.d,
	* testsuite/ld-cris/tls-dso-tpoffgotcomm1.d,
	* testsuite/ld-cris/tls-gc-71.d,
	* testsuite/ld-cris/tls-gd-1.d,
	* testsuite/ld-cris/tls-gd-1h.d,
	* testsuite/ld-cris/tls-gd-2.d,
	* testsuite/ld-cris/tls-gd-2h.d,
	* testsuite/ld-cris/tls-ie-10.d,
	* testsuite/ld-cris/tls-ie-11.d,
	* testsuite/ld-cris/tls-ie-78.d,
	* testsuite/ld-cris/tls-ie-8.d,
	* testsuite/ld-cris/tls-ie-9.d,
	* testsuite/ld-cris/tls-js1.d,
	* testsuite/ld-cris/tls-ld-4.d,
	* testsuite/ld-cris/tls-ld-5.d,
	* testsuite/ld-cris/tls-ld-6.d,
	* testsuite/ld-cris/tls-ld-7.d,
	* testsuite/ld-cris/tls-ldgd-14.d,
	* testsuite/ld-cris/tls-ldgd-15.d,
	* testsuite/ld-cris/tls-ldgdex-14.d,
	* testsuite/ld-cris/tls-ldgdex-15.d,
	* testsuite/ld-cris/tls-ldgdx-14.d,
	* testsuite/ld-cris/tls-ldgdx-15.d,
	* testsuite/ld-cris/tls-legdx-16.d,
	* testsuite/ld-cris/tls-legdx-17.d,
	* testsuite/ld-cris/tls-local-54.d,
	* testsuite/ld-cris/tls-local-60.d,
	* testsuite/ld-cris/tls-local-61.d,
	* testsuite/ld-cris/tls-local-63.d,
	* testsuite/ld-cris/tls-local-64.d,
	* testsuite/ld-cris/tls-ok-30.d,
	* testsuite/ld-cris/tls-ok-32.d,
	* testsuite/ld-cris/tls-ok-34.d,
	* testsuite/ld-cris/tls-und-38.d,
	* testsuite/ld-cris/tls-und-42.d,
	* testsuite/ld-cris/tls-und-46.d,
	* testsuite/ld-cris/tls-und-50.d,
	* testsuite/ld-cris/weakhiddso.d,
	* testsuite/ld-cris/weakref2.d,
	* testsuite/ld-frv/fdpic-shared-1.d,
	* testsuite/ld-frv/fdpic-shared-2.d,
	* testsuite/ld-frv/fdpic-shared-3.d,
	* testsuite/ld-frv/fdpic-shared-4.d,
	* testsuite/ld-frv/fdpic-shared-5.d,
	* testsuite/ld-frv/fdpic-shared-7.d,
	* testsuite/ld-frv/fdpic-shared-8.d,
	* testsuite/ld-frv/tls-dynamic-2.d,
	* testsuite/ld-i386/ibt-plt-1.d,
	* testsuite/ld-i386/ibt-plt-2a.d,
	* testsuite/ld-i386/ibt-plt-2b.d,
	* testsuite/ld-i386/ibt-plt-2c.d,
	* testsuite/ld-i386/ibt-plt-2d.d,
	* testsuite/ld-i386/ibt-plt-3a.d,
	* testsuite/ld-i386/ibt-plt-3b.d,
	* testsuite/ld-i386/ibt-plt-3c.d,
	* testsuite/ld-i386/ibt-plt-3d.d,
	* testsuite/ld-i386/plt2.dd,
	* testsuite/ld-i386/pr20830.d,
	* testsuite/ld-i386/tlsbin-nacl.rd,
	* testsuite/ld-i386/tlsbin.rd,
	* testsuite/ld-i386/tlsbin2-nacl.rd,
	* testsuite/ld-i386/tlsbin2.rd,
	* testsuite/ld-i386/tlsbindesc-nacl.rd,
	* testsuite/ld-i386/tlsbindesc.rd,
	* testsuite/ld-i386/tlsdesc-nacl.rd,
	* testsuite/ld-i386/tlsdesc.rd,
	* testsuite/ld-i386/tlsgdesc-nacl.rd,
	* testsuite/ld-i386/tlsgdesc.rd,
	* testsuite/ld-i386/tlsnopic-nacl.rd,
	* testsuite/ld-i386/tlsnopic.dd,
	* testsuite/ld-i386/tlsnopic.rd,
	* testsuite/ld-i386/tlsnopic.sd,
	* testsuite/ld-i386/tlspic-nacl.rd,
	* testsuite/ld-i386/tlspic.rd,
	* testsuite/ld-i386/tlspic2-nacl.rd,
	* testsuite/ld-i386/tlspic2.rd,
	* testsuite/ld-ia64/merge1.d,
	* testsuite/ld-ia64/merge2.d,
	* testsuite/ld-ia64/merge3.d,
	* testsuite/ld-ia64/merge4.d,
	* testsuite/ld-ia64/merge5.d,
	* testsuite/ld-ia64/tlsbin.rd,
	* testsuite/ld-ia64/tlspic.rd,
	* testsuite/ld-ifunc/ifunc-2-i386-now.d,
	* testsuite/ld-ifunc/ifunc-2-local-i386-now.d,
	* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d,
	* testsuite/ld-ifunc/ifunc-2-local-x86-64.d,
	* testsuite/ld-ifunc/ifunc-2-x86-64-now.d,
	* testsuite/ld-ifunc/ifunc-2-x86-64.d,
	* testsuite/ld-ifunc/pr17154-i386-now.d,
	* testsuite/ld-ifunc/pr17154-i386.d,
	* testsuite/ld-ifunc/pr17154-x86-64-now.d,
	* testsuite/ld-ifunc/pr17154-x86-64.d,
	* testsuite/ld-m68k/tls-def-1.d,
	* testsuite/ld-m68k/tls-gd-1.d2,
	* testsuite/ld-metag/shared.d,
	* testsuite/ld-metag/stub_pic_app.d,
	* testsuite/ld-mips-elf/rel32-n32.d,
	* testsuite/ld-mips-elf/rel32-o32.d,
	* testsuite/ld-mips-elf/rel64.d,
	* testsuite/ld-powerpc/ambiguousv1.d,
	* testsuite/ld-powerpc/ambiguousv1b.d,
	* testsuite/ld-powerpc/ambiguousv2.d,
	* testsuite/ld-powerpc/ambiguousv2b.d,
	* testsuite/ld-powerpc/tlsexe.d,
	* testsuite/ld-powerpc/tlsexe.r,
	* testsuite/ld-powerpc/tlsexe32.d,
	* testsuite/ld-powerpc/tlsexe32.g,
	* testsuite/ld-powerpc/tlsexe32.r,
	* testsuite/ld-powerpc/tlsexetoc.d,
	* testsuite/ld-powerpc/tlsexetoc.r,
	* testsuite/ld-powerpc/tlsso.d,
	* testsuite/ld-powerpc/tlsso.r,
	* testsuite/ld-powerpc/tlsso32.g,
	* testsuite/ld-powerpc/tlsso32.r,
	* testsuite/ld-powerpc/tlstocso.d,
	* testsuite/ld-powerpc/tlstocso.g,
	* testsuite/ld-powerpc/tlstocso.r,
	* testsuite/ld-s390/gotreloc_31-1.dd,
	* testsuite/ld-s390/tlsbin.dd,
	* testsuite/ld-s390/tlsbin.rd,
	* testsuite/ld-s390/tlsbin_64.dd,
	* testsuite/ld-s390/tlsbin_64.rd,
	* testsuite/ld-s390/tlspic.rd,
	* testsuite/ld-s390/tlspic_64.rd,
	* testsuite/ld-sh/tlsbin-2.d,
	* testsuite/ld-sh/tlspic-2.d,
	* testsuite/ld-sparc/gotop32.rd,
	* testsuite/ld-sparc/gotop64.rd,
	* testsuite/ld-sparc/tlssunbin32.rd,
	* testsuite/ld-sparc/tlssunbin64.rd,
	* testsuite/ld-sparc/tlssunnopic32.rd,
	* testsuite/ld-sparc/tlssunnopic64.rd,
	* testsuite/ld-sparc/tlssunpic32.rd,
	* testsuite/ld-sparc/tlssunpic64.rd,
	* testsuite/ld-x86-64/bnd-branch-1-now.d,
	* testsuite/ld-x86-64/bnd-ifunc-1-now.d,
	* testsuite/ld-x86-64/bnd-ifunc-2-now.d,
	* testsuite/ld-x86-64/bnd-ifunc-2.d,
	* testsuite/ld-x86-64/bnd-plt-1-now.d,
	* testsuite/ld-x86-64/bnd-plt-1.d,
	* testsuite/ld-x86-64/ibt-plt-1-x32.d,
	* testsuite/ld-x86-64/ibt-plt-1.d,
	* testsuite/ld-x86-64/ibt-plt-2a-x32.d,
	* testsuite/ld-x86-64/ibt-plt-2a.d,
	* testsuite/ld-x86-64/ibt-plt-2b-x32.d,
	* testsuite/ld-x86-64/ibt-plt-2b.d,
	* testsuite/ld-x86-64/ibt-plt-2c-x32.d,
	* testsuite/ld-x86-64/ibt-plt-2c.d,
	* testsuite/ld-x86-64/ibt-plt-2d-x32.d,
	* testsuite/ld-x86-64/ibt-plt-2d.d,
	* testsuite/ld-x86-64/ibt-plt-3a-x32.d,
	* testsuite/ld-x86-64/ibt-plt-3a.d,
	* testsuite/ld-x86-64/ibt-plt-3b-x32.d,
	* testsuite/ld-x86-64/ibt-plt-3b.d,
	* testsuite/ld-x86-64/ibt-plt-3c-x32.d,
	* testsuite/ld-x86-64/ibt-plt-3c.d,
	* testsuite/ld-x86-64/ibt-plt-3d-x32.d,
	* testsuite/ld-x86-64/ibt-plt-3d.d,
	* testsuite/ld-x86-64/ilp32-4-nacl.d,
	* testsuite/ld-x86-64/ilp32-4.d,
	* testsuite/ld-x86-64/load1c-nacl.d,
	* testsuite/ld-x86-64/load1c.d,
	* testsuite/ld-x86-64/load1d-nacl.d,
	* testsuite/ld-x86-64/load1d.d,
	* testsuite/ld-x86-64/mpx3n.dd,
	* testsuite/ld-x86-64/mpx4.dd,
	* testsuite/ld-x86-64/mpx4n.dd,
	* testsuite/ld-x86-64/plt2.dd,
	* testsuite/ld-x86-64/pr14207.d,
	* testsuite/ld-x86-64/pr19162.d,
	* testsuite/ld-x86-64/pr20253-1f.d,
	* testsuite/ld-x86-64/pr20253-1l.d,
	* testsuite/ld-x86-64/pr20830a-now.d,
	* testsuite/ld-x86-64/pr20830a.d,
	* testsuite/ld-x86-64/pr20830b-now.d,
	* testsuite/ld-x86-64/pr20830b.d,
	* testsuite/ld-x86-64/pr21038a-now.d,
	* testsuite/ld-x86-64/pr21038a.d,
	* testsuite/ld-x86-64/pr21038b-now.d,
	* testsuite/ld-x86-64/pr21038b.d,
	* testsuite/ld-x86-64/pr21038c-now.d,
	* testsuite/ld-x86-64/pr21038c.d,
	* testsuite/ld-x86-64/tlsbin-nacl.rd,
	* testsuite/ld-x86-64/tlsbin.rd,
	* testsuite/ld-x86-64/tlsbin2-nacl.rd,
	* testsuite/ld-x86-64/tlsbin2.rd,
	* testsuite/ld-x86-64/tlsbindesc-nacl.rd,
	* testsuite/ld-x86-64/tlsbindesc.rd,
	* testsuite/ld-x86-64/tlsdesc-nacl.rd,
	* testsuite/ld-x86-64/tlsdesc.rd,
	* testsuite/ld-x86-64/tlsgdesc-nacl.rd,
	* testsuite/ld-x86-64/tlsgdesc.rd,
	* testsuite/ld-x86-64/tlspic-nacl.rd,
	* testsuite/ld-x86-64/tlspic.rd,
	* testsuite/ld-x86-64/tlspic2-nacl.rd,
	* testsuite/ld-x86-64/tlspic2.rd: Update.
2018-06-08 20:17:34 +09:30
..
binutils.exp various i386-aout and i386-coff target removal 2018-04-18 09:34:19 +09:30
dummy.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
ifunc-1-local-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-1-local-x86.map x86: Dump local IFUNC functions in the map file 2017-06-08 03:53:43 -07:00
ifunc-1-local-x86.s
ifunc-1-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-1-x86.map x86: Dump local IFUNC functions in the map file 2017-06-08 03:53:43 -07:00
ifunc-1-x86.s
ifunc-2-i386-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-2-i386.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-2-local-i386-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-local-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-2-local-i386.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-2-local-x86-64-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-local-x86-64.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-local-x86-64.s
ifunc-2-x86-64-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-x86-64.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
ifunc-2-x86-64.s
ifunc-3-x86.s
ifunc-3a-x86.d i386: Update IFUNC tests for PLT address 2018-02-16 09:32:56 -08:00
ifunc-3b-x86.d
ifunc-4-local-x86.d
ifunc-4-local-x86.s
ifunc-4-x86.d
ifunc-4-x86.s
ifunc-4a-x86.d
ifunc-5-i386.s
ifunc-5-local-i386.s
ifunc-5-local-x86-64.s
ifunc-5-x86-64.s
ifunc-5a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5a-local-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5a-local-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5b-local-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5b-local-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5r-local-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-5r-local-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-6-i386.s
ifunc-6-x86-64.s
ifunc-6a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-6a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-6b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-6b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-7-i386.s
ifunc-7-x86-64.s
ifunc-7a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-7a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-7b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-7b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-8-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-8-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-8a-i386.s
ifunc-8a-x86-64.s
ifunc-8b-i386.s
ifunc-8b-x86-64.s
ifunc-9-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-9-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-9-x86.s
ifunc-10-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-10-i386.s
ifunc-10-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-10-x86-64.s
ifunc-11-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-11-i386.s
ifunc-11-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-11-x86-64.s
ifunc-12-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-12-i386.s
ifunc-12-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-12-x86-64.s
ifunc-13-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-13-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-13a-i386.s
ifunc-13a-x86-64.s
ifunc-13b-i386.s
ifunc-13b-x86-64.s
ifunc-14a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14a.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-14b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14b.s
ifunc-14c-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14c-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14c.s i386: Issue an error on non-PIC call to IFUNC in PIC object 2016-08-29 08:14:45 -07:00
ifunc-14d-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14d-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14e-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14e-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14f-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-14f-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-15-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-15-i386.s
ifunc-15-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-15-x86-64.s
ifunc-16-i386-now.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-16-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-16-x86-64-now.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-16-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-16-x86.s
ifunc-17a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-17a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-17a.s
ifunc-17b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-17b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-17b.s
ifunc-18a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-18a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-18a.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ifunc-18b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-18b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-18b.s
ifunc-19a-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-19a-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-19a.s
ifunc-19b-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-19b-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-19b.s
ifunc-20-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-20-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-20.s
ifunc-21-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-21-i386.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-21-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-21-x86-64.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-22-i386.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-22-i386.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-22-x86-64.d ld: Skip some x86 IFUNC tests for NaCl targets 2018-05-28 08:12:50 -07:00
ifunc-22-x86-64.s Add ifunc tests for call, jmp, add, test 2015-09-03 04:03:13 -07:00
ifunc-23-x86.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ifunc-23a-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-23b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-23c-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-24-x86.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ifunc-24a-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-24b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-24c-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-25-x86.s Don't generate PLT for IFUNC GOT/pointer reference 2016-06-18 09:17:25 -07:00
ifunc-25a-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-25b-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-25c-x86.d readelf ngettext fixes 2017-11-07 17:01:16 +10:30
ifunc-26.d ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
ifunc-26.s ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
ifunc-common-1.out
ifunc-common-1a.c
ifunc-common-1b.c
ifunc-lib.c Add ifunc-main IFUNC tests 2014-11-20 10:49:46 -08:00
ifunc-main.c Always load function pointer into a stack variable 2014-11-20 11:29:45 -08:00
ifunc-main.out Add ifunc-main IFUNC tests 2014-11-20 10:49:46 -08:00
ifunc.exp ld: Unify STT_GNU_IFUNC handling 2018-05-28 08:15:21 -07:00
ifuncmod5.d Fix Sparc, s390 and AArch64 targets so that they can handle relocs against ifunc symbols found in note sections. 2018-03-09 14:37:36 +00:00
ifuncmod5.s Fix Sparc, s390 and AArch64 targets so that they can handle relocs against ifunc symbols found in note sections. 2018-03-09 14:37:36 +00:00
lib.c
pass.out Handle local IFUNC symbols in shared object 2016-03-08 09:42:16 -08:00
pr16467.out Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467a.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467a.map Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467b.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
pr16467b.map Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr16467c.c Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
pr17154-i386-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
pr17154-i386.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
pr17154-x86-64-now.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
pr17154-x86-64.d Define various symbols conditionally in shared libraries 2018-06-08 20:17:34 +09:30
pr17154-x86.s Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
pr18808.out Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
pr18808a.c Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
pr18808b.c Fix compile time warning message in linker testsuite test. 2017-02-21 11:00:21 +00:00
pr18841.out Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841a.c Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841b.c Return reloc_class_ifunc for reloc against IFUNC 2015-08-18 09:50:08 -07:00
pr18841c.c Add another test for PR ld/18841 2015-08-18 10:43:47 -07:00
pr23169a.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169a.rd x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169b.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169b.rd x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169c.c x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
pr23169c.rd x86; Allow IFUNC pointer defined in PDE 2018-05-14 03:55:50 -07:00
prog.c
test-1.c
test-2.c