This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: ____longjmp_chk for ARM
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: libc-ports at sourceware dot org
- Date: Mon, 18 May 2009 01:07:24 +0200
- Subject: Re: ____longjmp_chk for ARM
- References: <Pine.LNX.4.64.0905162220420.9931@digraph.polyomino.org.uk>
"Joseph S. Myers" <joseph@codesourcery.com> writes:
> +#define CHECK_SP(reg) \
> + cmp sp, reg; \
> + ble .Lok; \
> + CALL_FAIL \
> +.Lok:
This is a signed compare, isn't it? Shouldn't that rather be an
unsigned compare?
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."