public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Active patch for c23 #embed feature?
@ 2023-01-16  8:55 Wilhelm Meier
  2023-01-16 10:18 ` Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: Wilhelm Meier @ 2023-01-16  8:55 UTC (permalink / raw)
  To: gcc-help

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

Thanks,
  Wilhelm

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Active patch for c23 #embed feature?
  2023-01-16  8:55 Active patch for c23 #embed feature? Wilhelm Meier
@ 2023-01-16 10:18 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2023-01-16 10:18 UTC (permalink / raw)
  To: Wilhelm Meier; +Cc: gcc-help

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-16 10:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-16  8:55 Active patch for c23 #embed feature? Wilhelm Meier
2023-01-16 10:18 ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).