[PATCH] Initialize *uncompressed_align_pow_p to 0
H.J. Lu
hjl.tools@gmail.com
Tue Nov 27 14:05:00 GMT 2018
More information about the Binutils mailing list
Tue Nov 27 14:05:00 GMT 2018
- Previous message (by thread): [PATCH] x86: Don't remove empty x86 properties
- Next message (by thread): [PATCH v2] GAS/MIPS: Add `-mfix-r5900' option for the R5900 short loop errata
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Initialize *uncompressed_align_pow_p to 0 since *uncompressed_align_pow_p is passed to bfd_is_section_compressed_with_header as uninitialized, PR binutils/23919 * compress.c (bfd_is_section_compressed_with_header): Initialize *uncompressed_align_pow_p to 0. --- bfd/ChangeLog | 6 ++++++ bfd/compress.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4ee769520b..272ae0e107 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2018-11-27 H.J. Lu <hongjiu.lu@intel.com> + + PR binutils/23919 + * compress.c (bfd_is_section_compressed_with_header): Initialize + *uncompressed_align_pow_p to 0. + 2018-11-27 Tamar Christina <tamar.christina@arm.com> PR ld/23904 diff --git a/bfd/compress.c b/bfd/compress.c index 97ea624eb8..18a7597f70 100644 --- a/bfd/compress.c +++ b/bfd/compress.c @@ -394,6 +394,8 @@ bfd_is_section_compressed_with_header (bfd *abfd, sec_ptr sec, unsigned int saved = sec->compress_status; bfd_boolean compressed; + *uncompressed_align_pow_p = 0; + compression_header_size = bfd_get_compression_header_size (abfd, sec); if (compression_header_size > MAX_COMPRESSION_HEADER_SIZE) abort (); -- 2.19.1
- Previous message (by thread): [PATCH] x86: Don't remove empty x86 properties
- Next message (by thread): [PATCH v2] GAS/MIPS: Add `-mfix-r5900' option for the R5900 short loop errata
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list