git: 5c7a9092713d - main - libc/i386/SYS.h: Remove unused LCALL macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 12 Dec 2023 22:55:34 UTC
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