]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove elf_backend_write_core_note users/palves/core-prstatus-rework
authorAlan Modra <amodra@gmail.com>
Fri, 22 Jan 2016 00:33:47 +0000 (11:03 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 22 Jan 2016 00:36:13 +0000 (11:06 +1030)
commit3a36c1c7b4395f9489a3d6ad27ab5ac873d1e62c
treeaf7f5b5c6e49c4b67bb61ea881f0481b394aa4b8
parentabd215c9bd3752a9bb475ee30affb5a26d65b1a7
Remove elf_backend_write_core_note

This function was added in 2007 to support powerpc gdb "gcore" writing
32-bit powerpc linux core files on a 64-bit powerpc host, when
PowerPC64 glibc lacked (and still lacks) 32-bit versions of prstatus_t
and prpsinfo_t.  Now that gdb has elfcore_write_linux_prstatus32/64
and elfcore_write_linux_prpsinfo32/64, this linux specific backend
function should disappear.

* elf-bfd.h (struct elf_backend_data): Remove
elf_backend_write_core_note.
* elf.c (elfcore_write_prpsinfo, elfcore_write_prstatus): Don't call
elf_backend_write_core_note.
* elf32-arm.c (elf32_arm_nabi_write_core_note): Delete function.
(elf_backend_write_core_note): Don't define.
* elf32-ppc.c (ppc_elf_write_core_note): Delete function.
(elf_backend_write_core_note): Don't define.
* elf64-ppc.c (ppc64_elf_write_core_note): Delete function.
(elf_backend_write_core_note): Don't define.
* elf64-x86-64.c (elf_x86_64_write_core_note): Delete function.
(elf_backend_write_core_note): Don't define.
(CORE_HEADER): Don't include.
* elfxx-aarch64.c (_bfd_aarch64_elf_write_core_note): Delete function.
* elfxx-aarch64.h (_bfd_aarch64_elf_write_core_note): Delete prototype.
(elf_backend_write_core_note): Don't define.
* elfxx-target.h (elf_backend_write_core_note): Don't define.
(elfNN_bed): Adjust.
* hosts/x86-64linux.h: Delete file.
* configure.ac (CORE_HEADER): Delete.
* configure: Regenerate.
* config.in: Regenerate.
13 files changed:
bfd/config.in
bfd/configure
bfd/configure.ac
bfd/elf-bfd.h
bfd/elf.c
bfd/elf32-arm.c
bfd/elf32-ppc.c
bfd/elf64-ppc.c
bfd/elf64-x86-64.c
bfd/elfxx-aarch64.c
bfd/elfxx-aarch64.h
bfd/elfxx-target.h
bfd/hosts/x86-64linux.h [deleted file]