From nobody Tue Nov 22 16:37:46 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NGqgG3Fqdz4j2Nb; Tue, 22 Nov 2022 16:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NGqgG2Hmlz3LVT; Tue, 22 Nov 2022 16:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669135066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=njiPYArrMR5uukA0Tt9MJsi9o4N2s08zw/Ixk6XKvEQ=; b=CAWsb5/BmYOK6mnPNsikNHK3gb2HjNohiBLJYPRYFqSkPzlPrC2jZ1UzwBbtat6hVRaloe CZQVQo+W/WSUJwXChubp6ufcSpJlBH2EOyHpsmDBI5vumtEtLREuoN0ycbB7Ok7l2hx6j3 kN1gj2u2KCxawRHoceeRbFHPQ+huHMkZYOvCF5ZmOpMiuXb/G0al79AmjwP1OJjV+gUdKS 25HeWAYSfF5PRTHN++TPpmwGM3zYsISvIzgb5UcDIQ2JhB42daHRLwUfKphFlQ9xv6NB9O 41AufD6pW4LegteJAJlaqHUvKPDgJzaIU+cq2fDUKtgRRAxlb2ugZfOE14Pk5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669135066; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=njiPYArrMR5uukA0Tt9MJsi9o4N2s08zw/Ixk6XKvEQ=; b=qGfPRN1HJz7YbVbhLEdAz9ndtzbzBeBDUlhZbqz5o2B5CrqykwGVeuf+e8MQSJU8gb/GUH hcPymTDFGBr7k40XnoYaQ2njCkuMjG1lmOjZsGI1soxETiNuTkWVC6mR3fk0mb7TVYxiol Z3k9joqo03sLLwI0hMQPRbmBoQkjgsLYa9h6obRpArn+KhDQ8vUUHaNzx21DYdn0t9IqUv xRaEWW9j1FXpcY69JKG8G/Nx0AoHbdhrC2utxJH+eTI383ckXi7YCZ5dXELq7GIWpyoluN Xw4g1u4DO7zKPc3321h0u9j02kgbVo8UxW1P8BBJ3BFVD/Gnhj6ekBNasolc5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669135066; a=rsa-sha256; cv=none; b=HcsJ9IhosmQKvTfxmKlz7rtw7Tly6BKgxAwg2sFaM4lFAG6MFbmv7QJ9R0qQJfNl9tF7UQ kbCJyN8MRm1NN8MLscq1JnKplBNWo1AdDUMydCMLaCGfVyPXPT2y+rwCnqIzfv4pS13kd1 a780HeZjz+Ry975BNSk+j2Fd49UVM9uY+WcJ0atZdv0fPYBmnbLv/yr4bAp+5pCVqaV3vB I2tT28m4E6cby2tMCMrzQaMabujVhzj0Sw5iwIgr+jws0SJjOuuP01/MnJwNwzq1V9hTE8 EhPkrDJfTy8nG7opYmLbVd6hV+uR9OpbZ5eUpdTMb6DpPWux3CTw/TPZ2ejdXQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NGqgG1KT1zppt; Tue, 22 Nov 2022 16:37:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2AMGbk3j054542; Tue, 22 Nov 2022 16:37:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AMGbkx3054541; Tue, 22 Nov 2022 16:37:46 GMT (envelope-from git) Date: Tue, 22 Nov 2022 16:37:46 GMT Message-Id: <202211221637.2AMGbkx3054541@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 03bbe1845de7 - main - stand/libsa: Remove MIPS setjmp() and longjmp(). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 03bbe1845de759edefb962bc9bb2f0c8247b709c Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=03bbe1845de759edefb962bc9bb2f0c8247b709c commit 03bbe1845de759edefb962bc9bb2f0c8247b709c Author: John Baldwin AuthorDate: 2022-11-22 16:36:28 +0000 Commit: John Baldwin CommitDate: 2022-11-22 16:36:28 +0000 stand/libsa: Remove MIPS setjmp() and longjmp(). --- stand/libsa/mips/_setjmp.S | 107 --------------------------------------------- 1 file changed, 107 deletions(-) diff --git a/stand/libsa/mips/_setjmp.S b/stand/libsa/mips/_setjmp.S deleted file mode 100644 index 972fb2cc1ec8..000000000000 --- a/stand/libsa/mips/_setjmp.S +++ /dev/null @@ -1,107 +0,0 @@ -/*- - * Copyright (c) 1991, 1993 - * The Regents of the University of California. All rights reserved. - * - * This code is derived from software contributed to Berkeley by - * Ralph Campbell. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * $FreeBSD$ - */ - -#include - -#if 0 -#if defined(LIBC_SCCS) - .text - .asciz "$OpenBSD: _setjmp.S,v 1.6 1996/09/23 21:27:53 imp Exp $" -#endif /* LIBC_SCCS */ -#endif - -/* - * C library -- _setjmp, _longjmp - * - * _longjmp(a,v) - * will generate a "return(v)" from - * the last call to - * _setjmp(a) - * by restoring registers from the stack, - * The previous signal state is NOT restored. - */ - -LEAF(_setjmp) - .set noreorder - REG_LI v0, _JB_MAGIC__SETJMP # sigcontext magic number - REG_S v0, (_JB_MAGIC * SZREG)(a0) # saved in sc_regs[0] - REG_S ra, (_JB_REG_RA * SZREG)(a0) # sc_pc = return address - REG_S s0, (_JB_REG_S0 * SZREG)(a0) - REG_S s1, (_JB_REG_S1 * SZREG)(a0) - REG_S s2, (_JB_REG_S2 * SZREG)(a0) - REG_S s3, (_JB_REG_S3 * SZREG)(a0) - REG_S s4, (_JB_REG_S4 * SZREG)(a0) - REG_S s5, (_JB_REG_S5 * SZREG)(a0) - REG_S s6, (_JB_REG_S6 * SZREG)(a0) - REG_S s7, (_JB_REG_S7 * SZREG)(a0) - REG_S sp, (_JB_REG_SP * SZREG)(a0) - REG_S s8, (_JB_REG_S8 * SZREG)(a0) - j ra - move v0, zero -END(_setjmp) - -LEAF(_longjmp) -#ifdef ABICALLS - subu sp, sp, 32 - .cprestore 16 -#endif - .set noreorder - REG_L v0, (_JB_MAGIC * SZREG)(a0) # get magic number - REG_L ra, (_JB_REG_RA * SZREG)(a0) - bne v0, _JB_MAGIC__SETJMP, botch # jump if error - - addu sp, sp, 32 # does not matter, sanity - REG_L s0, (_JB_REG_S0 * SZREG)(a0) - REG_L s1, (_JB_REG_S1 * SZREG)(a0) - REG_L s2, (_JB_REG_S2 * SZREG)(a0) - REG_L s3, (_JB_REG_S3 * SZREG)(a0) - REG_L s4, (_JB_REG_S4 * SZREG)(a0) - REG_L s5, (_JB_REG_S5 * SZREG)(a0) - REG_L s6, (_JB_REG_S6 * SZREG)(a0) - REG_L s7, (_JB_REG_S7 * SZREG)(a0) - REG_L sp, (_JB_REG_SP * SZREG)(a0) - REG_L s8, (_JB_REG_S8 * SZREG)(a0) - - j ra - move v0, a1 -botch: - jal _C_LABEL(longjmperror) - nop - jal _C_LABEL(abort) - nop -END(_longjmp)