diff options
author | Michael J. Eager <eager@eagercon.com> | 2023-09-28 13:08:49 -0700 |
---|---|---|
committer | Michael J. Eager <eager@eagercon.com> | 2023-09-28 13:14:37 -0700 |
commit | 1a64c35996054f06a951edc1d22a85ee20ddda07 (patch) | |
tree | 710e312a63d2bb1a0c310f98ae270324c5c4d5be /gas/doc | |
parent | 72535eb14bda8ea61d801f007c4d38533c727832 (diff) | |
download | gdb-1a64c35996054f06a951edc1d22a85ee20ddda07.zip gdb-1a64c35996054f06a951edc1d22a85ee20ddda07.tar.gz gdb-1a64c35996054f06a951edc1d22a85ee20ddda07.tar.bz2 |
Added support in gas for mlittle-endian and mbig-endian flags as options.
Updated show usage for MicroBlaze specific assembler options
to include new entries.
This patch has been tested for years of AMD Xilinx Yocto
releases as part of the following patch set:
https://github.com/Xilinx/meta-xilinx/tree/master/meta-microblaze/recipes-devtools/binutils/binutils
Signed-off-by: nagaraju <nagaraju.mekala@amd.com>
Signed-off-by: Neal Frager <neal.frager@amd.com>
---
V1->V2:
- removed new options which were unnecessary
- added documentation for MicroBlaze specific options
Signed-off-by: Michael J. Eager <eager@eagercon.com>
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texi | 2 | ||||
-rw-r--r-- | gas/doc/c-microblaze.texi | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 6a3e5ee..52571d9 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -439,7 +439,7 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. @end ifset @ifset MICROBLAZE @emph{Target MICROBLAZE options:} -@c MicroBlaze has no machine-dependent assembler options. + [@b{-mlittle-endian}] [@b{-mbig-endian}] @end ifset @ifset MIPS diff --git a/gas/doc/c-microblaze.texi b/gas/doc/c-microblaze.texi index fabc5ba..4e5fdb4 100644 --- a/gas/doc/c-microblaze.texi +++ b/gas/doc/c-microblaze.texi @@ -22,6 +22,7 @@ Reference Guide (UG081)} available at www.xilinx.com. @menu * MicroBlaze Directives:: Directives for MicroBlaze Processors. * MicroBlaze Syntax:: Syntax for the MicroBlaze +* MicroBlaze Options:: Options for MicroBlaze Processors. @end menu @node MicroBlaze Directives @@ -97,3 +98,18 @@ preprocessor control command (@pxref{Preprocessing}). @cindex MicroBlaze line separator The @samp{;} character can be used to separate statements on the same line. + +@node MicroBlaze Options +@section Options + +MicroBlaze processors support the following options: + +@cindex MicroBlaze Options + +@table @code +@item -mbig-endian +Build for MicroBlaze in Big Endian configuration. + +@item -mlittle-endian +Build for MicroBlaze in Little Endian configuration. +@end table |