This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFC] Cross core support


On Fri, Jun 29, 2001 at 11:01:27AM -0700, Daniel Jacobowitz wrote:
> 2001-06-29  Daniel Jacobowitz  <drow@mvista.com>
> 	* elf-bfd.h: Add prototypes for _bfd_elfcore_make_pseudosection
> 	and _bfd_elfcore_strndup.
> 	(struct elf_backend_data): Add elf_backend_grok_prstatus
> 	and elf_backend_grok_psinfo.
> 	* elf.c (_bfd_elfcore_make_pseudosection): New function.
> 	(elfcore_grok_prstatus): Use it.
> 	(elfcore_make_note_pseudosection): Likewise.
> 	(elfcore_strndup):  Rename to...
> 	(_bfd_elfcore_strndup): Here, and make global.
> 	(elfcore_grok_psinfo): Use _bfd_elfcore_strndup.
> 	(elfcore_grok_note): Call elf_backend_grok_prstatus
> 	and elf_backend_grok_psinfo if available.
> 	* elf32-mips.c (_bfd_elf32_mips_grok_prstatus): New function.
> 	(_bfd_elf32_mips_grok_psinfo): New function.
> 	(elf_backend_grok_prstatus): Define.
> 	(elf_backend_grok_psinfo): Define.
> 	* elfxx-target.h (elf_backend_grok_prstatus): Default to NULL.
> 	(elf_backend_grok_psinfo): Likewise.
> 	(elfNN_bed): Include elf_backend_grok_prstatus and
> 	elf_backend_grok_psinfo.

Looks OK to me.  Applying to mainline.  I made a few minor tweaks, which
I'll apply separately as the tweaks extended to a few more things than
your patch.

Alan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]