This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [AArch64, Patch] Add range-check for Symbol + offset addressing.
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Tejas Belagod <tejas dot belagod at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 14 Nov 2014 17:33:53 +0000
- Subject: Re: [AArch64, Patch] Add range-check for Symbol + offset addressing.
- Authentication-results: sourceware.org; auth=none
- References: <5465B973 dot 40007 at arm dot com>
On 14 November 2014 08:12, Tejas Belagod <tejas.belagod@arm.com> wrote:
> 2014-11-14 Tejas Belagod <tejas.belagod@arm.com>
>
> gcc/
> * config/aarch64/aarch64-protos.h (aarch64_classify_symbol):
> Fixup prototype.
> * config/aarch64/aarch64.c (aarch64_expand_mov_immediate,
> aarch64_cannot_force_const_mem, aarch64_classify_address,
> aarch64_classify_symbolic_expression): Fixup call to
> aarch64_classify_symbol.
> (aarch64_classify_symbol): Add range-checking for
> symbol + offset addressing for tiny and small models.
>
> testsuite/
> * gcc.target/aarch64/symbol-range.c: New.
> * gcc.target/aarch64/symbol-range-tiny.c: New.
OK.
Could you rustle up a back port ?
/Marcus