This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
221 powerpc doc patch
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Sat, 19 Mar 2011 10:56:26 +1030
- Subject: 221 powerpc doc patch
Applying to the branch.
Index: gas/ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.4320.2.21
diff -u -p -r1.4320.2.21 ChangeLog
--- gas/ChangeLog 18 Mar 2011 12:01:50 -0000 1.4320.2.21
+++ gas/ChangeLog 19 Mar 2011 00:18:37 -0000
@@ -1,3 +1,10 @@
+2011-03-19 Alan Modra <amodra@gmail.com>
+
+ * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
+ * doc/as.texinfo (Overview <Target PowerPC options>): Add a number
+ of missing options.
+ * doc/c-ppc.texi: Likewise.
+
2011-03-18 Alan Modra <amodra@gmail.com>
* config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.175
diff -u -p -r1.175 tc-ppc.c
--- gas/config/tc-ppc.c 4 Nov 2010 03:30:05 -0000 1.175
+++ gas/config/tc-ppc.c 19 Mar 2011 00:18:40 -0000
@@ -1,6 +1,7 @@
/* tc-ppc.c -- Assemble for the PowerPC or POWER (RS/6000)
Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
- 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
+ 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
This file is part of GAS, the GNU Assembler.
@@ -1244,12 +1245,13 @@ PowerPC options:\n\
-mrelocatable support for GCC's -mrelocatble option\n\
-mrelocatable-lib support for GCC's -mrelocatble-lib option\n\
-memb set PPC_EMB bit in ELF flags\n\
--mlittle, -mlittle-endian, -l, -le\n\
+-mlittle, -mlittle-endian, -le\n\
generate code for a little endian machine\n\
--mbig, -mbig-endian, -b, -be\n\
+-mbig, -mbig-endian, -be\n\
generate code for a big endian machine\n\
-msolaris generate code for Solaris\n\
-mno-solaris do not generate code for Solaris\n\
+-K PIC set EF_PPC_RELOCATABLE_LIB in ELF flags\n\
-V print assembler version number\n\
-Qy, -Qn ignored\n"));
#endif
Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.225.2.1
diff -u -p -r1.225.2.1 as.texinfo
--- gas/doc/as.texinfo 18 Mar 2011 12:01:50 -0000 1.225.2.1
+++ gas/doc/as.texinfo 19 Mar 2011 00:18:45 -0000
@@ -429,13 +429,18 @@ gcc(1), ld(1), and the Info entries for
@ifset PPC
@emph{Target PowerPC options:}
- [@b{-mpwrx}|@b{-mpwr2}|@b{-mpwr}|@b{-m601}|@b{-mppc}|@b{-mppc32}|@b{-m603}|@b{-m604}|
- @b{-m403}|@b{-m405}|@b{-mppc64}|@b{-m620}|@b{-mppc64bridge}|@b{-mbooke}]
- [@b{-mcom}|@b{-many}|@b{-maltivec}|@b{-mvsx}] [@b{-memb}]
+ [@b{-a32}|@b{-a64}]
+ [@b{-mpwrx}|@b{-mpwr2}|@b{-mpwr}|@b{-m601}|@b{-mppc}|@b{-mppc32}|@b{-m603}|@b{-m604}|@b{-m403}|@b{-m405}|
+ @b{-m440}|@b{-m464}|@b{-m476}|@b{-m7400}|@b{-m7410}|@b{-m7450}|@b{-m7455}|@b{-m750cl}|@b{-mppc64}|
+ @b{-m620}|@b{-me500}|@b{-e500x2}|@b{-me500mc}|@b{-me500mc64}|@b{-mppc64bridge}|@b{-mbooke}|
+ @b{-mpower4}|@b{-mpr4}|@b{-mpower5}|@b{-mpwr5}|@b{-mpwr5x}|@b{-mpower6}|@b{-mpwr6}|
+ @b{-mpower7}|@b{-mpw7}|@b{-ma2}|@b{-mcell}|@b{-mspe}|@b{-mtitan}|@b{-me300}|@b{-mcom}]
+ [@b{-many}] [@b{-maltivec}|@b{-mvsx}]
[@b{-mregnames}|@b{-mno-regnames}]
- [@b{-mrelocatable}|@b{-mrelocatable-lib}]
- [@b{-mlittle}|@b{-mlittle-endian}|@b{-mbig}|@b{-mbig-endian}]
+ [@b{-mrelocatable}|@b{-mrelocatable-lib}|@b{-K PIC}] [@b{-memb}]
+ [@b{-mlittle}|@b{-mlittle-endian}|@b{-le}|@b{-mbig}|@b{-mbig-endian}|@b{-be}]
[@b{-msolaris}|@b{-mno-solaris}]
+ [@b{-nops=@var{count}}]
@end ifset
@ifset RX
Index: gas/doc/c-ppc.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-ppc.texi,v
retrieving revision 1.19
diff -u -p -r1.19 c-ppc.texi
--- gas/doc/c-ppc.texi 8 Feb 2010 01:59:37 -0000 1.19
+++ gas/doc/c-ppc.texi 19 Mar 2011 00:18:46 -0000
@@ -1,4 +1,4 @@
-@c Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010
+@c Copyright 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
@@ -34,6 +34,15 @@ reference manual.
The following table lists all available PowerPC options.
@table @code
+@item -a32
+Generate ELF32 or XCOFF32.
+
+@item -a64
+Generate ELF64 or XCOFF64.
+
+@item -K PIC
+Set EF_PPC_RELOCATABLE_LIB in ELF flags.
+
@item -mpwrx | -mpwr2
Generate code for POWER/2 (RIOS2).
@@ -52,6 +61,9 @@ Generate code for PowerPC 403/405.
@item -m440
Generate code for PowerPC 440. BookE and some 405 instructions.
+@item -m464
+Generate code for PowerPC 464.
+
@item -m476
Generate code for PowerPC 476.
@@ -67,6 +79,12 @@ Generate code for PowerPC 620/625/630.
@item -me500, -me500x2
Generate code for Motorola e500 core complex.
+@item -me500mc
+Generate code for Freescale e500mc core complex.
+
+@item -me500mc64
+Generate code for Freescale e500mc64 core complex.
+
@item -mspe
Generate code for Motorola SPE instructions.
@@ -91,16 +109,16 @@ Generate code for processors with AltiVe
@item -mvsx
Generate code for processors with Vector-Scalar (VSX) instructions.
-@item -mpower4
+@item -mpower4, -mpwr4
Generate code for Power4 architecture.
-@item -mpower5
+@item -mpower5, -mpwr5, -mpwr5x
Generate code for Power5 architecture.
-@item -mpower6
+@item -mpower6, -mpwr6
Generate code for Power6 architecture.
-@item -mpower7
+@item -mpower7, -mpwr7
Generate code for Power7 architecture.
@item -mcell
@@ -127,10 +145,10 @@ Support for GCC's -mrelocatable-lib opti
@item -memb
Set PPC_EMB bit in ELF flags.
-@item -mlittle, -mlittle-endian
+@item -mlittle, -mlittle-endian, -le
Generate code for a little endian machine.
-@item -mbig, -mbig-endian
+@item -mbig, -mbig-endian, -be
Generate code for a big endian machine.
@item -msolaris
@@ -138,6 +156,10 @@ Generate code for Solaris.
@item -mno-solaris
Do not generate code for Solaris.
+
+@item -nops=@var{count}
+If an alignment directive inserts more than @var{count} nops, put a
+branch at the beginning to skip execution of the nops.
@end table
--
Alan Modra
Australia Development Lab, IBM