"Paul Goyette" writes: > Module Name: src > Committed By: pgoyette > Date: Tue Mar 6 10:37:42 UTC 2018 > > Modified Files: > src/sys/compat/common [pgoyette-compat]: compat_util.c files.common > src/sys/kern [pgoyette-compat]: exec_elf.c files.kern > > Log Message: > Move necessary routines out of compat_util.c and into exec_elf.c > > Once again, compat_util.c is only for modules, so move it back into > compat/common/files.common and out of kern/files.kern
i don't think this is right. exec_elf.c is compiled twice and you'll have duplicate symbols. since they don't need to be different, i suspect another file that is part of exec_elf{32|64} might be useful. ie, doing this with ELFNAME() to fix duplicate symbols seems wrong. .mrg.