Active patch for c23 #embed feature?

Segher Boessenkool segher@kernel.crashing.org
Mon Jan 16 10:18:33 GMT 2023


Hi!

On Mon, Jan 16, 2023 at 09:55:42AM +0100, Wilhelm Meier wrote:
> The C23 feature #embed was accepted. Does anybody know of a patch 
> implemeting this in gcc?
> 
> https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1967r9.html

Why not just use .incbin (the GNU as directive, not the similarly named
tool mentioned in that paper)?  This exists since binutils 2.12 (2002).

(If you use that assembler of course.)


Segher


More information about the Gcc-help mailing list