sync and add missing code for ToolChains
This commit is contained in:
parent
f5f0d5c82b
commit
01bad5edf2
44 changed files with 3514 additions and 2673 deletions
|
@ -24,7 +24,7 @@ using namespace clang::driver::toolchains;
|
|||
using namespace clang;
|
||||
using namespace llvm::opt;
|
||||
|
||||
void openbsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
void secbsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfo &Output,
|
||||
const InputInfoList &Inputs,
|
||||
const ArgList &Args,
|
||||
|
@ -88,7 +88,7 @@ void openbsd::Assembler::ConstructJob(Compilation &C, const JobAction &JA,
|
|||
Exec, CmdArgs, Inputs, Output));
|
||||
}
|
||||
|
||||
void openbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
void secbsd::Linker::ConstructJob(Compilation &C, const JobAction &JA,
|
||||
const InputInfo &Output,
|
||||
const InputInfoList &Inputs,
|
||||
const ArgList &Args,
|
||||
|
@ -330,9 +330,9 @@ std::string SecBSD::getCompilerRT(const ArgList &Args,
|
|||
}
|
||||
|
||||
Tool *SecBSD::buildAssembler() const {
|
||||
return new tools::openbsd::Assembler(*this);
|
||||
return new tools::secbsd::Assembler(*this);
|
||||
}
|
||||
|
||||
Tool *SecBSD::buildLinker() const { return new tools::openbsd::Linker(*this); }
|
||||
Tool *SecBSD::buildLinker() const { return new tools::secbsd::Linker(*this); }
|
||||
|
||||
bool SecBSD::HasNativeLLVMSupport() const { return true; }
|
||||
|
|
6
gnu/usr.bin/binutils-2.17/config.guess
vendored
6
gnu/usr.bin/binutils-2.17/config.guess
vendored
|
@ -204,9 +204,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||
echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:SecBSD:*:*)
|
||||
UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
|
||||
echo ${UNAME_MACHINE_ARCH}-unknown-secbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
|
||||
echo ${UNAME_MACHINE_ARCH}-unknown-secbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:ekkoBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
|
|
|
@ -51,11 +51,11 @@ arm-*-netbsdelf*) targ_emul=armelf_nbsd;
|
|||
arm-*-netbsd*) targ_emul=armnbsd;
|
||||
targ_extra_emuls="armelf armelf_nbsd armelfb_nbsd" ;;
|
||||
arm-*-nto*) targ_emul=armnto ;;
|
||||
armeb-*-openbsd* | \
|
||||
armeb-*-secbsd*) targ_emul=armelfb_obsd
|
||||
armeb-*-openbsd* | armeb-*-secbsd*)
|
||||
targ_emul=armelfb_obsd
|
||||
targ_extra_emuls="armelf_obsd" ;;
|
||||
arm-*-openbsd* | \
|
||||
arm-*-secbsd*) targ_emul=armelf_obsd
|
||||
arm-*-openbsd* | arm-*-secbsd*)
|
||||
targ_emul=armelf_obsd
|
||||
targ_extra_emuls="armelfb_obsd" ;;
|
||||
arm-*-rtems*) targ_emul=armelf ;;
|
||||
armeb-*-elf) targ_emul=armelfb ;;
|
||||
|
@ -193,10 +193,10 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64
|
|||
i[3-7]86-*-netware) targ_emul=i386nw ;;
|
||||
i[3-7]86-*-openbsd[0-2]* | i[3-7]86-*-openbsd3.[0-2])
|
||||
targ_emul=i386obsd ;;
|
||||
i[3-7]86-*-openbsd* | \
|
||||
[3-7]86-*-secbsd*) targ_emul=elf_i386_obsd ;;
|
||||
x86_64-*-openbsd* | \
|
||||
x86_64-*-secbsd*) targ_emul=elf_x86_64_obsd
|
||||
i[3-7]86-*-openbsd* | [3-7]86-*-secbsd*)
|
||||
targ_emul=elf_i386_obsd ;;
|
||||
x86_64-*-openbsd* | x86_64-*-secbsd*)
|
||||
targ_emul=elf_x86_64_obsd
|
||||
targ_extra_emuls="elf_i386_obsd elf_i386"
|
||||
tdir_elf_i386_obsd=`echo ${targ_alias} | \
|
||||
sed -e 's/x86_64/i386/'`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue