avr32: Fix .size directive for cpu_enter_idle
authorBen Hutchings <ben@decadent.org.uk>
Wed, 9 Mar 2011 00:32:36 +0000 (00:32 +0000)
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Wed, 13 Apr 2011 13:46:49 +0000 (15:46 +0200)
gas used to accept (and ignore?) .size directives which referred to
undefined symbols, as this does.  In binutils 2.21 these are treated
as errors.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
arch/avr32/mach-at32ap/pm-at32ap700x.S

index 17503b0ed6c9b3f5865406fb0d5f44241ce6bab7..f868f4ce761ba6f37a7b63617fba356410263ff1 100644 (file)
@@ -53,7 +53,7 @@ cpu_enter_idle:
        st.w    r8[TI_flags], r9
        unmask_interrupts
        sleep   CPU_SLEEP_IDLE
-       .size   cpu_idle_sleep, . - cpu_idle_sleep
+       .size   cpu_enter_idle, . - cpu_enter_idle
 
        /*
         * Common return path for PM functions that don't run from