arm64, jump label: detect %c support for ARM64
authorJiang Liu <liuj97@gmail.com>
Tue, 7 Jan 2014 14:17:12 +0000 (22:17 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 16:54:10 +0000 (17:54 +0100)
commiteeae892aeac2f66e7d1a6baaee4cf8108c3456b7
treebddc54135dc369023ba9f2412ecf208ebd80449a
parente2a137cc656127ef5c7694a0e01d9dc28b8f072f
arm64, jump label: detect %c support for ARM64

As commit a9468f30b5eac6 "ARM: 7333/2: jump label: detect %c
support for ARM", this patch detects the same thing for ARM64
because some ARM64 GCC versions have the same issue.

Some versions of ARM64 GCC which do support asm goto, do not
support the %c specifier. Since we need the %c to support jump
labels on ARM64, detect that too in the asm goto detection script
to avoid build errors with these versions.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Jiang Liu <liuj97@gmail.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit f3c003f72dfb2497056bcbb864885837a1968ed5)
Signed-off-by: Mark Brown <broonie@linaro.org>
scripts/gcc-goto.sh