Re: [PATCH] ARM: Add unwinding support for memmove function

From: Russell King - ARM Linux
Date: Tue Nov 25 2014 - 06:46:04 EST


On Mon, Nov 24, 2014 at 09:45:56PM +0800, Lin Yongting wrote:
> @@ -27,12 +28,17 @@
> */
>
> ENTRY(memmove)
> + UNWIND( .fnstart )
>
> subs ip, r0, r1
> cmphi r2, ip
> bls memcpy
>
> stmfd sp!, {r0, r4, lr}
> + UNWIND( .fnend )
> +
> + UNWIND( .fnstart )
> + UNWIND( .save {r0, r4, lr} ) @ in first stmfd block

This is pretty horrid, but I guess it's necessary due to how the unwinder
works. If no one has any objections, please drop it in the patch system
and I'll queue it for the next merge window.

Thanks.

--
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/