|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
| #
84410c7b |
| 14-Dec-2023 |
Jessica Clarke <[email protected]> |
kldxref: Add arm support
(cherry picked from commit c88f7d8fb54051366d91acfc6c80aca6154da3b4)
|
| #
02f82a3f |
| 14-Dec-2023 |
Jessica Clarke <[email protected]> |
kldxref: Put each ef_CPUARCH.c on its own line to prepare for ef_arm.c
Adding ef_arm.c would push this past 80 columns, so prepare for its addition by splitting the line up.
(cherry picked from com
kldxref: Put each ef_CPUARCH.c on its own line to prepare for ef_arm.c
Adding ef_arm.c would push this past 80 columns, so prepare for its addition by splitting the line up.
(cherry picked from commit ada9d12f951201e13d831edc10acc36dd37d625e)
show more ...
|
| #
01aec6e1 |
| 12-Dec-2023 |
John Baldwin <[email protected]> |
kldxref: Make use of libelf to be a portable cross tool
This allows kldxref to operate on kernel objects from any architecture, not just the native architecture. In particular, this will permit gen
kldxref: Make use of libelf to be a portable cross tool
This allows kldxref to operate on kernel objects from any architecture, not just the native architecture. In particular, this will permit generating linker.hints files as part of a cross-arch release build.
- elf.c is a new file that includes various wrappers around libelf including routines to read ELF data structures such as program and section headers and ELF relocations into the "generic" forms described in <gelf.h>. This file also provides routines for converting a linker set into an array of addresses (GElf_Addr) as well as reading architecture-specific mod_* structures and converting them into "generic" Gmod_* forms where pointers are replaced with addresses.
- The various architecture-specific reloc handlers now use GElf_* types for most values (including GElf_Rel and GElf_Rela for relocation structures) and use routines from <sys/endian.h> to read and write target values. A new linker set matches reloc handlers to specific ELF (class, encoding, machine) tuples.
- The bits of kldxref.c that write out linker.hints now use the encoding (ELFDATA2[LM]SB) of the first file encountered in a directory to set the endianness of the output file. Input files with a different architecture in the same directory are skipped with a warning. In addition, the initial version record for the file must be deferred until the first record is finished since the architecture of the output file is not known until then.
- Various places that used 'sizeof(void *)' throughout now use 'elf_pointer_size()' to determine the size of a pointer in the target architecture.
Tested by: amd64 binary on both amd64 and i386 /boot/kernel Reviewed by: imp Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42966
(cherry picked from commit 0299afdff145e5d861797fe9c2de8b090c456fba)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
a7b5a3d4 |
| 05-Sep-2019 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into Fre
pkgbase: Put a lot of binaries and lib in FreeBSD-runtime
All of them are needed to be able to boot to single user and be able to repair a existing FreeBSD installation so put them directly into FreeBSD-runtime.
Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21503
show more ...
|
|
Revision tags: release/11.3.0 |
|
| #
7e452085 |
| 27-Feb-2019 |
Leandro Lupori <[email protected]> |
Fix kldxref on PowerPC64
When using kldxref on kernel modules built with clang8 + lld8, kldxref would be unable to find the modules metadata information, because PowerPC64 was using the ef_nop.c imp
Fix kldxref on PowerPC64
When using kldxref on kernel modules built with clang8 + lld8, kldxref would be unable to find the modules metadata information, because PowerPC64 was using the ef_nop.c implementation of ef_reloc().
When GNU LD was used, it was also relocating the metadata section of the .ko file. LLD does not do this, but only generate dynamic relocations for it. With minor changes, ef_powerpc.c can now work for PowerPC64 too.
Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D19370
show more ...
|
|
Revision tags: release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
| #
8bc65725 |
| 18-Dec-2014 |
Warner Losh <[email protected]> |
Remove -fno-strict-alias, as it is no longer needed.
|
|
Revision tags: release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0 |
|
| #
b12277d1 |
| 28-Aug-2010 |
Nathan Whitehorn <[email protected]> |
Repair some build breakage introduced in r211725 and garbage collect some code made obsolete in the same commit.
|
| #
25faff34 |
| 23-Aug-2010 |
Warner Losh <[email protected]> |
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
|
|
Revision tags: release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
| #
0aad0f22 |
| 20-Nov-2007 |
John Birrell <[email protected]> |
These are the things that the tinderbox has problems with because it doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to
These are the things that the tinderbox has problems with because it doesn't use the default CFLAGS which contain -fno-strict-aliasing.
Until the code is cleaned up, just add -fno-strict-aliasing to the CFLAGS of these for the tinderboxes' sake, allowing the rest of the tree to have -Werror enabled again.
show more ...
|
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
| #
b1bc6755 |
| 04-Aug-2006 |
Marcel Moolenaar <[email protected]> |
Build shared on PowerPC now that the bug has been found and fixed.
|
| #
acdb66fc |
| 30-Jul-2006 |
Marcel Moolenaar <[email protected]> |
Use NO_SHARED=YES to force a static link.
Pointed out by: ru@
|
| #
259d74ed |
| 29-Jul-2006 |
Marcel Moolenaar <[email protected]> |
Link kldxref(8) static on PowerPC to work around a SIGSEGV that cannot easily be analyzed due to there being no debugger yet. The SIGSEGV only happens when kldxref is linked shared. Since kldxref(8)
Link kldxref(8) static on PowerPC to work around a SIGSEGV that cannot easily be analyzed due to there being no debugger yet. The SIGSEGV only happens when kldxref is linked shared. Since kldxref(8) is needed for a release build, having it not dump core is important.
show more ...
|
|
Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0 |
|
| #
4a8b7e33 |
| 27-Aug-2004 |
Ian Dowse <[email protected]> |
Add support for reading ELF relocatable object file format modules.
|
|
Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0 |
|
| #
052238b1 |
| 04-Apr-2003 |
David E. O'Brien <[email protected]> |
style.Makefile(5)
|
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
| #
1eed250a |
| 21-Jan-2003 |
Jake Burkholder <[email protected]> |
Fix kldxref on sparc64 by allowing non-trivial relocations to be performed on variables read out of raw kld files. Unlike other platforms the value will be in an Elf_Rela, not in the data section of
Fix kldxref on sparc64 by allowing non-trivial relocations to be performed on variables read out of raw kld files. Unlike other platforms the value will be in an Elf_Rela, not in the data section of the elf file.
Submitted by: Hartmut Brandt <[email protected]> PR: 46730 Tested on: alpha (obrien), i386, sparc64
show more ...
|
|
Revision tags: release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs |
|
| #
28644e44 |
| 10-Dec-2001 |
Mike Heffner <[email protected]> |
Reorder WARNS line for style.
Pointed out by: bde
|
| #
87e5cd7c |
| 09-Dec-2001 |
Mike Heffner <[email protected]> |
WARNS=2 cleanup.
PR: bin/32567 MFC after: 2 weeks
|
| #
3d4630a4 |
| 12-Oct-2001 |
Dag-Erling Smørgrav <[email protected]> |
Write a real man page.
|
| #
9c6f9240 |
| 11-Sep-2001 |
Peter Wemm <[email protected]> |
Add kldxref(8), for maintaining the linker.hints file for translating module->pathname.ko. It supports only ELF for now.
Submitted by: bp (with some minor tweaks)
|