aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-04-08 22:44:13 +0000
committerJeff Law <law@gcc.gnu.org>1998-04-08 16:44:13 -0600
commit56b2d7a733259e7a0a33bd8591a5200d1f416b86 (patch)
treeba10bcccedab08651b7e5154c1a69020c3364d3b /gcc
parentc74c0cff2d8951cc8bcb41be806cd8af45805575 (diff)
downloadgcc-56b2d7a733259e7a0a33bd8591a5200d1f416b86.zip
gcc-56b2d7a733259e7a0a33bd8591a5200d1f416b86.tar.gz
gcc-56b2d7a733259e7a0a33bd8591a5200d1f416b86.tar.bz2
* invoke.texi: Add ARC options.
From-SVN: r19059
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/invoke.texi43
2 files changed, 45 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1017d18..2207362 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -23,6 +23,8 @@ Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
+ * invoke.texi: Add ARC options.
+
* gcc.c (proces_command): Improve error message for -o with
either -c or -S.
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index b9273ee..0b33ae3 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -376,6 +376,11 @@ in the following sections.
@emph{System V Options}
-Qy -Qn -YP,@var{paths} -Ym,@var{dir}
+@emph{ARC Options}
+-EB -EL
+-mmangle-cpu -mcpu=@var{cpu} -mtext=@var{text section}
+-mdata=@var{data section} -mrodata=@var{readonly data section}
+
@emph{V850 Options}
-mlong-calls -mno-long-calls -mep -mno-ep
-mprolog-function -mno-prolog-function -mspace
@@ -2925,6 +2930,7 @@ that macro, which enables you to change the defaults.
* SH Options::
* System V Options::
* V850 Options::
+* ARC Options::
@end menu
@node M680x0 Options
@@ -5449,6 +5455,43 @@ the assembler/linker complain about out of range branches within a switch
table.
@end table
+@node ARC Options
+@subsection ARC Options
+@cindex ARC Options
+
+These options are defined for ARC implementations:
+
+@table @code
+@item -EL
+Compile code for little endian mode. This is the default.
+
+@item -EB
+Compile code for big endian mode.
+
+@item -mmangle-cpu
+Prepend the name of the cpu to all public symbol names.
+In multiple-processor systems, there are many ARC variants with different
+instruction and register set characteristics. This flag prevents code
+compiled for one cpu to be linked with code compiled for another.
+No facility exists for handling variants that are "almost identical".
+This is an all or nothing option.
+
+@item -mcpu=@var{cpu}
+Compile code for ARC variant @var{cpu}.
+Which variants are supported depend on the configuration.
+All variants support @samp{-mcpu=base}, this is the default.
+
+@item -mtext=@var{text section}
+@item -mdata=@var{data section}
+@item -mrodata=@var{readonly data section}
+Put functions, data, and readonly data in @var{text section},
+@var{data section}, and @var{readonly data section} respectively
+by default. This can be overridden with the @code{section} attribute.
+@xref{Variable Attributes}
+
+@end table
+
+
@node Code Gen Options
@section Options for Code Generation Conventions
@cindex code generation conventions