git: 5203efead709 - main - makesyscalls: Remove _native suffix handling
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 22 Nov 2021 22:37:43 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=5203efead7092974bbeac20661143702be3921bd
commit 5203efead7092974bbeac20661143702be3921bd
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2021-11-22 22:36:56 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2021-11-22 22:36:56 +0000
makesyscalls: Remove _native suffix handling
This supported a hack we used in CheriBSD which has been removed.
Reviewed by: kevans
---
sys/tools/makesyscalls.lua | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/tools/makesyscalls.lua b/sys/tools/makesyscalls.lua
index a390be8b6154..f34d34b89d94 100644
--- a/sys/tools/makesyscalls.lua
+++ b/sys/tools/makesyscalls.lua
@@ -581,7 +581,6 @@ local function process_args(args)
-- XX TODO: Forward declarations? See: sysstubfwd in CheriBSD
if abi_change then
local abi_type_suffix = config["abi_type_suffix"]
- argtype = argtype:gsub("_native ", "")
argtype = argtype:gsub("(struct [^ ]*)", "%1" ..
abi_type_suffix)
argtype = argtype:gsub("(union [^ ]*)", "%1" ..