diff options
author | Gaius Mulley <gaiusmod2@gmail.com> | 2023-01-24 17:33:18 +0000 |
---|---|---|
committer | Gaius Mulley <gaiusmod2@gmail.com> | 2023-01-24 17:33:18 +0000 |
commit | b061fc94d70dc82f554eeb94434cf03cd5af03f7 (patch) | |
tree | be0cc77f7e542a48da93600a4d7e962220241d60 /gcc | |
parent | c1093923733a1072a237f112e3239b5ebd88eadd (diff) | |
download | gcc-b061fc94d70dc82f554eeb94434cf03cd5af03f7.zip gcc-b061fc94d70dc82f554eeb94434cf03cd5af03f7.tar.gz gcc-b061fc94d70dc82f554eeb94434cf03cd5af03f7.tar.bz2 |
Bugfix ensure RTentity is a dependent of RTco.cc
RTco is a definition for C module and therefore there is no
RTco.mod. The RTco.cc uses RTentity and the import in RTco.def
ensures that cc1gm2 can build a graph of all dependencies
should -fscaffold-static be used.
gcc/m2/ChangeLog:
* gm2-libs-iso/RTco.def: Import RTentity.
Declare RTco as a definition for C module.
Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/m2/gm2-libs-iso/RTco.def | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/m2/gm2-libs-iso/RTco.def b/gcc/m2/gm2-libs-iso/RTco.def index 33452ba..5285a7d 100644 --- a/gcc/m2/gm2-libs-iso/RTco.def +++ b/gcc/m2/gm2-libs-iso/RTco.def @@ -24,10 +24,12 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. *) -DEFINITION MODULE RTco ; +DEFINITION MODULE FOR "C" RTco ; FROM SYSTEM IMPORT ADDRESS ; +IMPORT RTentity ; (* Imported so the initialization call graph + understands that RTco.cc depends upon RTentity. *) (* init initializes the module and allows the application to lazily invoke threads. *) |