summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-12-12 23:18:54 +0000
committerMark Kettenis <kettenis@gnu.org>2003-12-12 23:18:54 +0000
commit6143508c00de3c3fa280128ad9655e4ffd77a3be (patch)
treed0fd83e2e221314ed9a9c8610228aa389fb99dc9
parent21bb17df87630839b4269cc17535a6ded1f7ed1b (diff)
downloadbinutils-gdb-6143508c00de3c3fa280128ad9655e4ffd77a3be.tar.gz
* elf.c (elfcore_grok_note): Allow multiple .auxv sections.
-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;