#
23dff4fd |
|
29-Feb-2024 |
Warner Losh <imp@FreeBSD.org> |
kernel: Sync ldscript files wrt gnu.attributes and .note.GNU-stack Bring the keeping of .gnu.attributes to all architectures. Also discard .note.GNU-stack on all archtiectures. Plus delete obsolete comment that was removed from i386 in 2010. Sponsored by: Netflix Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44069
|
#
71625ec9 |
|
16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line .c comment pattern Remove /^/[*/]\s*\$FreeBSD\$.*\n/
|
#
31333ebb |
|
29-Dec-2019 |
Ian Lepore <ian@FreeBSD.org> |
Eliminate the generated ldscript for arm and arm64, and strip $a/$d marker symbols from the linked kernel. The main thrust of this change is to generate a kernel that has the arm "marker" symbols stripped. Marker symbols start with $a, $d, $t or $x, and are emitted by the compiler to tell other toolchain components about the locations of data embedded in the instruction stream (literal-pool stuff). They are used for generating mixed-endian binaries (which we don't support). The linked kernel has approximately 21,000 such symbols in it, wasting space (500K in kernel.full, 190K in the final linked kernel), and sometimes obscuring function names in stack tracebacks. This change also simplifies the way the kernel is linked. Instead of using sed to generate two different ldscript files to generate both an elf kernel and a binary (elf headers stripped) kernel, we now use a single ldscript that refers to a "text_start" symbol, and we provide the value for that symbol using --defsym on the linker command line.
|
#
74cd06b4 |
|
04-Jun-2019 |
Ed Maste <emaste@FreeBSD.org> |
Expose the kernel's build-ID through sysctl After our migration (of certain architectures) to lld the kernel is built with a unique build-ID. Make it available via a sysctl and uname(1) to allow the user to identify their running kernel. Submitted by: Ali Mashtizadeh <ali_mashtizadeh.com> MFC after: 2 weeks Relnotes: Yes Event: Waterloo Hackathon 2019 Differential Revision: https://reviews.freebsd.org/D20326
|
#
45eff3df |
|
28-Jul-2016 |
Ed Maste <emaste@FreeBSD.org> |
remove CONSTRUCTORS from kernel linker scripts The linker script CONSTRUCTORS keyword is only meaningful "when linking object file formats which do not support arbitrary sections, such as ECOFF and XCOFF"[1] and is ignored for other object file formats. LLVM's lld does not yet accept (and ignore) CONSTRUCTORS, so just remove CONSTRUCTORS from the linker scripts as it has no effect. [1] https://sourceware.org/binutils/docs/ld/Output-Section-Keywords.html Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D7343
|
#
979d76c9 |
|
28-Jan-2014 |
Andrew Turner <andrew@FreeBSD.org> |
Remove STARTUP_PAGETABLE_ADDR from the ARM configs and replace it with memory at the end of the kernel. This helps reduce the SoC and board specific configuration required. Reviewed by: bsdimp Tested by: jmg (armeb), br
|
#
67727fbf |
|
09-Mar-2013 |
Andrew Turner <andrew@FreeBSD.org> |
Correctly align the unwind tables. Without this clang may incorrectly align them causing an alignment fault when producing a backtrace.
|
#
b56c0c67 |
|
19-Jan-2013 |
Andrew Turner <andrew@FreeBSD.org> |
When DDB is enabled and we are building for the ARM EABI include the unwind tables in the kernel.
|
#
e38aad0e |
|
21-Aug-2012 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
Get rid of ARM_BIG_ENDIAN for good: - remove leftovers in Makefile.arm - Let ld use default output format instead of providing one in ldscript
|
#
a7d5f7eb |
|
19-Oct-2010 |
Jamie Gritton <jamie@FreeBSD.org> |
A new jail(8) with a configuration file, to replace the work currently done by /etc/rc.d/jail.
|
#
d7f03759 |
|
19-Oct-2008 |
Ulf Lilleengen <lulf@FreeBSD.org> |
- Import the HEAD csup code which is the basis for the cvsmode work.
|
#
f5a9ac9c |
|
23-Nov-2005 |
Olivier Houchard <cognet@FreeBSD.org> |
Create a non-elf pure binary version of the kernel as well.
|
#
c60e48e2 |
|
23-Sep-2004 |
Olivier Houchard <cognet@FreeBSD.org> |
Use the address provided in the conf file, instead of hardcode 0xc0000000.
|
#
78b36e3c |
|
14-May-2004 |
Olivier Houchard <cognet@FreeBSD.org> |
Add config magic for arm.
|