From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from server28.superhosting.bg (server28.superhosting.bg [217.174.156.11]) by sourceware.org (Postfix) with ESMTPS id 18D9B3858D39 for ; Sat, 20 Jan 2024 07:01:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 18D9B3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinux.eu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinux.eu ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 18D9B3858D39 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=217.174.156.11 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705734069; cv=none; b=vpXHFECgGpj1DBQGjfVRq36j4aIPbojfr3k9Fn5gBkBavzplX9uDpDcfbNo0LLVblspMKS78JbJTyDVViRDJIZXV2mxJ0UMuG5SorZggElQvLIUi7ztCSlkyywW0/PNKrUBwYiP7gp4bAjoCmuTv+6I2+BfRYSlqUXWqhcyrqy4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705734069; c=relaxed/simple; bh=C/+etD0Rp7L15hzSM64hWDlHxe6N4fLOzHVOkbZFMg8=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version; b=I/bwmaG28ViF85kaLA9sR6jjAGuRkfEGrgUj1drABDsvc18cjlv5jFrFWp0t5OPAR0Ff7J87vyqibFxQZ3Gl3B0+uYCsCLO+Itp5QkXtLpEOjCJA5ICMQB9U1oGkqO/NkgyTgAGgnEjdDHoX9Kono726jwPDuvRp1t0jyr6eDJ4= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dinux.eu; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=iLC2FLbZEomBwwtZx/56N32OLlanA4ihl6KZ4KJ8944=; b=EnyYz8UB5f45Peu8hOva2x0fRC RMck8RpHsZfutNGpsP/pP1GATMZBrJqxqjO7GvbXw8VT0qcn8IvORQ5ClsjbgnXRxZFUov9+Rv6QE QCtz4wxPfap1/PHMpuhyi/6srik9rVXHSDIpDRLWtQ1/iG23nDPImbn1LJZWn3uXBDF4IkHSmmphQ Kl3RuWCjCDkctTbO6qR9jHqhMRqvdCIqYZCH0awZLapv0XJ8b5YFUlGUPBbmeWPHkMvB030F9+TQm BxGpzUukorW748F4P4ErltKP3QZVeXDcm28GiKmeIp1zuPNI0OKttL+FitkUkc8eV6MLWF5tTGgvb KWb7TmtA==; Received: from [95.42.20.142] (port=57126 helo=localhost) by server28.superhosting.bg with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rR5Lh-0008Th-1X for newlib@sourceware.org; Sat, 20 Jan 2024 09:01:03 +0200 Date: Sat, 20 Jan 2024 09:01:00 +0200 From: Dimitar Dimitrov To: newlib@sourceware.org Subject: Re: [PATCH v3 2/2] libgloss: pru: Trim crt0-minrt.o Message-ID: References: <20240104171952.1409897-1-dimitar@dinux.eu> <20240104171952.1409897-2-dimitar@dinux.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240104171952.1409897-2-dimitar@dinux.eu> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - server28.superhosting.bg X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - dinux.eu X-Get-Message-Sender-Via: server28.superhosting.bg: authenticated_id: dimitar@dinux.eu X-Authenticated-Sender: server28.superhosting.bg: dimitar@dinux.eu X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Jan 04, 2024 at 07:19:52PM +0200, Dimitar Dimitrov wrote: > Strip a few more instructions from crt0-minrt.S: > - Remove "halt" and rely on the infinite loop after main()'s return. > - Remove main()'s argc and argv argument initialization. Host loader > does not set them, and typical firmware does not use them, either. > - Remove the __dso_handle symbol. > > This should be safe because the default crt0.S is fully standards > compliant. Whereas crt0-minrt.S has been documented from the beginning > to intentionally miss features in order to reduce firmware size, while > still enabling typical PRU firmware to operate. > > Signed-off-by: Dimitar Dimitrov > --- > libgloss/pru/crt0-minrt.S | 15 +-------------- > 1 file changed, 1 insertion(+), 14 deletions(-) Ping. Regards, Dimitar