Support for init_priority in ARM EABI configurations
Mark Mitchell
mark@codesourcery.com
Wed Oct 12 06:26:00 GMT 2005
Paul, Richard --
The csl-arm-branch (and, probably, mainline) claim not to support the
init_priority attribute for AAPCS targets. (I can't remember who did
that; quite possibly me!)
One of our customers has suggested that this is a mistake, and I tend to
agree. I think the reason this isn't supported is that it's not
portable, in the sense that EABI-compliant linkers need not support
initialization priorities, and will probably (silently!) fail to run the
prioritized code. However, on a fully-GNU system, it seems like a
needless restriction. Therefore, I think we should allow the use of the
attribute. Thoughts?
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304
More information about the Gcc
mailing list