| #
b882d215
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: link all .rodata variants into one output section
MFC after: 1 week
|
| #
60e72eb1
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: align data section to the supersection.
Offset based data section alignment is probably not applicable to any system other than i386.
MFC after: 4 week
|
| #
d98a18d0
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script.
MFC after: 1 week
|
| #
1701dfae
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: fix symbols around the .ARM.exidx section
Insert a direct assignment to the location counter to ensure that orphaned sections cannot be emitted between the _exidx_start symbol and the .ARM.exid
arm: fix symbols around the .ARM.exidx section
Insert a direct assignment to the location counter to ensure that orphaned sections cannot be emitted between the _exidx_start symbol and the .ARM.exidx section.
Discussed with: jrtc27 MFC after: 1 week
show more ...
|
| #
0381f0b6
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: Fix typo in ldscript.arm.
MFC after: 1 week
|
| #
3e76d052
|
| 02-Sep-2024 |
Zhenlei Huang <zlei@FreeBSD.org> |
kernel: Add defination of .init_array and .fini_array for all other platforms
Currently these sections are not used but defined only for amd64 and i386. Added them for all other platforms to keep al
kernel: Add defination of .init_array and .fini_array for all other platforms
Currently these sections are not used but defined only for amd64 and i386. Added them for all other platforms to keep all platforms in sync. There should be no functional change.
This change is extracted from a bigger patch [1] of hselasky, with additional fix for the order of .fini_array section.
1. https://reviews.freebsd.org/D40467
Obtained from: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45214
show more ...
|
| #
37d6d682
|
| 01-Aug-2024 |
Warner Losh <imp@FreeBSD.org> |
kernel: Move the debug stuff into a common script
Move a copy of amd64's debug code into debug.ldscript. Make all the kernels use this. This has the effect of modernizing the STABS for powerpc as th
kernel: Move the debug stuff into a common script
Move a copy of amd64's debug code into debug.ldscript. Make all the kernels use this. This has the effect of modernizing the STABS for powerpc as the others were almost already in sync. For the ones that weren't this adds the DWARF 3 debug symbols from i386/amd64.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D44071
show more ...
|
| #
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
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
show more ...
|
| #
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 st
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.
show more ...
|
| #
0269ae4c
|
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
| #
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 th
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
show more ...
|
| #
b882d215
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: link all .rodata variants into one output section
MFC after: 1 week
|
| #
60e72eb1
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: align data section to the supersection.
Offset based data section alignment is probably not applicable to any system other than i386.
MFC after: 4 week
|
| #
d98a18d0
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: add read_frequently, read_mostly and exclusive_cache_line sections to linker script.
MFC after: 1 week
|
| #
1701dfae
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: fix symbols around the .ARM.exidx section
Insert a direct assignment to the location counter to ensure that orphaned sections cannot be emitted between the _exidx_start symbol and the .ARM.exid
arm: fix symbols around the .ARM.exidx section
Insert a direct assignment to the location counter to ensure that orphaned sections cannot be emitted between the _exidx_start symbol and the .ARM.exidx section.
Discussed with: jrtc27 MFC after: 1 week
show more ...
|
| #
0381f0b6
|
| 17-Nov-2024 |
Michal Meloun <mmel@FreeBSD.org> |
arm: Fix typo in ldscript.arm.
MFC after: 1 week
|
| #
3e76d052
|
| 02-Sep-2024 |
Zhenlei Huang <zlei@FreeBSD.org> |
kernel: Add defination of .init_array and .fini_array for all other platforms
Currently these sections are not used but defined only for amd64 and i386. Added them for all other platforms to keep al
kernel: Add defination of .init_array and .fini_array for all other platforms
Currently these sections are not used but defined only for amd64 and i386. Added them for all other platforms to keep all platforms in sync. There should be no functional change.
This change is extracted from a bigger patch [1] of hselasky, with additional fix for the order of .fini_array section.
1. https://reviews.freebsd.org/D40467
Obtained from: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45214
show more ...
|
| #
37d6d682
|
| 01-Aug-2024 |
Warner Losh <imp@FreeBSD.org> |
kernel: Move the debug stuff into a common script
Move a copy of amd64's debug code into debug.ldscript. Make all the kernels use this. This has the effect of modernizing the STABS for powerpc as th
kernel: Move the debug stuff into a common script
Move a copy of amd64's debug code into debug.ldscript. Make all the kernels use this. This has the effect of modernizing the STABS for powerpc as the others were almost already in sync. For the ones that weren't this adds the DWARF 3 debug symbols from i386/amd64.
Sponsored by: Netflix Differential Revision: https://reviews.freebsd.org/D44071
show more ...
|
| #
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
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
show more ...
|
| #
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 st
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.
show more ...
|
| #
0269ae4c
|
| 06-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @348740
Sponsored by: The FreeBSD Foundation
|
| #
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 th
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
show more ...
|
| #
27067774
|
| 16-Aug-2016 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r303250 through r304235.
|