Still provide freebsd10_* symbols from libc for COMPAT10.

r296773 was done to only remove libc symbols for <7.  We want to provide
the syscall symbols going forward for 7+.

Discussed with:	jhb
MFC after:	3 days
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-08-04 19:14:18 +00:00
parent f454e7ebf5
commit 417d5dec39
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=303755

View File

@ -578,8 +578,8 @@ s/\$//g
printf("/* %d = %s %s */\n", syscall, descr, funcalias) > sysent
printf("\t\"%s.%s\",\t\t/* %d = %s %s */\n",
wrap, funcalias, syscall, descr, funcalias) > sysnames
# XXX-BD: why no COMPAT7?
if (flag("COMPAT") || flag("COMPAT4") || flag("COMPAT6") || flag("COMPAT10")) {
# Do not provide freebsdN_* symbols in libc for < FreeBSD 7
if (flag("COMPAT") || flag("COMPAT4") || flag("COMPAT6")) {
printf("\t\t\t\t/* %d is %s %s */\n",
syscall, descr, funcalias) > syshdr
} else if (!flag("NODEF")) {