From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27013 invoked by alias); 27 Feb 2014 18:03:41 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 26987 invoked by uid 89); 27 Feb 2014 18:03:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qg0-f41.google.com Received: from mail-qg0-f41.google.com (HELO mail-qg0-f41.google.com) (209.85.192.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Thu, 27 Feb 2014 18:03:25 +0000 Received: by mail-qg0-f41.google.com with SMTP id i50so6658870qgf.0 for ; Thu, 27 Feb 2014 10:03:23 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.224.96.138 with SMTP id h10mr12187721qan.46.1393524203106; Thu, 27 Feb 2014 10:03:23 -0800 (PST) Received: by 10.140.31.68 with HTTP; Thu, 27 Feb 2014 10:03:23 -0800 (PST) Date: Thu, 27 Feb 2014 18:03:00 -0000 Message-ID: Subject: gas emits incorrect .debug_line prologue header length for 64-bit DWARF From: Ed Maste To: binutils@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00167.txt.bz2 The header_length field is supposed to be the number of bytes following the field to the first byte of the line number program, but dwarf2dbg.c:out_debug_line has hard-coded constants that are correct only for 32-bit DWARF. I've fixed it in FreeBSD here in SVN r256692: http://svnweb.freebsd.org/base?view=revision&revision=256692 -Ed