]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/netbsd-d.cc
d: Include tm.h in all D target platform sources, remove memmodel.h
authorIain Buclaw <ibuclaw@gdcproject.org>
Thu, 8 Sep 2022 10:29:32 +0000 (12:29 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Thu, 8 Sep 2022 10:44:52 +0000 (12:44 +0200)
commita7852bd30a19d29ff7986869453786d460d17877
treead6f454d79856b40ab2b676b77d9a12f375b9c49
parentc3fb6658c7670e446f2fd00984404d971e416b3c
d: Include tm.h in all D target platform sources, remove memmodel.h

The tm.h header would pull in config/elfos.h, which defines
TARGET_D_MINFO_SECTION needed for the D module support in the front-end
to emit data to the correct section for the run-time library to pick up.

The removal of it in r13-2385 caused a stage2 bootstrap failure on all
Solaris targets.

The memmodel header has also been removed as it is no longer required
now tm_p.h is no longer used by these sources.

gcc/ChangeLog:

* config/darwin-d.cc: Include tm.h.
* config/dragonfly-d.cc: Likewise.
* config/freebsd-d.cc: Remove memmodel.h.
* config/glibc-d.cc: Likewise.
* config/netbsd-d.cc: Include tm.h.
* config/openbsd-d.cc: Likewise.
* config/sol2-d.cc: Likewise.
gcc/config/darwin-d.cc
gcc/config/dragonfly-d.cc
gcc/config/freebsd-d.cc
gcc/config/glibc-d.cc
gcc/config/netbsd-d.cc
gcc/config/openbsd-d.cc
gcc/config/sol2-d.cc