Linux Operating System Call Interface - Intel NIOS II Owner Reference Manual

Table of Contents

Advertisement

7. Application Binary Interface
NII-PRG | 2018.04.18
PIC code which needs a GOT pointer needs to initialize the pointer locally using
; the GOT pointer is not passed during function calls. This approach is
nextpc
compatible with both static relocatable binaries and System V style shared objects. A
separate ABI is needed for shared objects with independently relocatable text and
data.
Stack alignment is 32-bit. The frame pointer points at the top of the stack when it is in
use, to simplify backtracing. Insert
outgoing arguments. The stack pointer points to the bottom of the outgoing argument
area.
A large
struct
register (not the disjoint return value register).

7.9.3. Linux Operating System Call Interface

Table 88.
Signals for Unhandled Instruction-Related Exceptions
Supervisor-only instruction address
TLB permission violation (execute)
Supervisor-only instruction
Unimplemented instruction
Illegal instruction
Break instruction
Supervisor-only data address
Misaligned data address
Misaligned destination address
Division error
TLB Permission Violation (read)
TLB Permission Violation (write)
There are no floating-point exceptions. The optional floating point unit (FPU) does not
support exceptions and any process wanting exact IEEE conformance needs to use a
soft-float library (possibly accelerated by use of the attached FPU).
The
break
process, but is not required to. Userspace programs should not use the
instruction and userspace debuggers should not insert one. If no hardware debugger
is connected, the OS should assure that the
system to stop responding.
For information about userspace debugging, refer to "Userspace Breakpoints".
The page size is 4 KB. Virtual addresses in user mode are all below 2 GB due to the
MMU design. The NULL page is not mapped.
Related Information
Userspace Breakpoints
return value is handled by passing a pointer in the first argument
Exception
instruction in a user process might generate a
on page 167
between the local variables and the
alloca
SIGSEGV
SIGSEGV
SIGILL
SIGILL
SIGILL
SIGTRAP
SIGSEGV
SIGBUS
SIGBUS
SIGFPE
SIGSEGV
SIGSEGV
instruction does not cause the
break
Signal
signal for that
SIGTRAP
break
Nios II Processor Reference Guide
161

Advertisement

Table of Contents
loading

Table of Contents