Commit d24eed4d by Richard Stallman

(NS32K_DISPLACEMENT_P): Wide displacement range applies to all models.

From-SVN: r1238
parent b092b471
...@@ -837,10 +837,13 @@ __transfer_from_trampoline () \ ...@@ -837,10 +837,13 @@ __transfer_from_trampoline () \
Strictly speaking, we can't be sure that a symbol will fit this range. Strictly speaking, we can't be sure that a symbol will fit this range.
But, in practice, it always will. */ But, in practice, it always will. */
/* idall@eleceng.adelaide.edu.au says that the 32016 and 32032
can handle the full range of displacements--it is only the addresses
that have a limited range. So the following was deleted:
(((i) <= 16777215 && (i) >= -16777216)
|| ((TARGET_32532 || TARGET_32332) && ...)) */
#define NS32K_DISPLACEMENT_P(i) \ #define NS32K_DISPLACEMENT_P(i) \
(((i) <= 16777215 && (i) >= -16777216) \ ((i) <= 536870913 && (i) >= -536870912)
|| ((TARGET_32532 || TARGET_32332) \
&& (i) <= 536870913 && (i) >= -536870912))
/* Check for frame pointer or stack pointer. */ /* Check for frame pointer or stack pointer. */
#define MEM_REG(X) \ #define MEM_REG(X) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment