source: clfs-embedded/BOOK/cross-tools/arm/abi.xml @ babc55d

Last change on this file since babc55d was babc55d, checked in by Andrew Bradford <andrew@…>, 11 years ago

arm/abi: Reduce table to 2 columns

Columns 1 and 2 were the same and thus duplicate information that is not
needed and may even confuse. Remove column 2.

  • Property mode set to 100644
File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4  <!ENTITY % general-entities SYSTEM "../../general.ent">
5  %general-entities;
6]>
7
8<sect1 id="ch-system-abi">
9  <?dbhtml filename="abi.html"?>
10
11  <title>ABI Variables</title>
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 but these are generally not recommended for most uses.</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.  aapcs-linux is recommended over
22  aapcs.</para>
23
24  <para os="c">The OABI (old ABI) is called apcs-gnu and supports ARMv4 and
25  older cores.  Generally the OABI is not used by modern ARM processors.</para>
26
27  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
28  href="../common/abi.xml"
29  xpointer="xpointer(//*[@os='a'])"/>
30
31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
32  href="../common/abi.xml"
33  xpointer="xpointer(//*[@os='b'])"/>
34
35  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
36  href="../common/abi.xml"
37  xpointer="xpointer(//*[@os='c'])"/>
38
39  <table>
40    <title>List of Build Variables</title>
41    <?dbfo table-width="3in" ?>
42
43    <tgroup cols="2">
44
45      <colspec colnum="1" colwidth="1.5in" colname="ABI"/>
46      <colspec colnum="2" colwidth="2in" colname="Note"/>
47
48      <thead>
49        <row>
50          <entry>ABI</entry>
51          <entry>Note</entry>
52        </row>
53      </thead>
54
55      <tbody>
56        <row>
57          <entry>aapcs-linux</entry>
58          <entry>Recommended for EABI. Standard Linux 32 bit (int) enums</entry>
59        </row>
60        <row>
61          <entry>apcs-gnu</entry>
62          <entry>Recommended for OABI</entry>
63        </row>
64        <row>
65          <entry>atpcs</entry>
66          <entry>Thumb ABI</entry>
67        </row>
68        <row>
69          <entry>aapcs</entry>
70          <entry>EABI w/ variable size enums</entry>
71        </row>
72        <row>
73          <entry>iwmmxt</entry>
74          <entry>Supports Intel XScale MMX extensions</entry>
75        </row>
76      </tbody>
77
78    </tgroup>
79
80  </table>
81
82</sect1>
83
Note: See TracBrowser for help on using the repository browser.