jhb 36dfedc923 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).

Reviewed by:	kib
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D9392
2017-02-07 20:34:03 +00:00
..
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-07-30 06:32:18 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-19 23:38:07 +00:00
2016-10-24 14:08:05 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-01-04 16:24:40 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-01-07 00:59:06 +00:00
2016-11-13 00:11:30 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-10-24 14:08:05 +00:00
2016-11-13 00:11:30 +00:00
2016-01-27 00:03:43 +00:00
2016-11-08 23:59:41 +00:00
2016-02-02 21:04:33 +00:00
2015-06-13 19:20:56 +00:00
2017-02-06 08:27:19 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-03-29 11:56:00 +00:00
2015-06-13 19:20:56 +00:00
2016-11-15 00:24:18 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-05-16 01:11:02 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-16 02:06:34 +00:00
2015-06-13 19:20:56 +00:00
2016-12-16 02:09:48 +00:00
2016-11-13 00:11:30 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-16 01:59:28 +00:00
2015-06-13 19:20:56 +00:00
2016-12-16 01:47:08 +00:00
2015-06-13 19:20:56 +00:00
2016-01-15 23:13:01 +00:00
2015-06-16 23:37:19 +00:00
2015-06-16 23:37:19 +00:00
2016-04-19 02:05:32 +00:00
2016-12-06 15:42:18 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-24 22:51:02 +00:00
2015-06-13 19:20:56 +00:00
2015-10-21 05:37:09 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-01-24 07:48:36 +00:00
2015-06-13 19:20:56 +00:00
2016-12-16 01:51:12 +00:00
2015-06-13 19:20:56 +00:00
2017-01-28 02:22:15 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-02-06 08:49:57 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-05-17 12:52:31 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-07-09 04:56:28 +00:00
2015-06-13 19:20:56 +00:00
2015-10-21 05:37:09 +00:00
2016-09-30 13:50:59 +00:00
2016-04-27 02:13:57 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-21 17:33:31 +00:00
2016-01-21 17:33:31 +00:00
2015-06-13 19:20:56 +00:00
2016-01-21 17:33:31 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-01-21 17:33:31 +00:00
2015-06-13 19:20:56 +00:00
2016-06-25 12:46:18 +00:00
2016-09-19 06:39:11 +00:00
2017-01-23 15:39:51 +00:00
2015-06-13 19:20:56 +00:00
2015-06-15 10:56:01 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-12-05 13:23:22 +00:00
2015-06-13 19:20:56 +00:00
2017-01-11 16:09:25 +00:00
2016-04-18 07:14:01 +00:00
2016-10-24 14:08:05 +00:00
2015-06-13 19:20:56 +00:00
2016-11-13 00:11:30 +00:00
2015-06-13 19:20:56 +00:00
2016-04-27 02:34:25 +00:00
2015-06-13 19:20:56 +00:00
2015-09-18 21:01:52 +00:00
2017-01-09 00:29:23 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-11-13 00:11:30 +00:00
2015-06-13 19:20:56 +00:00
2017-01-24 09:41:44 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-12-03 14:32:54 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2017-01-07 17:37:39 +00:00
2015-06-13 19:20:56 +00:00
2015-12-01 19:18:53 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-11-13 00:11:30 +00:00
2016-11-08 23:59:41 +00:00
2015-06-13 19:20:56 +00:00
2015-06-13 19:20:56 +00:00
2016-11-13 00:11:30 +00:00
2015-09-03 07:18:52 +00:00
2015-09-03 07:18:52 +00:00
2015-09-03 07:18:52 +00:00
2017-02-06 08:27:19 +00:00