Download redhat_gnupro_embedd..

Transcript
ABI summary for M32R/X/D targets
š”¦jj#‘«šQr‘šŸ¤™ ™š#‘XH”
The following documentation discusses the Application Binary Interface (ABI) for the
M32R/X/D processors.
■
“Data types and alignment for M32R/X/D targets” (below)
■
“Allocation rules for structures and unions for M32R/X/D targets” on page 328
■
“CPU registers for M32R/X/D targets” on page 329
■
“The stack frame for M32R/X/D targets” on page 330
■
“Argument passing for M32R/X/D targets” on page 332
■
“Function return values for M32R/X/D targets” on page 332
■
“Startup code for M32R/X/D targets” on page 333
■
“Producing S-records for M32R/X/D targets” on page 334
##š«|H”š#o?š#fcXojHošQr‘šŸ¤™ ™š#‘XH”
Table 41 shows the data type sizes for M32R/X/D processors.
Table 41: Data type sizes for M32R/X/D processors
Type Size (bytes)
1 byte
2 bytes
4 bytes
4 bytes
8 bytes
4 bytes
8 bytes
pointer 4 bytes
char
short
int
long
long long
float
double
The stack is aligned to a four-byte boundary. One byte is used for characters
(including structure/unions made entirely of chars), two bytes for shorts (including
structure/unions made entirely of shorts), and four-byte alignment for everything
else.
CYGNUS
GNUPro Tools for Embedded Systems ■ 327