public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-5328] Bugfix ensure RTentity is a dependent of RTco.cc
@ 2023-01-24 17:33 Gaius Mulley
0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2023-01-24 17:33 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b061fc94d70dc82f554eeb94434cf03cd5af03f7
commit r13-5328-gb061fc94d70dc82f554eeb94434cf03cd5af03f7
Author: Gaius Mulley <gaiusmod2@gmail.com>
Date: Tue Jan 24 17:33:18 2023 +0000
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>
Diff:
---
gcc/m2/gm2-libs-iso/RTco.def | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gcc/m2/gm2-libs-iso/RTco.def b/gcc/m2/gm2-libs-iso/RTco.def
index 33452bac990..5285a7deb10 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. *)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-01-24 17:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-24 17:33 [gcc r13-5328] Bugfix ensure RTentity is a dependent of RTco.cc Gaius Mulley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).