ia64.c (got_symbolic_operand): Do require a symbol+offset operand to have its offset...
authorZack Weinberg <zack@gcc.gnu.org>
Mon, 2 Aug 2004 03:23:01 +0000 (03:23 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Mon, 2 Aug 2004 03:23:01 +0000 (03:23 +0000)
commit1f09d3eb5c8b1af1916ce126e9058c29d458e763
tree3beb5733c041e5c84f148b4953d0af7123ac6241
parent72fba2df33f22f1a57b276cb07d0820f726358e0
ia64.c (got_symbolic_operand): Do require a symbol+offset operand to have its offset be zero mod 0x3fff when...

* config/ia64/ia64.c (got_symbolic_operand): Do require a
symbol+offset operand to have its offset be zero mod 0x3fff
when GOT entries are in use.  Clarify logic in SYMBOL_REF
case.  Clarify comments.
(ia64_expand_load_address): Split a symbol+offset load when
the offset is nonzero mod 0x3fff, not 0x1fff.
testsuite:
* gcc.dg/ia64-got-1.c: New test case.

From-SVN: r85426
gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ia64-got-1.c [new file with mode: 0644]