|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0 |
|
| #
dd2350f9 |
| 09-Sep-2019 |
Warner Losh <[email protected]> |
MFC: r351429,351430,351485,351497,351498
Merge changes to turn off -Werror for gcc 4.2.1 by default as part of the plan to deorbit gcc 4.2.1 from -head before 13.0.
Relnotes: Yes
|
|
Revision tags: release/11.3.0 |
|
| #
beacac45 |
| 22-May-2019 |
Dmitry Chagin <[email protected]> |
MFC r347196:
The build process generates assym.inc from genassym.o, so don't forget to clean genassym.o
|
|
Revision tags: release/12.0.0 |
|
| #
ccca101f |
| 03-Jul-2018 |
Bryan Drewery <[email protected]> |
All genassym.sh usage need offset.inc
|
| #
d3b03d74 |
| 25-Jun-2018 |
Ed Maste <[email protected]> |
linux64: add arm64 linuxulator build details
The arm64 linuxulator needs different arguments for the objcopy invocation used to build the linux VDSO. These arguments are both arch- and OS-dependent
linux64: add arm64 linuxulator build details
The arm64 linuxulator needs different arguments for the objcopy invocation used to build the linux VDSO. These arguments are both arch- and OS-dependent, so I did not try to use some common setting for them.
Reviewed by: imp Sponsored by: Turing Robotic Industries Differential Revision: https://reviews.freebsd.org/D16011
show more ...
|
|
Revision tags: release/11.2.0 |
|
| #
0f696968 |
| 12-Jun-2018 |
Ed Maste <[email protected]> |
linux64: use linux output target for linux_vdso.so
linux_vdso.so provides the vdso for the linuxulator's amd64 target and is mapped into a Linux binary's address space. Thus it should be a Linux-st
linux64: use linux output target for linux_vdso.so
linux_vdso.so provides the vdso for the linuxulator's amd64 target and is mapped into a Linux binary's address space. Thus it should be a Linux-style .so, which has the ELF OS/ABI unset.
It turns out that ELF Tool Chain elfcopy/objcopy also has a bug where the OS/ABI field is unset, regardless of the specified --output-target, so this change is a no-op with the default in-tree toolchain. This is a real fix when using external binutils, and the ELF Tool Chain bug will be fixed in the future.
PR: 228934 Sponsored by: Turing Robotic Industries
show more ...
|
| #
6469bdcd |
| 06-Apr-2018 |
Brooks Davis <[email protected]> |
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is close
Move most of the contents of opt_compat.h to opt_global.h.
opt_compat.h is mentioned in nearly 180 files. In-progress network driver compabibility improvements may add over 100 more so this is closer to "just about everywhere" than "only some files" per the guidance in sys/conf/options.
Keep COMPAT_LINUX32 in opt_compat.h as it is confined to a subset of sys/compat/linux/*.c. A fake _COMPAT_LINUX option ensure opt_compat.h is created on all architectures.
Move COMPAT_LINUXKPI to opt_dontuse.h as it is only used to control the set of compiled files.
Reviewed by: kib, cem, jhb, jtl Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D14941
show more ...
|
| #
fc2a8776 |
| 20-Mar-2018 |
Ed Maste <[email protected]> |
Rename assym.s to assym.inc
assym is only to be included by other .s files, and should never actually be assembled by itself.
Reviewed by: imp, bdrewery (earlier) Sponsored by: The FreeBSD Foundati
Rename assym.s to assym.inc
assym is only to be included by other .s files, and should never actually be assembled by itself.
Reviewed by: imp, bdrewery (earlier) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D14180
show more ...
|
| #
85059bc4 |
| 05-Feb-2018 |
Ed Maste <[email protected]> |
Move assym.s to DPSRCS in linux modules
assym.s exists only to be included by other .s files, and should not actually be assembled by itself.
Sponsored by: Turing Robotic Industries Inc.
|
| #
48bc159f |
| 29-Jan-2018 |
Ed Maste <[email protected]> |
Correct MD patch in linux64 module Makefile
Reviewed by: imp Sponsored by: Turing Robotic Industries Inc. Differential Revision: https://reviews.freebsd.org/D14061
|
|
Revision tags: release/10.4.0, release/11.1.0 |
|
| #
e2e6a2a1 |
| 04-Jun-2017 |
Dmitry Chagin <[email protected]> |
Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never match real configured kernels.
Repor
Revert r319053 due to lack of sence. As pointed out by kib@ opt_global.h contains such fundamental settings as e.g. SMP option and fake opt_global.h almost never match real configured kernels.
Reported by: kib@
show more ...
|
| #
9ecc1abc |
| 28-May-2017 |
Dmitry Chagin <[email protected]> |
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
Also fix getrandom() if Linuxulator modules are built without the kernel.
On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user.
Also fix getrandom() if Linuxulator modules are built without the kernel.
PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki MFC after: 1 week
show more ...
|
| #
1a8ea9fb |
| 28-May-2017 |
Dmitry Chagin <[email protected]> |
Strip _binary_linux_locore_o_size from ${VDSO}.so as it is a low absolute symbol, and this breaks symbol lookup in ddb.
Requested by: bde@
MFC after: 1 week
|
| #
193d9e76 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
sys/modules: normalize .CURDIR-relative paths to SRCTOP
This simplifies make output/logic
Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon
|
| #
0e8b3ab3 |
| 21-Feb-2017 |
Ed Maste <[email protected]> |
Exclude -flto when building *genassym.o
The build process generates *assym.h using nm from *genassym.o (which is in turn created from *genassym.c).
When compiling with link-time optimization (LTO)
Exclude -flto when building *genassym.o
The build process generates *assym.h using nm from *genassym.o (which is in turn created from *genassym.c).
When compiling with link-time optimization (LTO) using -flto, .o files are LLVM bitcode, not ELF objects. This is not usable by genassym.sh, so remove -flto from those ${CC} invocations.
Submitted by: George Rimar Reviewed by: dim MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D9659
show more ...
|
| #
d82de054 |
| 16-Feb-2017 |
Edward Tomasz Napierala <[email protected]> |
Implement linux version of ptrace(2). It's nowhere near complete, but it allows to use 64 bit linux strace(1) on 64 bit linux binaries.
Reviewed by: dchagin (earlier version) MFC after: 2 weeks Spo
Implement linux version of ptrace(2). It's nowhere near complete, but it allows to use 64 bit linux strace(1) on 64 bit linux binaries.
Reviewed by: dchagin (earlier version) MFC after: 2 weeks Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D9406
show more ...
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
ce859641 |
| 27-Jul-2016 |
Bryan Drewery <[email protected]> |
opt_apic.h is only used on i386.
MFC after: 3 days Sponsored by: EMC / Isilon Storage Division
|
|
Revision tags: release/10.3.0 |
|
| #
621a9c54 |
| 25-Feb-2016 |
Ed Maste <[email protected]> |
pass -fPIC to the assembler, not linker
-fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to terminate with an invalid argument error.
Reviewe
pass -fPIC to the assembler, not linker
-fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to terminate with an invalid argument error.
Reviewed by: dchagin, kib MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5444
show more ...
|
| #
7672ca05 |
| 22-Nov-2015 |
Mark Johnston <[email protected]> |
Remove unneeded includes of opt_kdtrace.h.
As of r258541, KDTRACE_HOOKS is defined in opt_global.h, so opt_kdtrace.h is not needed when defining SDT(9) probes.
|
|
Revision tags: release/10.2.0 |
|
| #
c5d87f33 |
| 25-May-2015 |
Craig Rodrigues <[email protected]> |
For objcopy, use --input-target and --output-target
When building with gcc 4.9 and binutils 2.25, using '--input' and '--output' returns an error message: objcopy: option `--input' is ambiguous
For objcopy, use --input-target and --output-target
When building with gcc 4.9 and binutils 2.25, using '--input' and '--output' returns an error message: objcopy: option `--input' is ambiguous
Reported by: Jenkins
show more ...
|
| #
e16fe1c7 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which is not enough for epoll user data,
Implement epoll family system calls. This is a tiny wrapper around kqueue() to implement epoll subset of functionality. The kqueue user data are 32bit on i386 which is not enough for epoll user data, so we keep user data in the proc emuldata.
Initial patch developed by rdivacky@ in 2007, then extended by Yuri Victorovich @ r255672 and finished by me in collaboration with mjg@ and jillies@.
Differential Revision: https://reviews.freebsd.org/D1092
show more ...
|
| #
b2f58791 |
| 24-May-2015 |
Dmitry Chagin <[email protected]> |
Add preliminary support for x86-64 Linux binaries.
Differential Revision: https://reviews.freebsd.org/D1076
|