From owner-freebsd-toolchain@FreeBSD.ORG Tue Dec 16 22:44:24 2014 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AB370D5C for ; Tue, 16 Dec 2014 22:44:24 +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 8F368DD0 for ; Tue, 16 Dec 2014 22:44:24 +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 sBGMiOuD019143 for ; Tue, 16 Dec 2014 22:44:24 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 sBGMiO7O019142; Tue, 16 Dec 2014 22:44:24 GMT (envelope-from root) Date: Tue, 16 Dec 2014 22:44:24 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Request, 3 lines] D1327: Do not strip all when stripping an explicit symbol Message-ID: X-Priority: 3 Thread-Topic: D1327: Do not strip all when stripping an explicit symbol X-Herald-Rules: none X-Phabricator-To: X-Phabricator-Cc: Thread-Index: MDY2NGYwOTg3ZWI5MTEzOGVkN2E5ZGIxZWVm 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: Tue, 16 Dec 2014 22:44:24 -0000 emaste created this revision. emaste added a subscriber: freebsd-toolchain. REVISION SUMMARY When asked to strip a specific symbol (-N) strip still defaulted to STRIP_ALL. In this case binutils defaults to stripping nothing (other than the requested symbol(s), of course), which makes a lot more sense. PR 196038 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196038 TEST PLAN - reduced test case from PR - build ffmpeg port REVISION DETAIL https://reviews.freebsd.org/D1327 AFFECTED FILES contrib/elftoolchain/elfcopy/main.c To: emaste Cc: freebsd-toolchain