From: Antonio Huete Jimenez Date: Sun, 5 Sep 2010 18:45:53 +0000 (+0200) Subject: elf - Fill sv_name with the appropiate value for each arch. X-Git-Tag: v2.9.0~128^2~3 X-Git-Url: https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/1799f7b16cd14d64e7cf1e9938654c39e5e79e66 elf - Fill sv_name with the appropiate value for each arch. --- diff --git a/sys/emulation/linux/i386/linux_sysvec.c b/sys/emulation/linux/i386/linux_sysvec.c index 186bb7e207..a6845293ea 100644 --- a/sys/emulation/linux/i386/linux_sysvec.c +++ b/sys/emulation/linux/i386/linux_sysvec.c @@ -825,7 +825,11 @@ struct sysentvec elf_linux_sysvec = { linux_sigcode, &linux_szsigcode, linux_prepsyscall, - "Linux ELF", +#if defined(__x86_64__) + "Linux ELF64", +#else + "Linux ELF32", +#endif elf_coredump, exec_linux_imgact_try, LINUX_MINSIGSTKSZ diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index cd5d8d2fe3..6146fd2b26 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -107,7 +107,11 @@ static struct sysentvec elf_freebsd_sysvec = { sigcode, &szsigcode, 0, - "FreeBSD ELF", +#if defined(__x86_64__) + "FreeBSD ELF64", +#else + "FreeBSD ELF32", +#endif elf_coredump, NULL, MINSIGSTKSZ