mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
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>
This commit is contained in:
parent
c109392373
commit
b061fc94d7
@ -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
|
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|
||||||
<http://www.gnu.org/licenses/>. *)
|
<http://www.gnu.org/licenses/>. *)
|
||||||
|
|
||||||
DEFINITION MODULE RTco ;
|
DEFINITION MODULE FOR "C" RTco ;
|
||||||
|
|
||||||
FROM SYSTEM IMPORT ADDRESS ;
|
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. *)
|
(* init initializes the module and allows the application to lazily invoke threads. *)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user