Re: [PATCH 4/9] arm: Centralize fixed register logic

2023-04-26 Thread Tom Rini
On Wed, Apr 05, 2023 at 07:48:54PM -0400, Tom Rini wrote: > When building for ARM64, we need to pass -ffixed-x18 and otherwise pass > -ffixed-r9. Rather than having this logic in two places, we can do this > once in arch/arm/config.mk. Further, while gcc will ignore being passed > both -ffixed-r9

Re: [PATCH 4/9] arm: Centralize fixed register logic

2023-04-06 Thread Simon Glass
On Thu, 6 Apr 2023 at 11:50, Tom Rini wrote: > > When building for ARM64, we need to pass -ffixed-x18 and otherwise pass > -ffixed-r9. Rather than having this logic in two places, we can do this > once in arch/arm/config.mk. Further, while gcc will ignore being passed > both -ffixed-r9 and

[PATCH 4/9] arm: Centralize fixed register logic

2023-04-05 Thread Tom Rini
When building for ARM64, we need to pass -ffixed-x18 and otherwise pass -ffixed-r9. Rather than having this logic in two places, we can do this once in arch/arm/config.mk. Further, while gcc will ignore being passed both -ffixed-r9 and -ffixed-x18 and simply use -ffixed-x18, clang will note that