c-ppc.texi revision 89857
1@c Copyright 2001 2@c Free Software Foundation, Inc. 3@c This is part of the GAS manual. 4@c For copying conditions, see the file as.texinfo. 5@ifset GENERIC 6@page 7@node PPC-Dependent 8@chapter PowerPC Dependent Features 9@end ifset 10@ifclear GENERIC 11@node Machine Dependencies 12@chapter PowerPC Dependent Features 13@end ifclear 14 15@cindex PowerPC support 16@menu 17* PowerPC-Opts:: Options 18@end menu 19 20@node PowerPC-Opts 21@section Options 22 23@cindex options for PowerPC 24@cindex PowerPC options 25@cindex architectures, PowerPC 26@cindex PowerPC architectures 27The PowerPC chip family includes several successive levels, using the same 28core instruction set, but including a few additional instructions at 29each level. There are exceptions to this however. For details on what 30instructions each variant supports, please see the chip's architecture 31reference manual. 32 33The following table lists all available PowerPC options. 34 35@table @code 36@item -mpwrx | -mpwr2 37Generate code for IBM POWER/2 (RIOS2). 38 39@item -mpwr 40Generate code for IBM POWER (RIOS1) 41 42@item -m601 43Generate code for Motorola PowerPC 601. 44 45@item -mppc, -mppc32, -m603, -m604 46Generate code for Motorola PowerPC 603/604. 47 48@item -m403, -m405 49Generate code for Motorola PowerPC 403/405. 50 51@item -mppc64, -m620 52Generate code for Motorola PowerPC 620. 53 54@item -mppc64bridge 55Generate code for PowerPC 64, including bridge insns. 56 57@item -mbooke64 58Generate code for 64-bit Motorola BookE. 59 60@item -mbooke, mbooke32 61Generate code for 32-bit Motorola BookE. 62 63@item -mcom 64Generate code Power/PowerPC common instructions. 65 66@item -many 67Generate code for any architecture (PWR/PWRX/PPC). 68 69@item -mregnames 70Allow symbolic names for registers. 71 72@item -mno-regnames 73Do not allow symbolic names for registers. 74 75@item -mrelocatable 76Support for GCC's -mrelocatble option. 77 78@item -mrelocatable-lib 79Support for GCC's -mrelocatble-lib option. 80 81@item -memb 82Set PPC_EMB bit in ELF flags. 83 84@item -mlittle, -mlittle-endian 85Generate code for a little endian machine. 86 87@item -mbig, -mbig-endian 88Generate code for a big endian machine. 89 90@item -msolaris 91Generate code for Solaris. 92 93@item -mno-solaris 94Do not generate code for Solaris. 95@end table 96