summaryrefslogtreecommitdiffstats
path: root/gcc/invoke.texi
diff options
context:
space:
mode:
authordlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-17 15:09:38 +0000
committerdlindsay <dlindsay@138bc75d-0d04-0410-961f-82ee72b054a4>1999-06-17 15:09:38 +0000
commitf8104c54ba283ad91a55fac9c991ae6692972ebe (patch)
tree6cdda75d5c37c6202a77fffb503d5c4d8cb08cb5 /gcc/invoke.texi
parentecec2a9d0a1274a8c9b306f81bd7bd70cb494954 (diff)
downloadppe42-gcc-f8104c54ba283ad91a55fac9c991ae6692972ebe.tar.gz
ppe42-gcc-f8104c54ba283ad91a55fac9c991ae6692972ebe.zip
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@27575 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/invoke.texi')
-rw-r--r--gcc/invoke.texi9
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 7319eb63bab..1c876983e8a 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -212,7 +212,7 @@ in the following sections.
@emph{M680x0 Options}
-m68000 -m68020 -m68020-40 -m68020-60 -m68030 -m68040
-m68060 -mcpu32 -m5200 -m68881 -mbitfield -mc68000 -mc68020
--mfpa -mnobitfield -mrtd -mshort -msoft-float
+-mfpa -mnobitfield -mrtd -mshort -msoft-float -mpcrel
-malign-int
@emph{VAX Options}
@@ -3257,6 +3257,13 @@ faster on processors with 32-bit busses at the expense of more memory.
align structures containing the above types differently than
most published application binary interface specifications for the m68k.
+@item -mpcrel
+Use the pc-relative addressing mode of the 68000 directly, instead of
+using a global offset table. At present, this option implies -fpic,
+allowing at most a 16-bit offset for pc-relative addressing. -fPIC is
+not presently supported with -mpcrel, though this could be supported for
+68020 and higher processors.
+
@end table
@node VAX Options
OpenPOWER on IntegriCloud