Re: LLVM: use OpenBSD target code for AArch64

2016-11-28 Thread Patrick Wildt
On Fri, Nov 25, 2016 at 12:37:10AM +0100, Patrick Wildt wrote: > Hi, > > a clang binary using the AArch64 backend currently does not use > proper OpenBSD defines and specifics. This is because we don't > tell clang to use OpenBSD target info if it encounters an AArch64 > target. > > This diff ma

Re: LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Patrick Wildt
On Fri, Nov 25, 2016 at 12:44:44AM +0100, Joerg Sonnenberger wrote: > On Fri, Nov 25, 2016 at 12:37:10AM +0100, Patrick Wildt wrote: > > This diff makes LLVM do all the OpenBSD stuff for AArch64. > > > > ok? > > If you plan to submit this upstream, you should also update the test > cases accordin

Re: LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Joerg Sonnenberger
On Fri, Nov 25, 2016 at 12:37:10AM +0100, Patrick Wildt wrote: > This diff makes LLVM do all the OpenBSD stuff for AArch64. > > ok? If you plan to submit this upstream, you should also update the test cases accordingly. Joerg

LLVM: use OpenBSD target code for AArch64

2016-11-24 Thread Patrick Wildt
Hi, a clang binary using the AArch64 backend currently does not use proper OpenBSD defines and specifics. This is because we don't tell clang to use OpenBSD target info if it encounters an AArch64 target. This diff makes LLVM do all the OpenBSD stuff for AArch64. ok? Patrick diff --git a/gnu/