From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) by sourceware.org (Postfix) with ESMTPS id 2AF973857C59 for ; Wed, 16 Sep 2020 18:02:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2AF973857C59 Received: by mail-io1-xd44.google.com with SMTP id j2so9265725ioj.7 for ; Wed, 16 Sep 2020 11:02:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=L7UI20LFW0K2MyQilyFAo9SdBix7HttOSDWh0SoPNZI=; b=jQBZXXa5YJATQ5lTc9bJzRRPEyZumn4qm1RrxL7flJB6EOGuMUNGCZDNIdukNXu7Cd FzbTS3TmUlLA4wmFHHwJGEh+U9BVsUKtJbwY5z5p0VOT7p6NwvQvmR4r8KdXOVYfKJ3T QHB4NdRenDFkIEmBl1lCadsanQRD7VV214L52M8H1i5dnop6MMfSosopnU72/P+7hTNS zkfRpSx1To0n62tx0k42q8DBPMlL6EeB1kJPX+fCBFMwQBfmN15fbkaAbglHfBIVlQae H1zwZVvOb9KuYODVXZirOGsrCj7k5N4L1NNnZZdbTkpmcPMbZ/YSGtPQJC9jxC6YCn53 y9xg== X-Gm-Message-State: AOAM530kLbCnKQOicQCWmwDFAWbl98Ub96aTsJDgSNDfR2tU5/UdK15G Eff6qKgKpwrFz6ukpgdbMuH3Jmcqb8AXFIaV3zf5spZN X-Google-Smtp-Source: ABdhPJztvTrEJaQ+kSpfK79o4/Y+A3XWIefu+/SKa1pZAIkCWOzXkBr3Lsi43cWP/hSo/C0bkx5KY3flk5cY/pqEG6w= X-Received: by 2002:a5e:881a:: with SMTP id l26mr19836651ioj.51.1600279350661; Wed, 16 Sep 2020 11:02:30 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Wed, 16 Sep 2020 11:01:54 -0700 Message-ID: Subject: Re: Readelf: --wide as default if output is redirected To: Katharina Bogad Cc: "binutils@sourceware.org" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2020 18:02:32 -0000 On Wed, Sep 16, 2020 at 9:06 AM Katharina Bogad via Binutils wrote: > > Hi list, > > as I spent the last hour or so trying to figure out why some function names > in the output of readelf -r cannot be found and then realizing that readelf has > silently truncated them, I was wondering if it was possible to make --wide the > default if the output is redirected (as I was reading it in a pager anyways). > > Now, as this is a pure quality of life improvement, I wanted to speak to someone > before submitting a patch. I know that changing any API, especially in a tool > as widely used like binutils is a huge deal, but I want to discuss this anyways. > FWIW, I always pass --wide to readelf. -- H.J.