[m-dev.] diff: GCC back-end: bug fix for mmake support

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jan 19 02:54:36 AEDT 2001


Estimated hours taken: 0.25

Fix a bug in the Mmake support for `--target asm'.

compiler/modules.m:
	Make sure that the `.s' and `.pic_s' files are marked as
	depending on the appropriate `.int*' files.

Workspace: /home/hg/fjh/gcc-cvs/gcc/mercury
Index: compiler/modules.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/modules.m,v
retrieving revision 1.143
diff -u -d -r1.143 modules.m
--- compiler/modules.m	2001/01/18 12:01:37	1.143
+++ compiler/modules.m	2001/01/18 15:50:04
@@ -1697,6 +1697,8 @@
 		module_name_to_file_name(ModuleName, ".optdate", no,
 					OptDateFileName),
 		module_name_to_file_name(ModuleName, ".c", no, CFileName),
+		module_name_to_file_name(ModuleName, ".s", no, AsmFileName),
+		module_name_to_file_name(ModuleName, ".pic_s", no, PicAsmFileName),
 		module_name_to_file_name(ModuleName, ".$O", no, ObjFileName),
 		module_name_to_file_name(ModuleName, ".rlo", no, RLOFileName),
 		module_name_to_file_name(ModuleName, ".il", no, ILFileName),
@@ -1708,6 +1710,8 @@
 			OptDateFileName, " ",
 			TransOptDateFileName, " ",
 			CFileName, " ",
+			AsmFileName, " ",
+			PicAsmFileName, " ",
 			ErrFileName, " ",
 			PicObjFileName, " ",
 			ObjFileName, " ",

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list