From: Brian Behlendorf <behlendorf1@llnl.gov>
Subject: [PATCH] gcc init pragmas

Use constructor attribute on non-Solaris platforms.

The #pragma init/fini ->__attribute__((constructor/destructor))
conversions, these should go upstream.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>