public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5703] d: Prefix object files from the root package with 'root-'
@ 2021-12-02  0:47 Iain Buclaw
  0 siblings, 0 replies; only message in thread
From: Iain Buclaw @ 2021-12-02  0:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:12421a364548323df7126c6e3e2d0f82ad8fe53a

commit r12-5703-g12421a364548323df7126c6e3e2d0f82ad8fe53a
Author: Iain Buclaw <ibuclaw@gdcproject.org>
Date:   Wed Dec 1 23:50:01 2021 +0100

    d: Prefix object files from the root package with 'root-'
    
    None of the front-end module names in either the dmd or root package
    collide just yet, but that does not mean they won't in the future.
    
    gcc/d/ChangeLog:
    
            * Make-lang.in (D_FRONTEND_OBJS): Prefix object files from the root
            package with root-.
            (d/root-%.o): New recipe.

Diff:
---
 gcc/d/Make-lang.in | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in
index 4c0a0321eba..4ce11e3cada 100644
--- a/gcc/d/Make-lang.in
+++ b/gcc/d/Make-lang.in
@@ -74,19 +74,16 @@ endif
 
 # D Frontend object files.
 D_FRONTEND_OBJS = \
-	d/aav.o \
 	d/access.o \
 	d/aggregate.o \
 	d/aliasthis.o \
 	d/apply.o \
-	d/array.o \
 	d/arrayop.o \
 	d/arraytypes.o \
 	d/attrib.o \
 	d/ast_node.o \
 	d/astcodegen.o \
 	d/astenums.o \
-	d/bitarray.o \
 	d/blockexit.o \
 	d/builtin.o \
 	d/canthrow.o \
@@ -99,7 +96,6 @@ D_FRONTEND_OBJS = \
 	d/cparse.o \
 	d/cppmangle.o \
 	d/ctfeexpr.o \
-	d/ctfloat.o \
 	d/ctorflow.o \
 	d/dcast.o \
 	d/dclass.o \
@@ -124,13 +120,10 @@ D_FRONTEND_OBJS = \
 	d/escape.o \
 	d/expression.o \
 	d/expressionsem.o \
-	d/file.o \
-	d/filename.o \
 	d/foreachvar.o \
 	d/func.o \
 	d/globals.o \
 	d/gluelayer.o \
-	d/hash.o \
 	d/hdrgen.o \
 	d/iasm.o \
 	d/iasmgcc.o \
@@ -145,7 +138,6 @@ D_FRONTEND_OBJS = \
 	d/json.o \
 	d/lambdacomp.o \
 	d/lexer.o \
-	d/longdouble.o \
 	d/mtype.o \
 	d/nogc.o \
 	d/nspace.o \
@@ -153,29 +145,37 @@ D_FRONTEND_OBJS = \
 	d/objc.o \
 	d/opover.o \
 	d/optimize.o \
-	d/outbuffer.o \
 	d/parse.o \
 	d/parsetimevisitor.o \
 	d/permissivevisitor.o \
-	d/port.o \
 	d/printast.o \
-	d/region.o \
-	d/rmem.o \
-	d/rootobject.o \
+	d/root-aav.o \
+	d/root-array.o \
+	d/root-bitarray.o \
+	d/root-ctfloat.o \
+	d/root-file.o \
+	d/root-filename.o \
+	d/root-hash.o \
+	d/root-longdouble.o \
+	d/root-outbuffer.o \
+	d/root-port.o \
+	d/root-region.o \
+	d/root-rmem.o \
+	d/root-rootobject.o \
+	d/root-speller.o \
+	d/root-string.o \
+	d/root-stringtable.o \
 	d/safe.o \
 	d/sapply.o \
 	d/semantic2.o \
 	d/semantic3.o \
 	d/sideeffect.o \
-	d/speller.o \
 	d/statement.o \
 	d/statement_rewrite_walker.o \
 	d/statementsem.o \
 	d/staticassert.o \
 	d/staticcond.o \
 	d/stmtstate.o \
-	d/string.o \
-	d/stringtable.o \
 	d/target.o \
 	d/templateparamsem.o \
 	d/tokens.o \
@@ -393,6 +393,6 @@ d/%.o: d/dmd/%.d
 	$(DCOMPILE) $(D_INCLUDES) $<
 	$(DPOSTCOMPILE)
 
-d/%.o: d/dmd/root/%.d
+d/root-%.o: d/dmd/root/%.d
 	$(DCOMPILE) $(D_INCLUDES) $<
 	$(DPOSTCOMPILE)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-02  0:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-02  0:47 [gcc r12-5703] d: Prefix object files from the root package with 'root-' Iain Buclaw

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).