Add support for NetBSD/sh3 core file sections. Merge multiple copies of auxv section...
authorChristos Zoulas <christos@zoulas.com>
Mon, 10 Jun 2019 13:41:35 +0000 (14:41 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 10 Jun 2019 13:41:35 +0000 (14:41 +0100)
commit58e07198f34c3a8bb7d64392e8b978a0d741244e
tree0eb790d1b10a9127593d9202f3e507ccf40615b6
parent25ce02ee7b7667fb7bb882421ff869c080777bee
Add support for NetBSD/sh3 core file sections.  Merge multiple copies of auxv section creation into one function.

PR 24650
* elf.c (elfcore_make_auxv_note_section): New function.
(elfcore_grok_note): Use it.
(elfcore_grok_freebsd_note): Likewise.
(elfcore_grok_openbsd_note): Likewise.
(elfcore_grok_netbsd_note): Likewise.  Plus add support for
NT_NETBSDCORE_AUXV notes.
bfd/ChangeLog
bfd/elf.c