From 8345bd2e53506b81739cdcdad5c441caf0f7bbb1 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Fri, 12 Dec 2003 23:18:54 +0000 Subject: * elf.c (elfcore_grok_note): Allow multiple .auxv sections. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a7ead7e54df..be37232efdb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-12-13 Mark Kettenis + + * elf.c (elfcore_grok_note): Allow multiple .auxv sections. + 2003-09-18 Andreas Schwab * simple.c (bfd_simple_get_relocated_section_contents): Use diff --git a/bfd/elf.c b/bfd/elf.c index 3868cff6a1d..4afe4fd6b79 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -6810,7 +6810,7 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note) case NT_AUXV: { - asection *sect = bfd_make_section (abfd, ".auxv"); + asection *sect = bfd_make_section_anyway (abfd, ".auxv"); if (sect == NULL) return FALSE; -- cgit v1.2.1