This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH 1/3] BFD: Write Linux core PRSTATUS note into MIPS core file
- From: "Maciej W. Rozycki" <macro at mips dot com>
- To: Djordje Todorovic <djordje dot todorovic at rt-rk dot com>
- Cc: <binutils at sourceware dot org>, <gdb-patches at sourceware dot org>, <asowda at cisco dot com>, <petar dot jovanovic at rt-rk dot com>, <nemanja dot popov at rt-rk dot com>, <nikola dot prica at rt-rk dot com>, Pedro Alves <palves at redhat dot com>
- Date: Wed, 25 Oct 2017 23:39:18 +0100
- Subject: Re: [PATCH 1/3] BFD: Write Linux core PRSTATUS note into MIPS core file
- Authentication-results: sourceware.org; auth=none
- References: <1508940933-13857-1-git-send-email-djordje.todorovic@rt-rk.com>
On Wed, 25 Oct 2017, Djordje Todorovic wrote:
> diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
> index 17ca432..69c6061 100644
> --- a/bfd/elf32-mips.c
> +++ b/bfd/elf32-mips.c
> @@ -2554,6 +2593,9 @@ static const struct ecoff_debug_swap mips_elf32_ecoff_debug_swap = {
> #define ELF_COMMONPAGESIZE 0x1000
> #define elf32_bed elf32_tradbed
>
> +#undef elf_backend_write_core_note
> +#define elf_backend_write_core_note elf32_mips_write_core_note
This is column #48 rather than #40 (compare the `elf32_bed' definition
above and the preceding ones). Likewise the two other places. I'll fix
it up myself when committing though, no need to resubmit.
Maciej