From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112301 invoked by alias); 28 Nov 2018 14:57:30 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 105605 invoked by uid 48); 28 Nov 2018 14:57:19 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug binutils/23919] bfd doesn't handle ELF compressed data alignment Date: Wed, 28 Nov 2018 14:57:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: binutils X-Bugzilla-Component: binutils X-Bugzilla-Version: 2.32 (HEAD) X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.32 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2018-q4/txt/msg00206.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D23919 --- Comment #10 from Mark Wielaard --- (In reply to cvs-commit@gcc.gnu.org from comment #6) > The master branch has been updated by H.J. Lu : >=20 > https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git; > h=3D131a5a648d314cd15811158150573cb40eb3abd0 >=20 > commit 131a5a648d314cd15811158150573cb40eb3abd0 > Author: H.J. Lu > Date: Tue Nov 27 06:02:36 2018 -0800 >=20 > Initialize *uncompressed_align_pow_p to 0 >=20=20=20=20=20 > Initialize *uncompressed_align_pow_p to 0 since *uncompressed_align_p= ow_p > is passed to bfd_is_section_compressed_with_header as uninitialized, >=20=20=20=20=20 > PR binutils/23919 > * compress.c (bfd_is_section_compressed_with_header): Initialize > *uncompressed_align_pow_p to 0. I think this is correct, the uncompressed_align_pow_p wasn't set explicitly when the compressed section was gnu-zlib, in which case the alignment has t= o be assumed to be always 1. --=20 You are receiving this mail because: You are on the CC list for the bug.