* config/aarch64/aarch64.c (aarch64_classify_address): Support
PC-relative load in SI modes and above only.
From-SVN: r197107
+2013-03-26 Sofiane Naci <sofiane.naci@arm.com>
+
+ * config/aarch64/aarch64.c (aarch64_classify_address): Support
+ PC-relative load in SI modes and above only.
+
2013-03-26 Xinyu Qi <xyqi@marvell.com>
* config/arm/arm.h (FIRST_IWMMXT_GR_REGNUM): Add comment.
case CONST:
case SYMBOL_REF:
case LABEL_REF:
- /* load literal: pc-relative constant pool entry. */
+ /* load literal: pc-relative constant pool entry. Only supported
+ for SI mode or larger. */
info->type = ADDRESS_SYMBOLIC;
- if (outer_code != PARALLEL)
+ if (outer_code != PARALLEL && GET_MODE_SIZE (mode) >= 4)
{
rtx sym, addend;