diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-04 23:00:24 +0000 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-04 23:00:24 +0000 |
commit | 23ba6f1807299311717df4d48b5f68d534ab6c47 (patch) | |
tree | bd5b0f8c34364bd741758b64eed2bcee60a2c935 /bfd/ChangeLog | |
parent | cf8502c1314287df100e44f81c4e3cf32c198353 (diff) | |
download | gdb-23ba6f1807299311717df4d48b5f68d534ab6c47.zip gdb-23ba6f1807299311717df4d48b5f68d534ab6c47.tar.gz gdb-23ba6f1807299311717df4d48b5f68d534ab6c47.tar.bz2 |
MIPS/BFD: Suppress attribute checks for null input
We currently special-case the handling of attribute checks on input
objects and make them even before we check a given input object actually
contains any sections. This does not add value as empty objects do not
cause a compatibility concern and we already make this observation for
other properties such as ELF file header flags. Moreover the attributes
themselves are stored in a `.gnu.attributes' section so the absence of
any section (except from a few special cases) implies there have been no
attributes provided either. Therefore it is safe to move the attribute
checks later on, after the null-section check has been made.
bfd/
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
attribute checks for null input.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7d0fdb8..06dc3b3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2016-01-04 Maciej W. Rozycki <macro@imgtec.com> + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress + attribute checks for null input. + +2016-01-04 Maciej W. Rozycki <macro@imgtec.com> + * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local pointers to target data. |