diff options
author | Nick Clifton <nickc@redhat.com> | 2024-07-10 15:01:39 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2024-07-10 15:01:39 +0100 |
commit | 479edf0a6a61159486f14d5e62403f8769cc591d (patch) | |
tree | 13bb1c2eef62121a3796258e52d6ae952467d79c /gas/doc | |
parent | 1ca89940494ae2b60647c8b2ac8fb91035a95b0a (diff) | |
download | gdb-479edf0a6a61159486f14d5e62403f8769cc591d.zip gdb-479edf0a6a61159486f14d5e62403f8769cc591d.tar.gz gdb-479edf0a6a61159486f14d5e62403f8769cc591d.tar.bz2 |
Add support for a .base64 pseudo-op to gas
PR 31964
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/as.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gas/doc/as.texi b/gas/doc/as.texi index 33169a5..02db6cb 100644 --- a/gas/doc/as.texi +++ b/gas/doc/as.texi @@ -4497,6 +4497,7 @@ Some machine configurations provide additional directives. * Asciz:: @code{.asciz "@var{string}"}@dots{} * Attach_to_group:: @code{.attach_to_group @var{name}} * Balign:: @code{.balign [@var{abs-expr}[, @var{abs-expr}]]} +* Base64:: @code{.base64 "@var{string}"[, @dots{}]} @ifset ELF * Bss:: @code{.bss @var{subsection}} @end ifset @@ -4851,6 +4852,19 @@ filled in with the value 0x368d (the exact placement of the bytes depends upon the endianness of the processor). If it skips 1 or 3 bytes, the fill value is undefined. +@node Base64 +@section @code{.base64 "@var{string}"[, @dots{}]} +Allows binary data to be entered into a section encoded as a base64 string. +There is no maximum length to the strings, but they must be a multiple of four +bytes long. If necessary the ends of the strings can be padded with @code{=} +characters. Line breaks, control characters and escaped characters are not +allowed in the strings. The strings must be enclosed between double quote +characters. Multiple strings are allowed, but they must be separated by +commas. + +As an example of how to create a base64 encoded string, see the +@command{base64} program (with its @option{-w0} option to disable line breaks. + @ifset ELF @node Bss @section @code{.bss @var{subsection}} |