From 8c86fb6da0b9c068ee4b4220dee11171e322f67f Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 24 May 2023 09:37:20 -0400 Subject: arm: Use -masm-syntax-unified when compiling with gcc8 or newer Annoyingly, this makes all of the '.S' files we compile get treated as divided syntax, so we need to make the syntax in them explicit. Change-Id: I56a3916b7b24c84a1214a5d6bc4ed4d651f002cf --- lib/arm_support/support-arm.S | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/arm_support/support-arm.S') diff --git a/lib/arm_support/support-arm.S b/lib/arm_support/support-arm.S index 3af0c70975..d12392eeb3 100644 --- a/lib/arm_support/support-arm.S +++ b/lib/arm_support/support-arm.S @@ -30,6 +30,8 @@ #include +.syntax unified + .macro ARM_SDIV32_PRE numerator, divisor, sign /* sign[31] = divisor sign */ ands \sign, \divisor, #1<<31 -- cgit v1.2.3