From 6f2df7152bca51eb6813270b4b9ff3717e6f6e3d Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Tue, 9 Jul 2002 14:59:27 +0000 Subject: [PATCH] The comment marked with XXX was right: emulate SVR4 for ELF binaries branded with ELFOSABI_SYSV, this is reported to work and brandelf(1) puts this type into files if "SVR4" was specified. --- sys/compat/svr4/svr4_sysvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c index b6d1e2ca2c44..1c37adb95437 100644 --- a/sys/compat/svr4/svr4_sysvec.c +++ b/sys/compat/svr4/svr4_sysvec.c @@ -185,7 +185,7 @@ struct sysentvec svr4_sysvec = { }; Elf32_Brandinfo svr4_brand = { - ELFOSABI_SOLARIS, /* XXX Or should we use ELFOSABI_SYSV here? */ + ELFOSABI_SYSV, "SVR4", svr4_emul_path, "/lib/libc.so.1",