diff options
author | Nick Clifton <nickc@redhat.com> | 2023-08-02 09:23:36 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-08-02 09:23:36 +0100 |
commit | 675b9d612cc59446e84e2c6d89b45500cb603a8d (patch) | |
tree | ad4ae6b4b1f1f81aceb945f15c5c12ea2b379689 /bfd/coffcode.h | |
parent | 69c37f53e20dc3e0b3c179b511ff786db6ae114e (diff) | |
download | binutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.zip binutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.gz binutils-675b9d612cc59446e84e2c6d89b45500cb603a8d.tar.bz2 |
2.41 Release sourcesbinutils-2_41-release
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 6c8080c..6272025 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3176,9 +3176,8 @@ coff_compute_section_file_positions (bfd * abfd) created and not just improve performances with gdb. */ - if ((current->flags & SEC_LOAD) != 0 - && (!strcmp (current->name, _TEXT) - || !strcmp (current->name, _DATA)) + if ((!strcmp (current->name, _TEXT) + || !strcmp (current->name, _DATA)) && (previous == NULL || strcmp(previous->name, _TDATA))) { bfd_vma align = 4096; @@ -3191,8 +3190,7 @@ coff_compute_section_file_positions (bfd * abfd) sofar += align + vma_off - sofar_off; } #endif - if (previous != NULL - && (previous->flags & SEC_LOAD) != 0) + if (previous != NULL) previous->size += sofar - old_sofar; } @@ -4697,7 +4695,7 @@ coff_slurp_symbol_table (bfd * abfd) #endif #ifdef RS6000COFF_C case C_HIDEXT: -#ifndef AIX_WEAK_SUPPORT +#if ! defined _AIX52 && ! defined AIX_WEAK_SUPPORT case C_AIX_WEAKEXT: #endif #endif @@ -5023,7 +5021,7 @@ coff_classify_symbol (bfd *abfd, #endif #ifdef RS6000COFF_C case C_HIDEXT: -#ifndef AIX_WEAK_SUPPORT +#if ! defined _AIX52 && ! defined AIX_WEAK_SUPPORT case C_AIX_WEAKEXT: #endif #endif |