From owner-freebsd-toolchain@FreeBSD.ORG Wed Feb 11 20:00:23 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DAE9BDC for ; Wed, 11 Feb 2015 20:00:23 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C4A41AE for ; Wed, 11 Feb 2015 20:00:23 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t1BK0NrI084880 for ; Wed, 11 Feb 2015 20:00:23 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t1BK0NmB084879; Wed, 11 Feb 2015 20:00:23 GMT (envelope-from root) Date: Wed, 11 Feb 2015 20:00:23 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Updated, 81 lines] D1819: libdwarf: Handle .rel relocations Message-ID: <7701d9e0497189a3ee82625be3dcc2de@localhost.localdomain> X-Priority: 3 Thread-Topic: D1819: libdwarf: Handle .rel relocations X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: OTU0ZGZmMDVmZDkwODkyYzExMzg2N2RjMDgyIFTbtNc= X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Feb 2015 20:00:23 -0000 emaste updated this revision to Diff 3741. emaste added a comment. This revision now requires review to proceed. Refactor common parts of .rel and .rela handling, based on feedback about non-obvious size==0 return from _dwarf_get_reloc_size CHANGES SINCE LAST UPDATE https://reviews.freebsd.org/D1819?vs=3722&id=3741 REVISION DETAIL https://reviews.freebsd.org/D1819 AFFECTED FILES libdwarf/_libdwarf.h libdwarf/dwarf_reloc.c libdwarf/dwarf_set_reloc_application.3 libdwarf/libdwarf.c libdwarf/libdwarf_elf_init.c To: emaste, gnn, br, rpaulo Cc: rpaulo, freebsd-toolchain