diff options
author | jhb <jhb@FreeBSD.org> | 2017-05-11 17:26:34 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2017-05-11 17:26:34 +0000 |
commit | 1ab4373cafea8d13701d093b10df86fbd869d37b (patch) | |
tree | ecdc1a75821e4bc72e1fd3cf5d2e341984409943 /sys/amd64/linux32/linux32_support.s | |
parent | 7a83feafdc958c9ea4db14fb1d02cb5bae615e3e (diff) | |
download | FreeBSD-src-1ab4373cafea8d13701d093b10df86fbd869d37b.zip FreeBSD-src-1ab4373cafea8d13701d093b10df86fbd869d37b.tar.gz |
MFC 313407,313449: Copy ELF machine/flags from binaries to core dumps.
313407:
Copy the e_machine and e_flags fields from the binary into an ELF core dump.
In the kernel, cache the machine and flags fields from ELF header to use in
the ELF header of a core dump. For gcore, the copy these fields over from
the ELF header in the binary.
This matters for platforms which encode ABI information in the flags field
(such as o32 vs n32 on MIPS).
313449:
Trim trailing whitespace (mostly introduced in r313407).
Sponsored by: DARPA / AFRL
Diffstat (limited to 'sys/amd64/linux32/linux32_support.s')
0 files changed, 0 insertions, 0 deletions