summaryrefslogtreecommitdiff
path: root/gcc/config/m68k/linux.h
diff options
context:
space:
mode:
authordlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-17 15:09:47 +0000
committerdlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-17 15:09:47 +0000
commitf0ecff584eea2b1cf0463c929409499270151192 (patch)
tree2dcfc57a63ac1ac16c4f9a4c78bb79ef0a1a5b64 /gcc/config/m68k/linux.h
parentf8104c54ba283ad91a55fac9c991ae6692972ebe (diff)
downloadgcc-f0ecff584eea2b1cf0463c929409499270151192.tar.gz
h
Added -mpcrel flag, and underlying support for PC-relative addressing on m68k. Patch is tested, and approved by Jim Wilson. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27576 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k/linux.h')
-rw-r--r--gcc/config/m68k/linux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
index 0df0bd8e575..a1a4fffbb20 100644
--- a/gcc/config/m68k/linux.h
+++ b/gcc/config/m68k/linux.h
@@ -310,7 +310,8 @@ do { \
&& ! (GET_CODE (X) == CONST_DOUBLE && CONST_DOUBLE_MEM (X) \
&& GET_CODE (CONST_DOUBLE_MEM (X)) == MEM \
&& symbolic_operand (XEXP (CONST_DOUBLE_MEM (X), 0), VOIDmode))) \
- || (GET_CODE (X) == SYMBOL_REF && SYMBOL_REF_FLAG (X)))
+ || (GET_CODE (X) == SYMBOL_REF && SYMBOL_REF_FLAG (X)) \
+ || PCREL_GENERAL_OPERAND_OK)
/* Turn off function cse if we are doing PIC. We always want function
call to be done as `bsr foo@PLTPC', so it will force the assembler