Changeset e67fb9b in clfs-embedded for BOOK/cross-tools/arm
- Timestamp:
- Feb 10, 2011, 3:44:59 PM (14 years ago)
- Branches:
- master
- Children:
- 7003296
- Parents:
- a9cb92d (diff), 49c9bc5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- BOOK/cross-tools/arm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/cross-tools/arm/abi.xml
ra9cb92d re67fb9b 11 11 <title>ABI Variables</title> 12 12 13 <para os="a">On the ARM architecture, there are two major ABI types to choose 14 from: EABI and OABI. There is also a Thumb ABI and an Intel IWMMX specific 15 ABI.</para> 16 17 <para os="b">The EABI (Embedded ABI) is newer and supports additional 18 features, faster software floating point operations, and Thumb interworking, 19 but is only compatible with ARMv4t and newer cores. The EABI has 20 sub-ABIs of: aapcs-linux and aapcs. aapcs-linux has standard Linux 4 byte 21 enums while aapcs has variable length enums.</para> 22 23 <para os="c">The OABI (old ABI) is called apcs-gnu and supports ARMv4 and 24 older cores.</para> 25 13 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 14 href="../ x86/abi.xml"27 href="../common/abi.xml" 15 28 xpointer="xpointer(//*[@os='a'])"/> 16 29 17 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 18 href="../ x86/abi.xml"31 href="../common/abi.xml" 19 32 xpointer="xpointer(//*[@os='b'])"/> 20 33 21 34 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 22 href="../ x86/abi.xml"35 href="../common/abi.xml" 23 36 xpointer="xpointer(//*[@os='c'])"/> 24 37 … … 36 49 <row> 37 50 <entry>ABI</entry> 38 <entry> BUILD=Value</entry>51 <entry>CLFS_ABI=Value</entry> 39 52 <entry>Note</entry> 40 53 </row> … … 44 57 <row> 45 58 <entry>apcs-gnu</entry> 46 <entry> -mabi=apcs-gnu</entry>59 <entry>apcs-gnu</entry> 47 60 <entry>Legacy ABI, arm4 and older</entry> 48 61 </row> 49 62 <row> 50 63 <entry>atpcs</entry> 51 <entry> -mabi=atpcs</entry>64 <entry>atpcs</entry> 52 65 <entry>Thumb ABI</entry> 53 66 </row> 54 67 <row> 55 68 <entry>aapcs</entry> 56 <entry> -mabi=aapcs</entry>69 <entry>aapcs</entry> 57 70 <entry>EABI w/ variable size enums</entry> 58 71 </row> 59 72 <row> 60 73 <entry>aapcs-linux</entry> 61 <entry> -mabi=aapcs-linux</entry>74 <entry>aapcs-linux</entry> 62 75 <entry>EABI w/ standard Linux 32 bit (int) enums</entry> 63 76 </row> 64 77 <row> 65 78 <entry>iwmmxt</entry> 66 <entry> -mabi=iwmmxt</entry>79 <entry>iwmmxt</entry> 67 80 <entry>Supports Intel XScale MMX extensions</entry> 68 81 </row> -
BOOK/cross-tools/arm/variables.xml
ra9cb92d re67fb9b 13 13 <bridgehead renderas="sect4">Setting Host and Target</bridgehead> 14 14 15 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 16 href="../x86/variables.xml" 17 xpointer="xpointer(//*[@os='a'])"/> 15 <para os="a">During the building of the cross-compile tools you will need to 16 set a few variables that will be dependent on your particular needs. 17 You will need to set the target triplet for the target architecture and CPU 18 endianess. If you do not know what triplet or endianess you want, 19 you can use the table at the bottom of this page as a reference. Set 20 the command using the method listed below:</para> 18 21 19 22 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 20 href="../ x86/variables.xml"23 href="../common/variables.xml" 21 24 xpointer="xpointer(//*[@os='b'])"/> 22 25 23 26 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 24 href="../ x86/variables.xml"27 href="../common/variables.xml" 25 28 xpointer="xpointer(//*[@os='c'])"/> 26 29 … … 29 32 30 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 31 href="../ x86/variables.xml"34 href="../common/variables.xml" 32 35 xpointer="xpointer(//*[@os='g'])"/> 33 36 34 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 35 href="../ x86/variables.xml"38 href="../common/variables.xml" 36 39 xpointer="xpointer(//*[@os='h'])"/> 37 40 38 41 <table os="i"> 39 <title>Processor Type and Target Triplets</title>40 <?dbfo table-width=" 5in" ?>42 <title>Processor Type, ABI, and Target Triplets</title> 43 <?dbfo table-width="7in" ?> 41 44 42 45 <tgroup cols="2"> 43 46 44 47 <colspec colnum="1" colwidth="2.5in" colname="Processor"/> 45 <colspec colnum="2" colwidth="2.5in" colname="Triplet"/> 48 <colspec colnum="2" colwidth="1in" colname="Endian"/> 49 <colspec colnum="3" colwidth="1in" colname="ABI"/> 50 <colspec colnum="4" colwidth="2.5in" colname="Triplet"/> 46 51 47 52 <thead> 48 53 <row> 49 54 <entry>Processor</entry> 50 <entry>Endianess</entry> 55 <entry>Endian</entry> 56 <entry>ABI</entry> 51 57 <entry>Target Triplet</entry> 52 58 </row> … … 57 63 <entry>Generic arm</entry> 58 64 <entry>little</entry> 65 <entry>OABI</entry> 59 66 <entry>arm-unknown-linux-uclibc</entry> 67 </row> 68 <row> 69 <entry>Generic arm, version 4</entry> 70 <entry>little</entry> 71 <entry>OABI</entry> 72 <entry>armv4-unknown-linux-uclibc</entry> 60 73 </row> 61 74 <row> 62 75 <entry>Generic arm, version 5</entry> 63 76 <entry>little</entry> 64 <entry>armv5l-unknown-linux-uclibc</entry> 77 <entry>EABI</entry> 78 <entry>armv5l-unknown-linux-uclibcgnueabi</entry> 65 79 </row> 66 80 <row> 67 81 <entry>Generic arm, version 5</entry> 68 82 <entry>big</entry> 69 <entry>armv5b-unknown-linux-uclibc</entry> 83 <entry>EABI</entry> 84 <entry>armv5b-unknown-linux-uclibcgnueabi</entry> 85 </row> 86 <row> 87 <entry>Generic arm</entry> 88 <entry>little</entry> 89 <entry>EABI</entry> 90 <entry>arm-unknown-linux-uclibcgnueabi</entry> 91 </row> 92 <row> 93 <entry>Generic arm, version 7-a </entry> 94 <entry>little</entry> 95 <entry>EABI</entry> 96 <entry>armv7a-unknown-linux-uclibcgnueabi</entry> 70 97 </row> 71 98 </tbody>
Note:
See TracChangeset
for help on using the changeset viewer.