diff options
author | Olivier Hainque <hainque@adacore.com> | 2022-03-10 10:53:27 +0000 |
---|---|---|
committer | Olivier Hainque <hainque@adacore.com> | 2022-09-29 15:10:57 +0000 |
commit | cc09a9cf4d4a1ce18184d5e12361c7699e756178 (patch) | |
tree | c786c663681db9af270dbd812b7ecee4958bfd1b | |
parent | 64d6440ee7626f5082f24d4652086c90da34be38 (diff) | |
download | gcc-cc09a9cf4d4a1ce18184d5e12361c7699e756178.zip gcc-cc09a9cf4d4a1ce18184d5e12361c7699e756178.tar.gz gcc-cc09a9cf4d4a1ce18184d5e12361c7699e756178.tar.bz2 |
Comment about HAVE_INITFINI_ARRAY_SUPPORT in vxworks.h
Explain that we rely on compiler .c files
to include auto-host.h before target configuration headers.
2022-09-29 Olivier Hainque <hainque@adacore.com>
gcc/
* config/vxworks.h: Add comment on our use of
HAVE_INITFINI_ARRAY_SUPPORT.
-rw-r--r-- | gcc/config/vxworks.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h index 6a5f2f8..6a88fb2 100644 --- a/gcc/config/vxworks.h +++ b/gcc/config/vxworks.h @@ -19,6 +19,11 @@ You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>. */ +/* ??? We use HAVE_INITFINI_ARRAY_SUPPORT in preprocessor guards in this + header, which is conveyed by auto-host.h despite being a target property. + #include auto-host.h here would trigger lots of conflicts so we rely on + compiler .c files doing this before target configuration headers. */ + /* Assert that we are targeting VxWorks. */ #undef TARGET_VXWORKS #define TARGET_VXWORKS 1 |