Gcc/10.2.0/gcc/Solaris-Pragmas
Next: Symbol-Renaming Pragmas, Previous: Darwin Pragmas, Up: Pragmas [Contents][Index]
6.62.9 Solaris Pragmas
The Solaris target supports #pragma redefine_extname
(see Symbol-Renaming Pragmas). It also supports additional
#pragma
directives for compatibility with the system compiler.
align alignment (variable [, variable]...)
Increase the minimum alignment of each
variable
toalignment
. This is the same as GCC’saligned
attribute see Variable Attributes). Macro expansion occurs on the arguments to this pragma when compiling C and Objective-C. It does not currently occur when compiling C++, but this is a bug which may be fixed in a future release.fini (function [, function]...)
This pragma causes each listed
function
to be called after main, or during shared module unloading, by adding a call to the.fini
section.init (function [, function]...)
This pragma causes each listed
function
to be called during initialization (beforemain
) or during shared module loading, by adding a call to the.init
section.