From owner-freebsd-toolchain@freebsd.org Thu Jan 19 17:26:51 2017 Return-Path: Delivered-To: freebsd-toolchain@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E048CCB5565 for ; Thu, 19 Jan 2017 17:26:51 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x229.google.com (mail-it0-x229.google.com [IPv6:2607:f8b0:4001:c0b::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B598F119A for ; Thu, 19 Jan 2017 17:26:51 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x229.google.com with SMTP id 203so1777464ith.0 for ; Thu, 19 Jan 2017 09:26:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=sbxWY0rT9tEeG3JqhEXxhsm4AatGPY9x2j4RDFaUw3M=; b=aNGSFym+OZfcp/dhcpXqER3qA/f5ul3Pbl1ao8lk6jX54+uE7YiXj7d9LjH3zidP+J cg/mUDx95qelUhJA/vqTXhJIAV4lQ32OXBsel3davVHznsbm3Fc0eyd7rWlfnUR/uaEa +99yo27j2rmfmESBZpQB2C0NsV1e+VK981vr/WQT78Rj4xAPRM5uBPett/ij4iXH7r0W CnZXcRBm68zgxv3InF7Gfk80s5ZhmYamkaf6oF7AZyYoyYSUHsmIA//TTTyQArOzjXF1 pMLLCqrm6SHpV76gPFl96meIYEVhySisiUZRprHsVdtBv5u2IWHzSxs+r2M7yunGXWDy nzsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=sbxWY0rT9tEeG3JqhEXxhsm4AatGPY9x2j4RDFaUw3M=; b=qiGv7hG3HE9FeqQoUCXiJxDd/Qr2uhSbkvKcjEshUKNiQfIkP9zK1JJOdiJ2uGY+Bm bm/XTeJ/TuTzZoPgRb24AtG2CrLkMikeD2WRIeufPdkGqMy8R/nR5pFyfrRjrw4XhbvW z5cmlK4py7Uomia4T/Id+JTbYPuNde6eyqgu4vZbZHPzKkSfiqFzKBbTQCIVvKZ4X/If VjHWW42FAi+9jbDkycd6402g3sUJ8cqyCh6Bl1VCfQsHfx3MglLPiayYeXNbF5sLQFrH sK6B6VesQcWXOEDu+BcezXkSeKIubO9AAc8jJocRPFDK78TpLHuQbRzX+IxRN8Nhu1yV H+Yg== X-Gm-Message-State: AIkVDXKCp7ZdSA8eRnXW/zpKbPiotq9gllj4mkBu8YKyFrXLWXSUQxjRn6csjDyT4WgYJq3wkygnagfB/wayWw== X-Received: by 10.36.86.4 with SMTP id o4mr31610266itb.83.1484846811110; Thu, 19 Jan 2017 09:26:51 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.175.159 with HTTP; Thu, 19 Jan 2017 09:26:30 -0800 (PST) In-Reply-To: <47D8BA32-68B5-411C-A621-7AAE55A087D0@gmail.com> References: <47D8BA32-68B5-411C-A621-7AAE55A087D0@gmail.com> From: Ed Maste Date: Thu, 19 Jan 2017 12:26:30 -0500 X-Google-Sender-Auth: uyoCAAi0jhJW70u3F1wx7rwWJ_o Message-ID: Subject: Re: elfdump doesn't support .a files? To: "Ngie Cooper (yaneurabeya)" Cc: FreeBSD Toolchain Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 17:26:52 -0000 On 17 January 2017 at 18:06, Ngie Cooper (yaneurabeya) wrote: > Hi Ed, > I tried running elfdump on a .a archive and it seems that elfdump= doesn=E2=80=99t support this (whereas objdump does). Is this expected? Indeed it does not. We're still using FreeBSD's original elfdump. The ELF Tool Chain project (which provides the objcopy, size, strings etc. that we use) also imported FreeBSD's elfdump and made some enhancements, including the ability to handle .a files. Unfortunately there are a few changes which exist in FreeBSD's elfdump but not ELF Tool Chain's version. We need to port those from FreeBSD to ELF Tool Chain before we can migrate to ELF Tool Chain's elfdump.