This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [AArch64, Patch] Add range-check for Symbol + offset addressing.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]