Pragma Section - Intel i960 User Manual

Processor compiler
Hide thumbs Also See for i960:
Table of Contents

Advertisement

7
7-38
i960 Processor Compiler User's Guide

#pragma section

Allows COFF or ELF section naming.
#pragma section [ string ]
string
Discussion
This pragma causes all text, data and bss sections the compiler emits to be
suffixed with
. For COFF the string must be three characters or
string
less in length. For ELF, the string can be any length.
Using
#pragma section
default).
This pragma is not supported for the b.out object format.
#pragma system
Specifies a system function.
#pragma system [ [(] function [= index ] [,...] [)] ]
#pragma nosystem [ [(] function [= index ] [,...] [)] ]
function
index
Discussion
If no function is specified, the pragma applies to all functions defined or
called following the pragma. Use
be called from the system procedure table. The compiler generates a
instruction for the system function call, which the linker replaces
calljx
with the following:
index , g13
lda
calls g13
is alphanumeric characters a-z, A-Z, 0-9.
without
sets the suffix back to null (the
string
specifies the system function.
specifies the index into the system procedure
table.
pragma system
to specify a function to

Advertisement

Table of Contents
loading

Table of Contents