#
4a3cf5f3 |
| 13-Dec-2023 |
John Baldwin <jhb@FreeBSD.org> |
Stop #defining FREEBSD_ELF
This was originally used (along with FREEBSD_AOUT) to prefer the use of ELF in various tools instead of a.out as part of the a.out to ELF transition in the 3.x days. The
Stop #defining FREEBSD_ELF
This was originally used (along with FREEBSD_AOUT) to prefer the use of ELF in various tools instead of a.out as part of the a.out to ELF transition in the 3.x days. The last use of it was removed from <link.h> in commit 66422f5b7a1a6055f0b2358268eb902aab6e2e3e back in 2002, but various files still #define it.
Reviewed by: kevans, imp, emaste Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42964
show more ...
|
#
7c43148a |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Rem
stand: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
Revision tags: release/13.2.0 |
|
#
ce18e193 |
| 02-Feb-2023 |
Warner Losh <imp@FreeBSD.org> |
stand: only compute symidx on x86
We only use symidx on x86, so only compute it on x86 to fix a set but not used warning on aarch64.
Sponsored by: Netflix Reviewed by: kevans Differential Revisio
stand: only compute symidx on x86
We only use symidx on x86, so only compute it on x86 to fix a set but not used warning on aarch64.
Sponsored by: Netflix Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D38246
show more ...
|
Revision tags: release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0 |
|
#
f6f0b849 |
| 17-Jan-2021 |
Andrew Turner <andrew@FreeBSD.org> |
Reuse the amd64 loader relocation code on arm64
There is no need to keep multiple copies of the relocation code. The amd64 code works on arm64 with a few small changes to relocation types.
Sponsore
Reuse the amd64 loader relocation code on arm64
There is no need to keep multiple copies of the relocation code. The amd64 code works on arm64 with a few small changes to relocation types.
Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D28213
show more ...
|
#
0f2434ea |
| 17-Jan-2021 |
Emmanuel Vadot <manu@FreeBSD.org> |
loader: Partial revert of 987eabdc2ae1
The arm relocation code doesn't not work and make loader not loading dependancies.
Reported by: Dr. Rolf Jansen <freebsd-rj@obsigna.com>
|
Revision tags: release/12.2.0 |
|
#
987eabdc |
| 22-Sep-2020 |
D Scott Phillips <scottph@FreeBSD.org> |
stand/reloc_elf: Handle relative relocations for arm{,64} and riscv
Extend the powerpc relative relocation handling from r240782 to a handful of other architectures. This is needed to properly read
stand/reloc_elf: Handle relative relocations for arm{,64} and riscv
Extend the powerpc relative relocation handling from r240782 to a handful of other architectures. This is needed to properly read dependency information from kernel modules.
Reviewed by: jhb Approved by: scottl (implicit) MFC after: 1 week Sponsored by: Ampere Computing, Inc. Differential Revision: https://reviews.freebsd.org/D26365
show more ...
|
Revision tags: release/11.4.0 |
|
#
892df838 |
| 01-May-2020 |
Brandon Bergren <bdragon@FreeBSD.org> |
Remove sparc relocation support from reloc_elf.c.
It got missed in the sparc64 removal.
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
c79126f2 |
| 12-Jan-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r327624 through r327885.
|
#
85f794e1 |
| 11-Jan-2018 |
Konstantin Belousov <kib@FreeBSD.org> |
Skip IRELATIVE relocations when loader processes ELF files.
ifuncs can be only called in the (early boot) kernel environment, so postpone resolving until early stage of the kernel boot. This commit
Skip IRELATIVE relocations when loader processes ELF files.
ifuncs can be only called in the (early boot) kernel environment, so postpone resolving until early stage of the kernel boot. This commit is performed in advance to make loaders on most machines updated before ifuncs appear in the kernels.
Reviewed by: emaste, jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D13838
show more ...
|
#
f38658e1 |
| 05-Dec-2017 |
Warner Losh <imp@FreeBSD.org> |
Prefer stdint.h to inttypes.h since the added prototypes form the latter aren't used. Prefer sys/link_elf.h to link.h so we're only dependent on the kernel tree. The default installation of link.h ju
Prefer stdint.h to inttypes.h since the added prototypes form the latter aren't used. Prefer sys/link_elf.h to link.h so we're only dependent on the kernel tree. The default installation of link.h just includes this file, and any benefit from that is outweighed by the hassle it causes. This reduces the footprint of files needed from the system includes (or sysroot in buildworld).
Sponsored by: Netflix
show more ...
|
#
55b1c6e7 |
| 15-Nov-2017 |
Hans Petter Selasky <hselasky@FreeBSD.org> |
Merge ^/head r325663 through r325841.
|
#
ca987d46 |
| 15-Nov-2017 |
Warner Losh <imp@FreeBSD.org> |
Move sys/boot to stand. Fix all references to new location
Sponsored by: Netflix
|