oracle汇编03

.long expression1, expression2, ..., expressionN
The .long directive generates a long integer (32-bit, two's complement value) for each
expression into the current section. Each expression must be a 32–bit value and must evaluate
to an integer value. The .long directive is not valid for the .bss section.

.popsection
The .popsection directive pops the top of the section stack and continues processing of the
popped section

.previous
The .previous directive continues processing of the previous section.


.pushsection section
The .pushsection directive pushes the specifed section onto the section stack and switches
to another section.

.quad expression1, expression2, ..., expressionN
The .quad directive generates an initialized word (64-bit, two's complement value) for each
expression into the current section. Each expression must be a 64-bit value, and must evaluate
to an integer value. The .quad directive is not valid for the .bss section.

.rel symbol@ type
The .rel directive generates the specifed relocation entry type for the specifed symbol. The
.lit directive supports TLS (thread-local storage)

.section section, attributes
The .section directive makes section the current section. If section does not exist, a new
section with the specifed name and attributes is created. If section is a non-reserved section,
attributes must be included the frst time section is specifed by the .section directive.

.set symbol, expression
The .set directive assigns the value of expression to symbol. Expression can be any legal
expression that evaluates to a numerical value.

.skip integer, value
While generating values for any data section, the .skip directive causes integer bytes to be
skipped over, or, optionally, flled with the specifed value.

.sleb128 expression
The .sleb128 directive generates a signed, little-endian, base 128 number from expression.

.string "string"
The .string directive places the characters in string into the object module at the current
location and terminates the string with a null byte (\0). String must be enclosed in double
quotes (") (ASCII 0x22). The .string directive is not valid for the .bss section.

.symbolic symbol1, symbol2, ..., symbolN
The .symbolic directive declares each symbol in the list to havesymbolic linker scoping. All
references to symbol within a dynamic module bind to the defnition within that module.
Outside of the module, symbol is treated as global.

.tbss
The .tbss directive changes the current section to .tbss. The .tbss section contains
uninitialized TLS data objects that will be initialized to zero by the runtime linker.

.tcomm
The .tcomm directive defnes a TLS common block.

tdata
The .tdata directive changes the current section to .tdata. The .tdata section contains the
initialization image for initialized TLS data objects.

.text
The .text directive defnes the current section as .text.

.uleb128 expression
The .uleb128 directive generates an unsigned, little-endian, base 128 number from
expression.

.value expression1, expression2, ..., expressionN
The .value directive generates an initialized word (16-bit, two's complement value) for each
expression into the current section. Each expression must be a 16-bit integer value. The
.value directive is not valid for the .bss section.

.weak symbol1, symbol2, ..., symbolN
The .weak directive declares each symbol in the argument list to be defned either externally
or in the input fle and accessible to other fles. Default bindings of the symbol are overridden
by the .weak directive. A weak symbol defnition in one fle satisfes an undefned reference
to a global symbol of the same name in another fle. Unresolved weak symbols have a default
value of zero. The link editor does not resolve these symbols. If a weak symbol has the same
name as a defned global symbol, the weak symbol is ignored and no error results. The .weak
directive does not defne the symbol

.zero expression
While flling a data section, the .zero directive flls the number of bytes specifed by
expression with zero (0).

猜你喜欢

转载自www.cnblogs.com/xpylovely/p/10939437.html