summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c2
2 files changed, 5 insertions, 1 deletions
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 <kettenis@gnu.org>
+
+ * elf.c (elfcore_grok_note): Allow multiple .auxv sections.
+
2003-09-18 Andreas Schwab <schwab@suse.de>
* 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;