]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Process irelocs for statically linked binaries from crt1 on x86.
authorKonstantin Belousov <kib@FreeBSD.org>
Sat, 13 Oct 2018 23:52:55 +0000 (23:52 +0000)
committerKonstantin Belousov <kib@FreeBSD.org>
Sat, 13 Oct 2018 23:52:55 +0000 (23:52 +0000)
commitbdafb02fcb88389fd1ab684cfe734cb429d35618
tree41db9d0835ce63a1548f9622c748cd8878fd13c2
parentc9504239e8e891292b751f9c498dc3b03234004b
Process irelocs for statically linked binaries from crt1 on x86.

This makes statically linked binaries with ifuncs operational.

Reported and tested by: mjg
Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
Approved by: re (rgrimes)
Differential revision: https://reviews.freebsd.org/D17363
14 files changed:
lib/csu/aarch64/Makefile
lib/csu/amd64/Makefile
lib/csu/amd64/crt1.c
lib/csu/amd64/reloc.c [new file with mode: 0644]
lib/csu/arm/Makefile
lib/csu/common/ignore_init.c
lib/csu/i386/Makefile
lib/csu/i386/crt1_c.c
lib/csu/i386/reloc.c [new file with mode: 0644]
lib/csu/mips/Makefile
lib/csu/powerpc/Makefile
lib/csu/powerpc64/Makefile
lib/csu/riscv/Makefile
lib/csu/sparc64/Makefile