https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108849

--- Comment #2 from Pali Rohár <pali at kernel dot org> ---
`section` is the best option. MS says about it:

https://learn.microsoft.com/en-us/cpp/cpp/code-seg-declspec

> The code_seg declaration attribute names an executable text segment in the 
> .obj file in which the object code for the function or class member functions 
> is stored.

> A segment is a named block of data in an .obj file that is loaded into memory 
> as a unit. A text segment is a segment that contains executable code. The 
> term section is often used interchangeably with segment.

> By default, when no code_seg is specified, object code is put in a segment 
> named .text.

Reply via email to