commit | a171378aa472fab0407dc1f99e8e7782286719ed | [log] [tgz] |
---|---|---|
author | John Baldwin <jhb@FreeBSD.org> | Fri Apr 01 13:16:46 2022 -0700 |
committer | John Baldwin <jhb@FreeBSD.org> | Fri Apr 01 13:16:46 2022 -0700 |
tree | ec638d9e646e1f5b2030fc20f6005511d20f185b | |
parent | e330d4c033eab2e0e7206a29d6c11a9a59fd205b [diff] |
Recognize FreeBSD core dump note for x86 segment base registers. This core dump note contains the value of the base address of the %fs and %gs segments for both i386 and amd64 core dumps. It is primarily useful in resolving the address of TLS variables in core dumps. binutils/ChangeLog: * readelf.c (get_freebsd_elfcore_note_type): Handle NT_FREEBSD_X86_SEGBASES. include/ChangeLog: * elf/common.h (NT_FREEBSD_X86_SEGBASES): Define.