diff options
author | dlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-17 15:09:47 +0000 |
---|---|---|
committer | dlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-06-17 15:09:47 +0000 |
commit | f0ecff584eea2b1cf0463c929409499270151192 (patch) | |
tree | 2dcfc57a63ac1ac16c4f9a4c78bb79ef0a1a5b64 /gcc/config/m68k/linux.h | |
parent | f8104c54ba283ad91a55fac9c991ae6692972ebe (diff) | |
download | gcc-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.h | 3 |
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 |