From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12824 invoked by alias); 19 Mar 2015 18:19:04 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 12745 invoked by uid 89); 19 Mar 2015 18:19:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 X-HELO: mail-qg0-f54.google.com Received: from mail-qg0-f54.google.com (HELO mail-qg0-f54.google.com) (209.85.192.54) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 19 Mar 2015 18:19:02 +0000 Received: by qgf3 with SMTP id 3so72618567qgf.3 for ; Thu, 19 Mar 2015 11:18:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=a0gICCOtI7hLTJoptgysaZ+sd/NwayaWgUGz2Mrvi84=; b=I8O3drtW7/sxu6eTTuvRSEAl16SE//LBBmA+U7IFryX0tPoyQyskGmDEvUoiVgY9lL 6Qmoi1W4kxIiIlhWCEKpipRQumF1+hXRdunpjPAS0CZuYVttZNiOWc857bwQVtFy4A3K BMmOxstAi2IgAKdekxQmMbG2kugzSh4+I9MnPDF0WsxBFnE4ZIgFOsmnOK8rN3ul4guj whNWX8x6HoPRQONcUk98mPRNVL+V+PBuJjLeckTsZgzsJ13IBjTlirhpK0z0S2azQrV5 NgNl4Kj4u2e9BTgniPc3TappklyG17rkFMRxM9AZW3HWACKDplLaTi/B0HovYOHFJcaE 6Cwg== X-Gm-Message-State: ALoCoQmcVLXMYfCqvtofp1Dfa6jGrljfnJc56bEhT9y51NiFJqvF92Ul6K6+zhxDrKKKZhTXe98M MIME-Version: 1.0 X-Received: by 10.140.46.7 with SMTP id j7mr94226252qga.12.1426789139666; Thu, 19 Mar 2015 11:18:59 -0700 (PDT) Received: by 10.140.99.105 with HTTP; Thu, 19 Mar 2015 11:18:59 -0700 (PDT) In-Reply-To: References: <550318C90200007800069E5B@mail.emea.novell.com> <55031C360200007800069EAF@mail.emea.novell.com> Date: Thu, 19 Mar 2015 18:19:00 -0000 Message-ID: Subject: Re: RFC: Add support for SHF_COMPRESSED From: Cary Coutant To: "H.J. Lu" Cc: Jan Beulich , Binutils , GDB Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00068.txt.bz2 > I added --compressed-debug-sections=[none|zlib] to as and > objcopy. I updated gold to decompress SHF_COMPRESSED > section. I didn't add --compressed-debug-sections=[none|zlib] > to gold since I don't know if this name is a final choice nor > gold maintainers want such an option. objcopy, gas, and gold already have the --compress-debug-sections option (though only gold takes "=[none|zlib]" as a parameter; objcopy and gas always use zlib, and spell the negative as --nocompress-debug-sections). I don't see any point in adding another option, especially one spelled so similarly -- just use the existing option and make it generate the new form, after all the consumers understand both formats. (And I prefer a verb to an adjective.) If you want the option to generate either format, how about something like "--compress-debug-sections=[none|zlib|zlib-old|zlib-new]"? (Where "zlib" would generate the old for a while, then we'd switch it to the new after some time. -cary