1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-10 14:02:43 +00:00
freebsd/libexec
Konstantin Belousov 14c3564759 IFUNC symbol type shall be processed for non-PLT relocations,
e.g. when a global variable is initialized with a pointer to ifunc.
Add symbol type check and call resolver for STT_GNU_IFUNC symbol types
when processing non-PLT relocations, but only after non-IFUNC
relocations are done.  The two-phase proceessing is required since
resolvers may reference other symbols, which must be ready to use when
resolver calls are done.

Restructure reloc_non_plt() on x86 to call find_symdef() and handle
IFUNC in single place.

For non-x86 reloc_non_plt(), check for call for IFUNC relocation and
do nothing, to avoid processing relocs twice.

PR:	193048
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2014-08-29 09:29:10 +00:00
..
atf Rework privatelib/internallib 2014-08-06 22:17:26 +00:00
atrun Fix releasing the lock in the parent atrun process after the queue 2014-04-17 16:00:26 +00:00
bootpd use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
casper NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
comsat
dma
dma-mbox-create NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
fingerd
ftpd Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
getty Remove LOG_ODELAY because it does nothing. 2014-08-17 19:06:26 +00:00
mail.local Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
mknetid use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
pppoed use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rbootd
revnetgroup use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
rlogind Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd Remove LOG_ODELAY because it does nothing. 2014-08-17 19:06:26 +00:00
rtld-aout
rtld-elf IFUNC symbol type shall be processed for non-PLT relocations, 2014-08-29 09:29:10 +00:00
save-entropy Don't save entropy inside jails. 2014-07-22 06:40:27 +00:00
smrsh Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
talkd
tcpd Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
telnetd Revert r267233 for now. PIE support needs to be reworked. 2014-08-19 15:04:32 +00:00
tests
tftp-proxy
tftpd
ulog-helper NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ypxfr use .Mt to mark up email addresses consistently (part2) 2014-06-20 09:57:27 +00:00
Makefile Use src.opts.mk in preference to bsd.own.mk except where we need stuff 2014-05-06 04:22:01 +00:00
Makefile.inc