mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-03 19:36:46 +08:00
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
.dynsbss flags.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-11 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Correct
|
||||||
|
.dynsbss flags.
|
||||||
|
|
||||||
2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
|
2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
|
||||||
|
|
||||||
* archures.c: Define bfd_mach_maxq10 and bfd_mach_maxq20.
|
* archures.c: Define bfd_mach_maxq10 and bfd_mach_maxq20.
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/* PowerPC-specific support for 32-bit ELF
|
/* PowerPC-specific support for 32-bit ELF
|
||||||
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
||||||
2004 Free Software Foundation, Inc.
|
2004, 2005 Free Software Foundation, Inc.
|
||||||
Written by Ian Lance Taylor, Cygnus Support.
|
Written by Ian Lance Taylor, Cygnus Support.
|
||||||
|
|
||||||
This file is part of BFD, the Binary File Descriptor library.
|
This file is part of BFD, the Binary File Descriptor library.
|
||||||
@ -2820,7 +2820,7 @@ ppc_elf_create_dynamic_sections (bfd *abfd, struct bfd_link_info *info)
|
|||||||
htab->dynbss = bfd_get_section_by_name (abfd, ".dynbss");
|
htab->dynbss = bfd_get_section_by_name (abfd, ".dynbss");
|
||||||
htab->dynsbss = s = bfd_make_section (abfd, ".dynsbss");
|
htab->dynsbss = s = bfd_make_section (abfd, ".dynsbss");
|
||||||
if (s == NULL
|
if (s == NULL
|
||||||
|| ! bfd_set_section_flags (abfd, s, SEC_ALLOC))
|
|| ! bfd_set_section_flags (abfd, s, SEC_ALLOC | SEC_LINKER_CREATED))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
if (! info->shared)
|
if (! info->shared)
|
||||||
|
Reference in New Issue
Block a user