[AArch64, Patch] Add range-check for Symbol + offset addressing.
Tejas Belagod
tejas.belagod@arm.com
Thu Nov 20 14:37:00 GMT 2014
On 14/11/14 17:33, Marcus Shawcroft wrote:
> 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 ?
The same patch applies cleanly to 4.9. OK to commit?
Thanks,
Tejas.
More information about the Gcc-patches
mailing list