[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/31964] Add directive for more efficient encoding of binary data
From: |
jakub at redhat dot com |
Subject: |
[Bug gas/31964] Add directive for more efficient encoding of binary data |
Date: |
Tue, 09 Jul 2024 10:13:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=31964
--- Comment #3 from Jakub Jelinek <jakub at redhat dot com> ---
(In reply to Nick Clifton from comment #2)
> Hi Jakub,
>
> Does libiberty (or some other library) have a base64 decoding function ?
I don't think so.
> If not, I guess I will have to steal^H^H^H^H borrow some code from some
> other project.
I simply wrote my own, see
https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655156.html
(the base64_dec_fn helper function, base64_dec array and most of
finish_base64_embed). Uses C++ for the base64_dec array initialization, of
course it could be initialized on demand at runtime, just wanted to make it
more efficient.
Now, I don't really remember if gas does any kind of character set translation
or not, or whether say 'A' in .ascii/.string etc. routines is expected to be
'A' in gas source and is what is being written to the sections.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/31964] New: Add directive for more efficient encoding of binary data, jakub at redhat dot com, 2024/07/08
- [Bug gas/31964] Add directive for more efficient encoding of binary data, jakub at redhat dot com, 2024/07/08
- [Bug gas/31964] Add directive for more efficient encoding of binary data, jakub at redhat dot com, 2024/07/08
- [Bug gas/31964] Add directive for more efficient encoding of binary data, nickc at redhat dot com, 2024/07/09
- [Bug gas/31964] Add directive for more efficient encoding of binary data,
jakub at redhat dot com <=
- [Bug gas/31964] Add directive for more efficient encoding of binary data, nickc at redhat dot com, 2024/07/09
- [Bug gas/31964] Add directive for more efficient encoding of binary data, jakub at redhat dot com, 2024/07/09
- [Bug gas/31964] Add directive for more efficient encoding of binary data, nickc at redhat dot com, 2024/07/10
- [Bug gas/31964] Add directive for more efficient encoding of binary data, jakub at redhat dot com, 2024/07/10
- [Bug gas/31964] Add directive for more efficient encoding of binary data, cvs-commit at gcc dot gnu.org, 2024/07/10
- [Bug gas/31964] Add directive for more efficient encoding of binary data, nickc at redhat dot com, 2024/07/10
- [Bug gas/31964] Add directive for more efficient encoding of binary data, cvs-commit at gcc dot gnu.org, 2024/07/10
- [Bug gas/31964] Add directive for more efficient encoding of binary data, cvs-commit at gcc dot gnu.org, 2024/07/11
- [Bug gas/31964] Add directive for more efficient encoding of binary data, cvs-commit at gcc dot gnu.org, 2024/07/11