forked from Imagelibrary/binutils-gdb
Revert "2.41 Release sources"
This reverts commit 675b9d612c.
See https://sourceware.org/pipermail/binutils/2023-August/128761.html.
This commit is contained in:
@@ -3176,8 +3176,9 @@ coff_compute_section_file_positions (bfd * abfd)
|
||||
created and not just improve performances with gdb.
|
||||
*/
|
||||
|
||||
if ((!strcmp (current->name, _TEXT)
|
||||
|| !strcmp (current->name, _DATA))
|
||||
if ((current->flags & SEC_LOAD) != 0
|
||||
&& (!strcmp (current->name, _TEXT)
|
||||
|| !strcmp (current->name, _DATA))
|
||||
&& (previous == NULL || strcmp(previous->name, _TDATA)))
|
||||
{
|
||||
bfd_vma align = 4096;
|
||||
@@ -3190,7 +3191,8 @@ coff_compute_section_file_positions (bfd * abfd)
|
||||
sofar += align + vma_off - sofar_off;
|
||||
}
|
||||
#endif
|
||||
if (previous != NULL)
|
||||
if (previous != NULL
|
||||
&& (previous->flags & SEC_LOAD) != 0)
|
||||
previous->size += sofar - old_sofar;
|
||||
}
|
||||
|
||||
@@ -4695,7 +4697,7 @@ coff_slurp_symbol_table (bfd * abfd)
|
||||
#endif
|
||||
#ifdef RS6000COFF_C
|
||||
case C_HIDEXT:
|
||||
#if ! defined _AIX52 && ! defined AIX_WEAK_SUPPORT
|
||||
#ifndef AIX_WEAK_SUPPORT
|
||||
case C_AIX_WEAKEXT:
|
||||
#endif
|
||||
#endif
|
||||
@@ -5021,7 +5023,7 @@ coff_classify_symbol (bfd *abfd,
|
||||
#endif
|
||||
#ifdef RS6000COFF_C
|
||||
case C_HIDEXT:
|
||||
#if ! defined _AIX52 && ! defined AIX_WEAK_SUPPORT
|
||||
#ifndef AIX_WEAK_SUPPORT
|
||||
case C_AIX_WEAKEXT:
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user