mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
sections with the same name. (elfcore_grok_lwpstatus): Likewise. (elfcore_grok_win32pstatus): Likewise. (elfcore_grok_note): Likewise. (elfcore_grok_nto_status): Likewise. (elfcore_grok_nto_gregs): Likewise.
This commit is contained in:
@ -1,3 +1,13 @@
|
|||||||
|
2003-10-29 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elfcore_make_pseudosection): Allow multiple
|
||||||
|
sections with the same name.
|
||||||
|
(elfcore_grok_lwpstatus): Likewise.
|
||||||
|
(elfcore_grok_win32pstatus): Likewise.
|
||||||
|
(elfcore_grok_note): Likewise.
|
||||||
|
(elfcore_grok_nto_status): Likewise.
|
||||||
|
(elfcore_grok_nto_gregs): Likewise.
|
||||||
|
|
||||||
2003-10-27 Daniel Jacobowitz <drow@mvista.com>
|
2003-10-27 Daniel Jacobowitz <drow@mvista.com>
|
||||||
|
|
||||||
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
|
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Never skip dynamic
|
||||||
@ -417,12 +427,12 @@
|
|||||||
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
|
* elf32-xtensa.c (elf_xtensa_relocate_section): Fix typo that clobbered
|
||||||
dynamic relocation offsets.
|
dynamic relocation offsets.
|
||||||
|
|
||||||
2003-09-23 Alan Modra <alan@modra.org>
|
2003-09-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* simple.c (bfd_simple_get_relocated_section_contents): Free the
|
* simple.c (bfd_simple_get_relocated_section_contents): Free the
|
||||||
hash table using _bfd_generic_link_hash_table_free.
|
hash table using _bfd_generic_link_hash_table_free.
|
||||||
|
|
||||||
2003-09-23 Alan Modra <alan@modra.org>
|
2003-09-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
|
* elf-bfd.h (struct bfd_elf_special_section): Remove "suffix". Change
|
||||||
type of prefix_length and suffix_length to int. Rename "attributes"
|
type of prefix_length and suffix_length to int. Rename "attributes"
|
||||||
|
16
bfd/elf.c
16
bfd/elf.c
@ -6315,7 +6315,7 @@ _bfd_elfcore_make_pseudosection (bfd *abfd,
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
memcpy (threaded_name, buf, len);
|
memcpy (threaded_name, buf, len);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, threaded_name);
|
sect = bfd_make_section_anyway (abfd, threaded_name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
sect->_raw_size = size;
|
sect->_raw_size = size;
|
||||||
@ -6599,7 +6599,7 @@ elfcore_grok_lwpstatus (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
memcpy (name, buf, len);
|
memcpy (name, buf, len);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -6629,7 +6629,7 @@ elfcore_grok_lwpstatus (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
memcpy (name, buf, len);
|
memcpy (name, buf, len);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -6685,7 +6685,7 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
|
|
||||||
memcpy (name, buf, len);
|
memcpy (name, buf, len);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -6712,7 +6712,7 @@ elfcore_grok_win32pstatus (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
|
|
||||||
memcpy (name, buf, len);
|
memcpy (name, buf, len);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
|
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -6789,7 +6789,7 @@ elfcore_grok_note (bfd *abfd, Elf_Internal_Note *note)
|
|||||||
|
|
||||||
case NT_AUXV:
|
case NT_AUXV:
|
||||||
{
|
{
|
||||||
asection *sect = bfd_make_section (abfd, ".auxv");
|
asection *sect = bfd_make_section_anyway (abfd, ".auxv");
|
||||||
|
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
@ -6941,7 +6941,7 @@ elfcore_grok_nto_status (bfd *abfd, Elf_Internal_Note *note, pid_t *tid)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
strcpy (name, buf);
|
strcpy (name, buf);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
@ -6968,7 +6968,7 @@ elfcore_grok_nto_gregs (bfd *abfd, Elf_Internal_Note *note, pid_t tid)
|
|||||||
return FALSE;
|
return FALSE;
|
||||||
strcpy (name, buf);
|
strcpy (name, buf);
|
||||||
|
|
||||||
sect = bfd_make_section (abfd, name);
|
sect = bfd_make_section_anyway (abfd, name);
|
||||||
if (sect == NULL)
|
if (sect == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user