From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from userp2130.oracle.com (userp2130.oracle.com [156.151.31.86]) by sourceware.org (Postfix) with ESMTPS id AF671384B0C0 for ; Sun, 31 May 2020 12:46:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AF671384B0C0 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04VCg3VD143484; Sun, 31 May 2020 12:44:29 GMT Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 31bewqkcck-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 31 May 2020 12:44:29 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 04VCX6Lw041928; Sun, 31 May 2020 12:42:29 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 31c1du3js0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 31 May 2020 12:42:28 +0000 Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 04VCgRxl028289; Sun, 31 May 2020 12:42:28 GMT Received: from loom (/81.187.191.129) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 31 May 2020 05:42:26 -0700 From: Nick Alcock To: Nick Clifton , Alan Modra , binutils@sourceware.org Subject: ld CTF deduplicator should be coming fairly soon (was Re: genscripts comment tidy) References: <20191016003312.GW10114@bubble.grove.modra.org> <87a7a0aiiu.fsf@esperi.org.uk> <8736fsa74g.fsf@esperi.org.uk> Emacs: because extension languages should come with the editor built in. Date: Sun, 31 May 2020 13:42:24 +0100 In-Reply-To: <8736fsa74g.fsf@esperi.org.uk> (Nick Alcock's message of "Wed, 16 Oct 2019 19:16:15 +0100") Message-ID: <87pnak1djj.fsf_-_@esperi.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9637 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 phishscore=0 mlxlogscore=849 spamscore=0 bulkscore=0 adultscore=0 suspectscore=0 mlxscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005310099 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9637 signatures=668686 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 bulkscore=0 phishscore=0 suspectscore=0 impostorscore=0 cotscore=-2147483648 lowpriorityscore=0 mlxscore=0 adultscore=0 spamscore=0 mlxlogscore=867 malwarescore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005310100 X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY 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: Sun, 31 May 2020 12:46:33 -0000 On 16 Oct 2019, Nick Alcock spake thusly: > On 16 Oct 2019, Nick Clifton spake thusly: > > No. :-( But it would be nice to have. Fancy writing a node in > > the ld.texi file ? > Maybe in a week or two. I really really want to get a working CTF > deduplicator posted here first. :) Oh ha ha ha, hark at my foolish optimism. After literally months of going up various blind alleys I have this working at long last and am getting it into shape for posting in the next week or two (as multiple series, preparatory stuff and bugfixes in existing code first, deduplicator second, with a bunch of ld performance and resulting- CTF-size figures in the cover letter for the second series). Minimal impact outside libctf/ (a couple of new command-line options to enable different varieties of type deduplication that authors of very large codebases might like: would -z be a suitable place in the option space for that? Perhaps -z ctf-*? I've never been entirely on what -z stands for...) Going silent like this is bad of me, sorry. I'll try not to do it again: with ld dedup in, libctf approaches usability (with only one more libctf feature needed before GDB can map from symbols to types without DWARF) and it becomes more important that I pay attention! Catching up with massive binutils list backlog first, but if it turns out nobody's documented the genscripts stuff in the meantime, I might get to writing that genscripts texinfo node :)