From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 4894 invoked from network); 12 Jun 2023 20:29:01 -0000 Received: from minnie.tuhs.org (50.116.15.146) by inbox.vuxu.org with ESMTPUTF8; 12 Jun 2023 20:29:01 -0000 Received: from minnie.tuhs.org (localhost [IPv6:::1]) by minnie.tuhs.org (Postfix) with ESMTP id E7C3440C64; Tue, 13 Jun 2023 06:28:56 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuhs.org; s=dkim; t=1686601737; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=bYvRHfTmsdxiSMBo49yR9Q+LyEBu1bi0EdLiFMiIrXI=; b=hBPrGMbgw3MJpN+hfIRRQeyHDwieIGMxO4SH4eU4ZZWuQOKq0g6rIBR6E0+7lTZsIv3z9t BHPDKoxSw5nSl49GUtmEk+B9OadMCx8R1xR7ErSgFm3Hg3BvIg8rn5paf9zepmiuRXKSyk gbQTEOSkA8ByUTrheGxS7KIakv+OMCk= Received: from qs51p00im-qukt01072702.me.com (qs51p00im-qukt01072702.me.com [17.57.155.17]) by minnie.tuhs.org (Postfix) with ESMTPS id DDB0440C5C for ; Tue, 13 Jun 2023 06:28:44 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mac.com; s=1a1hai; t=1686601724; bh=bYvRHfTmsdxiSMBo49yR9Q+LyEBu1bi0EdLiFMiIrXI=; h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To; b=izS/YucEGWtOX7jMA7dlFSrTQicLuHFD+oIgsK9y5WxffCaiVrCs6OyLaCduUJ4tR nl0+Ak+RZmiSq0vQVTukBU2QePVQcMPpdtx067KDTtjhB9DA4qXG+RL/eTh4P/9t5O HsoVbTxAMpIEH8iGgQZXKmXsOUmhvh1ob8I/hpU7bSa9bONJN7sqDtAnC7BT9OKkQU dDE0GaCYbLRfhkrzwFrMetSl0UC7gu/tV8yQsCJLPyhZNedVKJKlUF0aC7agZczZaW f07jwoWw10NxRO/muQBB4yQ2B4Nzv87soxy1k5ROGwPNVADaElJCBiQctswHaZqKBs F5Y5mI0nqm3vA== Received: from smtpclient.apple (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072702.me.com (Postfix) with ESMTPSA id 641DC1680473; Mon, 12 Jun 2023 20:28:43 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.2\)) In-Reply-To: Date: Mon, 12 Jun 2023 21:28:32 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8DE09E23-5348-496B-B1CF-EDE9C47983B2@mac.com> To: Dan Cross X-Mailer: Apple Mail (2.3731.700.2) X-Proofpoint-ORIG-GUID: IhTSPBsfQfa1MR-STtUGnW14UqVnP-X3 X-Proofpoint-GUID: IhTSPBsfQfa1MR-STtUGnW14UqVnP-X3 X-Proofpoint-Virus-Version: =?UTF-8?Q?vendor=3Dfsecure_engine=3D1.1.170-22c6f66c430a71ce266a39bfe25bc?= =?UTF-8?Q?2903e8d5c8f:6.0.138,18.0.790,17.0.605.474.0000000_definitions?= =?UTF-8?Q?=3D2022-01-12=5F02:2020-02-14=5F02,2022-01-12=5F02,2020-01-23?= =?UTF-8?Q?=5F02_signatures=3D0?= X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 malwarescore=0 bulkscore=0 spamscore=0 phishscore=0 suspectscore=0 clxscore=1011 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2306120174 Message-ID-Hash: WANQGS6LB2AA3XFQHI5A5WQVGRE4EXZT X-Message-ID-Hash: WANQGS6LB2AA3XFQHI5A5WQVGRE4EXZT X-MailFrom: chris_pinnock@mac.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: segaloco , The Eunuchs Hysterical Society X-Mailman-Version: 3.3.6b1 Precedence: list Subject: [TUHS] Re: crt0 -- what's in that name? List-Id: The Unix Heritage Society mailing list Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Chris Pinnock via TUHS Reply-To: Chris Pinnock X-Spam: Yes > On 12 Jun 2023, at 21:22, Dan Cross wrote: >=20 > Hmm. The comment at the top of `crt0.s` from 2nd Edition says, "C > runtime startoff", which seems pretty clear. Whether that has changed > over time is, of course, another matter (like how GCC changed to "GNU > Compiler Collection"). Possibly - in this file = http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/csu/README?rev=3D1.6&content-t= ype=3Dtext/x-cvsweb-markup&only_with_tag=3DMAIN, the CSU and related = files are referred to as the compiler runtime. But startoff is = appropriate - because the file was usually included in the binary at the = beginning to initialise stuff.=20 These days ELF formats and similar have specific sections for initing = and terminating binaries - although I the crt name lives on with start = and end: servalan: {482} ls -la /usr/lib/crt* -r--r--r-- 1 root wheel 4328 Jan 14 18:18 /usr/lib/crt0.o -r--r--r-- 1 root wheel 2648 Jan 14 18:18 /usr/lib/crtbegin.o -r--r--r-- 1 root wheel 2880 Jan 14 18:18 /usr/lib/crtbeginS.o lrwxr-xr-x 1 root wheel 10 Jan 14 18:18 /usr/lib/crtbeginT.o -> = crtbegin.o -r--r--r-- 1 root wheel 1264 Jan 14 18:18 /usr/lib/crtend.o lrwxr-xr-x 1 root wheel 8 Jan 14 18:18 /usr/lib/crtendS.o -> = crtend.o -r--r--r-- 1 root wheel 1488 Jan 14 18:18 /usr/lib/crti.o -r--r--r-- 1 root wheel 1152 Jan 14 18:18 /usr/lib/crtn.o >=20 >=20 > I thought it was pretty well known that it stands for, "Block Started > (by) Symbol=E2=80=9D? I wrote a paper on a.out a year or so ago and concluded that I could not = find an adequate answer - so avoided the issue with a non-commital = footnote. C