summaryrefslogtreecommitdiffstats
path: root/sys/compat/svr4/svr4_sysvec.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-07-09 14:59:27 +0000
committerrobert <robert@FreeBSD.org>2002-07-09 14:59:27 +0000
commit1b293bfa42416c070d5157257a69a8118640c75c (patch)
tree025489693573bb5f9bcc795c2ebee2fb6f683e9e /sys/compat/svr4/svr4_sysvec.c
parent51d02339473b72face3266726ce98356e59a09bd (diff)
downloadFreeBSD-src-1b293bfa42416c070d5157257a69a8118640c75c.zip
FreeBSD-src-1b293bfa42416c070d5157257a69a8118640c75c.tar.gz
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.
Diffstat (limited to 'sys/compat/svr4/svr4_sysvec.c')
-rw-r--r--sys/compat/svr4/svr4_sysvec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_sysvec.c b/sys/compat/svr4/svr4_sysvec.c
index b6d1e2c..1c37adb 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",
OpenPOWER on IntegriCloud