From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23693 invoked by alias); 16 Oct 2019 14:10:10 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 23685 invoked by uid 89); 16 Oct 2019 14:10:10 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.3 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 spammy=thusly X-HELO: userp2120.oracle.com Received: from userp2120.oracle.com (HELO userp2120.oracle.com) (156.151.31.85) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 16 Oct 2019 14:10:09 +0000 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9GE6eoi089715; Wed, 16 Oct 2019 14:10:06 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=t7lQFGzbqL9eIc2HX4kZT1xm1Z1AzeAV7HF//HvWGCw=; b=AnrwGKkpTLiDOakkOzdQMC70cuX3eUA6emwURbQhhcezapOo0qSJQApCddmXMzg2+m5W Z/vEKUc5rBs/JTYi+j31uVmlL8qNGbMLMvf2HfuUj7WGcelsdiOgERb+OFgl0aAcvxZW 2uFisLug0D6ofthqV64LzdfZ2DtH18mXVKzvlMeAKYDYl60dllplpgmTKytoTtb1EwQV 2erGImjWbBnvYFKtTsZWS73NqRwtGM/DqofOMW2gw22LLrlPiWbBtUuDAZG/9Z7qyqB4 CdCyR33oEudaSt+wf5E29pG2oexter5o8tYJdSOY5qAhJXzYj2XfY9yykYjpkS3te5Xv zQ== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2vk7frf2jg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Oct 2019 14:10:06 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9GE6dMQ097375; Wed, 16 Oct 2019 14:10:06 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2vnxv9rcfx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 16 Oct 2019 14:10:05 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9GEA4M0009150; Wed, 16 Oct 2019 14:10:05 GMT Received: from loom (/81.187.191.129) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 16 Oct 2019 14:10:03 +0000 From: Nick Alcock To: Alan Modra Cc: binutils@sourceware.org Subject: Re: genscripts comment tidy References: <20191016003312.GW10114@bubble.grove.modra.org> Date: Wed, 16 Oct 2019 14:10:00 -0000 In-Reply-To: <20191016003312.GW10114@bubble.grove.modra.org> (Alan Modra's message of "Wed, 16 Oct 2019 11:03:12 +1030") Message-ID: <87a7a0aiiu.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-IsSubscribed: yes X-SW-Source: 2019-10/txt/msg00146.txt.bz2 On 16 Oct 2019, Alan Modra spake thusly: > -# A .x script file is the default script. > -# A .xr script is for linking without relocation (-r flag). > -# A .xu script is like .xr, but *do* create constructors (-Ur flag). > -# A .xn script is for linking with -n flag (mix text and data on same page). > -# A .xbn script is for linking with -N flag (mix text and data on same page). > -# A .xs script is for generating a shared library with the --shared > -# flag; it is only generated if $GENERATE_SHLIB_SCRIPT is set by the > -# emulation parameters. > -# A .xc script is for linking with -z combreloc; it is only generated if > -# $GENERATE_COMBRELOC_SCRIPT is set by the emulation parameters or > -# $SCRIPT_NAME is "elf". > -# A .xsc script is for linking with --shared -z combreloc; it is generated > -# if $GENERATE_COMBRELOC_SCRIPT is set by the emulation parameters or > -# $SCRIPT_NAME is "elf" and $GENERATE_SHLIB_SCRIPT is set by the emulation > -# parameters too. Is this stuff still documented anywhere after this commit? Because I know I found this specific comment very useful only a month ago, and the purpose of the differently suffixed linker scripts is otherwise quite opaque.