Re: [PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-20 Thread Tom Rini
On Mon, Aug 08, 2022 at 04:12:30PM +0200, Rasmus Villemoes wrote: > The Yocto project builds their aarch64 cross-compiler with the > configure knob --enable-standard-branch-protection, which means that > their gcc behaves as if -mbranch-protection=standard is passed; the > default (lacking that co

Re: [PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-09 Thread Rasmus Villemoes
On 10/08/2022 04.38, Peng Fan wrote: > > > On 8/8/2022 10:12 PM, Rasmus Villemoes wrote: >> The Yocto project builds their aarch64 cross-compiler with the >> configure knob --enable-standard-branch-protection, which means that >> their gcc behaves as if -mbranch-protection=standard is passed; the

Re: [PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-09 Thread Peng Fan
On 8/8/2022 10:12 PM, Rasmus Villemoes wrote: The Yocto project builds their aarch64 cross-compiler with the configure knob --enable-standard-branch-protection, which means that their gcc behaves as if -mbranch-protection=standard is passed; the default (lacking that configure knob) is -mbranc

Re: [PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-08 Thread Simon Glass
On Mon, 8 Aug 2022 at 08:12, Rasmus Villemoes wrote: > > The Yocto project builds their aarch64 cross-compiler with the > configure knob --enable-standard-branch-protection, which means that > their gcc behaves as if -mbranch-protection=standard is passed; the > default (lacking that configure kno

[PATCH] arm64: explicitly disable pointer authentication instructions

2022-08-08 Thread Rasmus Villemoes
The Yocto project builds their aarch64 cross-compiler with the configure knob --enable-standard-branch-protection, which means that their gcc behaves as if -mbranch-protection=standard is passed; the default (lacking that configure knob) is -mbranch-protection=none. This means that when building U