diff options
Diffstat (limited to 'bfd/lynx-core.c')
-rw-r--r-- | bfd/lynx-core.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/lynx-core.c b/bfd/lynx-core.c index ef243fbef19..5f91b450c52 100644 --- a/bfd/lynx-core.c +++ b/bfd/lynx-core.c @@ -1,5 +1,5 @@ /* BFD back end for Lynx core files - Copyright 1993, 1994, 1995, 2001, 2002, 2004 + Copyright 1993, 1994, 1995, 2001, 2002, 2004, 2006 Free Software Foundation, Inc. Written by Stu Grossman of Cygnus Support. @@ -73,11 +73,10 @@ make_bfd_asection (abfd, name, flags, size, vma, filepos) strcpy (newname, name); - asect = bfd_make_section (abfd, newname); + asect = bfd_make_section_with_flags (abfd, newname, flags); if (!asect) return NULL; - asect->flags = flags; asect->size = size; asect->vma = vma; asect->filepos = filepos; |