RFC: PR 31964: Add .base64 pseudo-op to gas
Nick Clifton
nickc@redhat.com
Wed Jul 10 07:23:02 GMT 2024
Hi Guys,
Attached is a patch to add a ".base64" pseudo-op to the assembler.
The motivation is to allow tools that create assembler source files
(ie compilers) to embed large amounts of binary data without forcing
them to use the .incbin directive. This will be helpful to gcc for
example as it needs to embed lots of LTO data in the object files
that it is creating.
Example of use:
.base64 "aGVsbG8gd29ybGQK", "cGFkZGluZyBoZXJlCg=="
There is no limit on the line length, but all base64 encoded strings
must appear on a single line.
Any comments ?
Cheers
Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: base64.patch
Type: text/x-patch
Size: 16401 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20240710/494f5f24/attachment.bin>
More information about the Binutils
mailing list