ARM: tegra: fix compilation with binutils >= 2.21
Marc Dietrich [Tue, 6 Mar 2012 20:52:04 +0000 (13:52 -0700)]
Fix "Error: .size expression does not evaluate to a constant" with
binutils since version >= 2.21 due to wrong naming of the label
reference.

Signed-off-by: Marc Dietrich <marvin24@gmx.de>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
Change-Id: I3d09c423f993aa5ec8cdf166199774a7a1b18396
Reviewed-on: http://git-master/r/88102
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>

arch/arm/mach-tegra/headsmp.S

index 21ff460..9d01981 100644 (file)
@@ -330,6 +330,6 @@ __tegra_cpu_reset_handler_data:
        .rept   TEGRA_RESET_DATA_SIZE
        .long   0
        .endr
-       .size   __tegra_cpu_reset_handler_data, .-tegra_cpu_reset_handler_data
+       .size   __tegra_cpu_reset_handler_data, . - __tegra_cpu_reset_handler_data
        .align L1_CACHE_SHIFT
 ENTRY(__tegra_cpu_reset_handler_end)