Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Dec 2023 22:55:34 GMT
From:      Brooks Davis <brooks@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5c7a9092713d - main - libc/i386/SYS.h: Remove unused LCALL macro
Message-ID:  <202312122255.3BCMtYgA055690@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c7a9092713d2d076513b31b377dad59780a39da

commit 5c7a9092713d2d076513b31b377dad59780a39da
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-12 22:53:09 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-12 22:53:09 +0000

    libc/i386/SYS.h: Remove unused LCALL macro
    
    It appears that the only user of this macro was removed
    with support for building a.out binaries in 2002 by commit
    66422f5b7a1a6055f0b2358268eb902aab6e2e3e.
    
    Reviewed by:    imp, kib
    Sponsored by:   DARPA
    Differential Revision:  https://reviews.freebsd.org/D42997
---
 lib/libc/i386/SYS.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/lib/libc/i386/SYS.h b/lib/libc/i386/SYS.h
index 6ef21fb794a6..24b0060372f8 100644
--- a/lib/libc/i386/SYS.h
+++ b/lib/libc/i386/SYS.h
@@ -48,7 +48,4 @@
 			jb HIDENAME(cerror); ret;			\
 			END(__sys_##name)
 
-/* gas messes up offset -- although we don't currently need it, do for BCS */
-#define	LCALL(x,y)	.byte 0x9a ; .long y; .word x
-
 #define KERNCALL	int $0x80



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312122255.3BCMtYgA055690>