@@ -2088,7 +2088,7 @@ frame. LLVM takes advantage of having no TOC to provide space to save the frame
20882088pointer in the PowerPC linkage area of the caller frame. Other details of
20892089PowerPC ABI can be found at `PowerPC ABI
20902090<http://developer.apple.com/documentation/DeveloperTools/Conceptual/LowLevelABI/Articles/32bitPowerPC.html> `_\
2091- . Note: This link describes the 32 bit ABI. The 64 bit ABI is similar except
2091+ . Note: This link describes the 32- bit ABI. The 64- bit ABI is similar except
20922092space for GPRs are 8 bytes wide (not 4) and r13 is reserved for system use.
20932093
20942094Frame Layout
@@ -2137,8 +2137,8 @@ function epilog can also use the link to pop the frame from the stack. The
21372137third entry in the linkage area is used to save the return address from the lr
21382138register. Finally, as mentioned above, the last entry is used to save the
21392139previous frame pointer (r31.) The entries in the linkage area are the size of a
2140- GPR, thus the linkage area is 24 bytes long in 32 bit mode and 48 bytes in 64
2141- bit mode.
2140+ GPR, thus the linkage area is 24 bytes long in 32- bit mode and 48 bytes in
2141+ 64- bit mode.
21422142
2143214332 bit linkage area:
21442144
@@ -2207,21 +2207,21 @@ parameter area must be large enough to store all the parameters for the largest
22072207call sequence made by the caller. The size must also be minimally large enough
22082208to spill registers r3-r10. This allows callees blind to the call signature,
22092209such as thunks and vararg functions, enough space to cache the argument
2210- registers. Therefore, the parameter area is minimally 32 bytes (64 bytes in 64
2211- bit mode.) Also note that since the parameter area is a fixed offset from the
2210+ registers. Therefore, the parameter area is minimally 32 bytes (64 bytes in
2211+ 64- bit mode.) Also note that since the parameter area is a fixed offset from the
22122212top of the frame, that a callee can access its split arguments using fixed
22132213offsets from the stack pointer (or base pointer.)
22142214
22152215Combining the information about the linkage, parameter areas and alignment. A
2216- stack frame is minimally 64 bytes in 32 bit mode and 128 bytes in 64 bit mode.
2216+ stack frame is minimally 64 bytes in 32- bit mode and 128 bytes in 64- bit mode.
22172217
22182218The *dynamic area * starts out as size zero. If a function uses dynamic alloca
22192219then space is added to the stack, the linkage and parameter areas are shifted to
22202220top of stack, and the new space is available immediately below the linkage and
22212221parameter areas. The cost of shifting the linkage and parameter areas is minor
22222222since only the link value needs to be copied. The link value can be easily
22232223fetched by adding the original frame size to the base pointer. Note that
2224- allocations in the dynamic space need to observe 16 byte alignment.
2224+ allocations in the dynamic space need to observe 16- byte alignment.
22252225
22262226The *locals area * is where the llvm compiler reserves space for local variables.
22272227
@@ -2343,7 +2343,7 @@ When BPF_CLASS(code) == BPF_ALU or BPF_ALU64 or BPF_JMP,
23432343::
23442344
23452345 BPF_X 0x1 use src_reg register as source operand
2346- BPF_K 0x0 use 32 bit immediate as source operand
2346+ BPF_K 0x0 use 32- bit immediate as source operand
23472347
23482348and four MSB bits store operation code
23492349
0 commit comments