PR 30206
* doc/as.texi (Pseudo Ops): Document that data directives such as .byte and .int are not intended for encoding instructions.
+2023-03-14 Nick Clifton <nickc@redhat.com>
+
+ PR 30206
+ * doc/as.texi (Pseudo Ops): Document that data directives such as
+ .byte and .int are not intended for encoding instructions.
+
2023-02-28 Richard Ball <richard.ball@arm.com>
* testsuite/gas/aarch64/mec-invalid.d: New test.
2023-02-28 Richard Ball <richard.ball@arm.com>
* testsuite/gas/aarch64/mec-invalid.d: New test.
@code{.byte} expects zero or more expressions, separated by commas.
Each expression is assembled into the next byte.
@code{.byte} expects zero or more expressions, separated by commas.
Each expression is assembled into the next byte.
+Note - this directive is not intended for encoding instructions, and it will
+not trigger effects like DWARF line number generation. Instead some targets
+support special directives for encoding arbitrary binary sequences as
+instructions such as @code{.insn} or @code{.inst}.
+
@node CFI directives
@section CFI directives
@subsection @code{.cfi_sections @var{section_list}}
@node CFI directives
@section CFI directives
@subsection @code{.cfi_sections @var{section_list}}
The byte ordering is target dependent, as is the size and format of floating
point values.
The byte ordering is target dependent, as is the size and format of floating
point values.
+Note - these directives are not intended for encoding instructions, and they
+will not trigger effects like DWARF line number generation. Instead some
+targets support special directives for encoding arbitrary binary sequences as
+instructions such as @code{.insn} or @code{.inst}.
+
@node Dcb
@section @code{.dcb[@var{size}] @var{number} [,@var{fill}]}
@cindex @code{dcb} directive
@node Dcb
@section @code{.dcb[@var{size}] @var{number} [,@var{fill}]}
@cindex @code{dcb} directive
The byte ordering is target dependent.
The byte ordering is target dependent.
@ifset COFF
@node Def
@section @code{.def @var{name}}
@ifset COFF
@node Def
@section @code{.def @var{name}}
+Note - this directive is not intended for encoding instructions, and it will
+not trigger effects like DWARF line number generation. Instead some targets
+support special directives for encoding arbitrary binary sequences as
+instructions such as eg @code{.insn} or @code{.inst}.
+
@ifset ELF
@node Internal
@section @code{.internal @var{names}}
@ifset ELF
@node Internal
@section @code{.internal @var{names}}
@cindex integer, 16-byte
@end ifset
@cindex integer, 16-byte
@end ifset
+Note - this directive is not intended for encoding instructions, and it will
+not trigger effects like DWARF line number generation. Instead some targets
+support special directives for encoding arbitrary binary sequences as
+instructions such as @code{.insn} or @code{.inst}.
+
@node Reloc
@section @code{.reloc @var{offset}, @var{reloc_name}[, @var{expression}]}
@node Reloc
@section @code{.reloc @var{offset}, @var{reloc_name}[, @var{expression}]}
+Note - this directive is not intended for encoding instructions, and it will
+not trigger effects like DWARF line number generation. Instead some targets
+support special directives for encoding arbitrary binary sequences as
+instructions such as @code{.insn} or @code{.inst}.
+
@node Single
@section @code{.single @var{flonums}}
@node Single
@section @code{.single @var{flonums}}