aarch64-protos.h (aarch64_classify_symbol): Fixup prototype.
authorTejas Belagod <tejas.belagod@arm.com>
Thu, 20 Nov 2014 13:58:23 +0000 (13:58 +0000)
committerTejas Belagod <belagod@gcc.gnu.org>
Thu, 20 Nov 2014 13:58:23 +0000 (13:58 +0000)
commitf8b756b74c2ef815ab2d6164ccc97dc32578cf8c
tree9ea2abe70a6cbe692f694d574b7bd7fd6257181d
parent1b6b13f3eeae79e4ba9b0888f623bdf30467ad46
aarch64-protos.h (aarch64_classify_symbol): Fixup prototype.

2014-11-20  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.

From-SVN: r217852
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/symbol-range-tiny.c [new file with mode: 0644]
gcc/testsuite/gcc.target/aarch64/symbol-range.c [new file with mode: 0644]