[PATCH] arm: Fix .size directive for xscale_dma_a0_map_area
ben at decadent.org.uk
Thu Apr 7 19:47:44 EDT 2011
On Sat, 2011-03-12 at 03:27 +0000, Ben Hutchings wrote:
> gas used to accept (and ignore?) .size directives which referred to
> undefined symbols, as this does. In binutils 2.21 these are treated
> as fatal errors.
Please acknowledge and send this upstream.
You also haven't responded to my patch fixing .size directives for
> Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
> I missed this one previously because my 5-minute script didn't recognise
> the ENDPROC macro as generating a .size directive.
> arch/arm/mm/proc-xscale.S | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
> diff --git a/arch/arm/mm/proc-xscale.S b/arch/arm/mm/proc-xscale.S
> index 5a37c5e..ab00b59 100644
> --- a/arch/arm/mm/proc-xscale.S
> +++ b/arch/arm/mm/proc-xscale.S
> @@ -395,7 +395,7 @@ ENTRY(xscale_dma_a0_map_area)
> teq r2, #DMA_TO_DEVICE
> beq xscale_dma_clean_range
> b xscale_dma_flush_range
> * dma_unmap_area(start, size, dir)
Once a job is fouled up, anything done to improve it makes it worse.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 828 bytes
Desc: This is a digitally signed message part
More information about the linux-arm-kernel