]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Use pseudosections for NT_FREEBSD_X86_SEGBASES core dump notes.
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 1 Apr 2022 20:16:46 +0000 (13:16 -0700)
commitb5c2367c3ac5f696221d9c24f470498abdb83257
treef9355ff7dc4bb40ea01795cdfab9e9eb2a3afa54
parenta171378aa472fab0407dc1f99e8e7782286719ed
Use pseudosections for NT_FREEBSD_X86_SEGBASES core dump notes.

This includes adding pseudosections when reading a core dump as well
as support for writing out a core dump note from a pseudosection.

bfd/ChangeLog:

* elf-bfd.h (elfcore_write_x86_segbases): New.
* elf.c (elfcore_grok_freebsd_note): Add pseudosections for
NT_FREEBSD_X86_SEGBASES register notes.
(elfcore_write_x86_segbases): New.
(elfcore_write_register_note): Write NT_FREEBSD_X86_SEGBASES
register notes.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c