diff options
author | Nick Clifton <nickc@redhat.com> | 2009-03-02 10:33:08 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-03-02 10:33:08 +0000 |
commit | c3b7224ae49a815ca1e60d058acc980530832881 (patch) | |
tree | 5c6fbdaaf1f119828e423512f1b9d8431894596c /gas/doc | |
parent | 9af17804e939a7d07adb86d8c16992e4c92b46ff (diff) | |
download | gdb-c3b7224ae49a815ca1e60d058acc980530832881.zip gdb-c3b7224ae49a815ca1e60d058acc980530832881.tar.gz gdb-c3b7224ae49a815ca1e60d058acc980530832881.tar.bz2 |
Add support for Score7 architecture.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/Makefile.am | 3 | ||||
-rw-r--r-- | gas/doc/Makefile.in | 1 | ||||
-rw-r--r-- | gas/doc/all.texi | 3 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 33 | ||||
-rw-r--r-- | gas/doc/c-score.texi | 142 |
5 files changed, 177 insertions, 5 deletions
diff --git a/gas/doc/Makefile.am b/gas/doc/Makefile.am index 793058d..6a02ccf 100644 --- a/gas/doc/Makefile.am +++ b/gas/doc/Makefile.am @@ -58,6 +58,7 @@ CPU_DOCS = \ c-pj.texi \ c-ppc.texi \ c-s390.texi \ + c-score.texi \ c-sh.texi \ c-sh64.texi \ c-sparc.texi \ @@ -75,7 +76,7 @@ install-data-local: install-info pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; install-pdf: install-pdf-am - + install-pdf-am: $(PDFS) @$(NORMAL_INSTALL) test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" diff --git a/gas/doc/Makefile.in b/gas/doc/Makefile.in index 7e8b03b..847b352a 100644 --- a/gas/doc/Makefile.in +++ b/gas/doc/Makefile.in @@ -279,6 +279,7 @@ CPU_DOCS = \ c-pj.texi \ c-ppc.texi \ c-s390.texi \ + c-score.texi \ c-sh.texi \ c-sh64.texi \ c-sparc.texi \ diff --git a/gas/doc/all.texi b/gas/doc/all.texi index 6ccc6f3..9a94e6b 100644 --- a/gas/doc/all.texi +++ b/gas/doc/all.texi @@ -1,5 +1,5 @@ @c Copyright 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, -@c 2003, 2005 +@c 2003, 2005, 2009 @c Free Software Foundation, Inc. @c This file is part of the documentation for the GAS manual @@ -58,6 +58,7 @@ @set PJ @set PPC @set S390 +@set SCORE @set SH @set SPARC @set TIC54X diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index 18fd962..fd6c0a3 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -1,6 +1,6 @@ \input texinfo @c -*-Texinfo-*- @c Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, -@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 +@c 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 @c Free Software Foundation, Inc. @c UPDATE!! On future updates-- @c (1) check for new machine-dep cmdline options in @@ -101,7 +101,7 @@ This file documents the GNU Assembler "@value{AS}". @c man begin COPYRIGHT Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002, -2006, 2007, 2008 Free Software Foundation, Inc. +2006, 2007, 2008, 2009 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -151,7 +151,7 @@ done. @vskip 0pt plus 1filll Copyright @copyright{} 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001, 2002, -2006, 2007, 2008 Free Software Foundation, Inc. +2006, 2007, 2008, 2009 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 @@ -423,6 +423,14 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}. [@b{-mregnames}|@b{-mno-regnames}] [@b{-mwarn-areg-zero}] @end ifset +@ifset SCORE + +@emph{Target SCORE options:} + [@b{-EB}][@b{-EL}][@b{-FIXDD}][@b{-NWARN}] + [@b{-SCORE5}][@b{-SCORE5U}][@b{-SCORE7}][@b{-SCORE3}] + [@b{-march=score7}][@b{-march=score3}] + [@b{-USE_R1}][@b{-KPIC}][@b{-O0}][@b{-G} @var{num}][@b{-V}] +@end ifset @ifset SPARC @emph{Target SPARC options:} @@ -2233,9 +2241,15 @@ is considered a comment and is ignored. The line comment character is @ifset PPC @samp{#} for Motorola PowerPC; @end ifset +<<<<<<< as.texinfo +@ifset SCORE +@samp{#} for the Sunplus SCORE; +@end ifset +======= @ifset S390 @samp{#} for IBM S/390; @end ifset +>>>>>>> 1.196 @ifset SH @samp{!} for the Renesas / SuperH SH; @end ifset @@ -6750,9 +6764,15 @@ subject, see the hardware manufacturer's manual. @ifset PPC * PPC-Dependent:: PowerPC Dependent Features @end ifset +<<<<<<< as.texinfo +@ifset SCORE +* SCORE-Dependent:: SCORE Dependent Features +@end ifset +======= @ifset S390 * S/390-Dependent:: IBM S/390 Dependent Features @end ifset +>>>>>>> 1.196 @ifset SPARC * Sparc-Dependent:: SPARC Dependent Features @end ifset @@ -6921,10 +6941,17 @@ family. @include c-ppc.texi @end ifset +<<<<<<< as.texinfo +@ifset SCORE +@include c-score.texi +@end ifset + +======= @ifset S390 @include c-s390.texi @end ifset +>>>>>>> 1.196 @ifset SH @include c-sh.texi @include c-sh64.texi diff --git a/gas/doc/c-score.texi b/gas/doc/c-score.texi new file mode 100644 index 0000000..0820115 --- /dev/null +++ b/gas/doc/c-score.texi @@ -0,0 +1,142 @@ +@c Copyright 2009 +@c Free Software Foundation, Inc. +@c This is part of the GAS manual. +@c For copying conditions, see the file as.texinfo. +@ifset GENERIC +@page +@node SCORE-Dependent +@chapter SCORE Dependent Features +@end ifset +@ifclear GENERIC +@node Machine Dependencies +@chapter SCORE Dependent Features +@end ifclear + +@cindex SCORE processor +@menu +* SCORE-Opts:: Assembler options +* SCORE-Pseudo:: SCORE Assembler Directives +@end menu + +@node SCORE-Opts +@section Options + +@cindex options for SCORE +@cindex SCORE options +@cindex architectures, SCORE +@cindex SCORE architectures + +The following table lists all available SCORE options. + +@table @code +@item -G @var{num} +This option sets the largest size of an object that can be referenced +implicitly with the @code{gp} register. The default value is 8. + +@item -EB +Assemble code for a big-endian cpu + +@itemx -EL +Assemble code for a little-endian cpu + +@item -FIXDD +Assemble code for fix data dependency + +@item -NWARN +Assemble code for no warning message for fix data dependency + +@item -SCORE5 +Assemble code for target is SCORE5 + +@itemx -SCORE5U +Assemble code for target is SCORE5U + +@itemx -SCORE7 +Assemble code for target is SCORE7, this is default setting + +@itemx -SCORE3 +Assemble code for target is SCORE3 + +@item -march=score7 +Assemble code for target is SCORE7, this is default setting + +@item -march=score3 +Assemble code for target is SCORE3 + +@item -USE_R1 +Assemble code for no warning message when using temp register r1 + +@item -KPIC +Generate code for PIC. This option tells the assembler to generate +score position-independent macro expansions. It also tells the +assembler to mark the output file as PIC. + +@item -O0 +Assembler will not perform any optimizations + +@item -V +Sunplus release version + +@end table + +@node SCORE-Pseudo +@section SCORE Assembler Directives + +@cindex directives for SCORE +@cindex SCORE directives +A number of assembler directives are available for SCORE. The +following table is far from complete. + +@table @code +@item .set nwarn +Let the assembler not to generate warnings if the source machine +language instructions happen data dependency. + +@item .set fixdd +Let the assembler to insert bubbles (32 bit nop instruction / +16 bit nop! Instruction) if the source machine language instructions +happen data dependency. + +@item .set nofixdd +Let the assembler to generate warnings if the source machine +language instructions happen data dependency. (Default) + +@item .set r1 +Let the assembler not to generate warnings if the source program +uses r1. allow user to use r1 + +@item set nor1 +Let the assembler to generate warnings if the source program uses +r1. (Default) + +@item .sdata +Tell the assembler to add subsequent data into the sdata section + +@item .rdata +Tell the assembler to add subsequent data into the rdata section + +@item .frame "frame-register", "offset", "return-pc-register" +Describe a stack frame. "frame-register" is the frame register, +"offset" is the distance from the frame register to the virtual +frame pointer, "return-pc-register" is the return program register. +You must use ".ent" before ".frame" and only one ".frame" can be +used per ".ent". + +@item .mask "bitmask", "frameoffset" +Indicate which of the integer registers are saved in the current +function's stack frame, this is for the debugger to explain the +frame chain. + +@item .ent "proc-name" +Set the beginning of the procedure "proc_name". Use this directive +when you want to generate information for the debugger. + +@item .end proc-name +Set the end of a procedure. Use this directive to generate information +for the debugger. + +@item .bss +Switch the destination of following statements into the bss section, +which is used for data that is uninitialized anywhere. + +@end table |