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
commit8345bd2e53506b81739cdcdad5c441caf0f7bbb1 (patch)
tree566104d5208fbe911428dad42f2a4be787614b83
parent0766a120a2ce52f4a37cb385aa15aa62ab663369 (diff)
downloadgdb-8345bd2e53506b81739cdcdad5c441caf0f7bbb1.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;