Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: matthew green <mrg@cygnus.com>
To: Andrew Cagney <ac131313@cygnus.com>
Cc: gdb-patches@sources.redhat.com
Subject: re: [PATCH] include sim/common/sim-fpu.c in PSIM.
Date: Wed, 12 Dec 2001 22:15:00 -0000	[thread overview]
Message-ID: <29942.1008224054@cygnus.com> (raw)
In-Reply-To: your message of "Tue, 11 Dec 2001 15:31:42 -0800." <3C16975E.3040902@cygnus.com>



   One concern is with the Makefile.in change.  From memory your ment to
   use $(srcdir)/../..... and $< isn't a good idea either - check Ben
   Harris's recent changes to gdb's Makefile.in.


OK, thanks.  here's the Makefile.in patch again.  not sure but i think
i copied these from somewhere else originally...

commit OK?



	* Makefile.in (LIB_OBJ): Add @sim_fpu@.
	(ICACHE_CFLAGS, SEMANTICS_CFLAGS): New variables.
	(icache.o, semantics.o): Add new ICACHE_FLAGS & SEMANTICS_FLAGS.
	(sim-fpu.o, sim-bits.o, tconfig.h): New targets.



Index: sim/ppc/Makefile.in
===================================================================
RCS file: /cvs/src/src/sim/ppc/Makefile.in,v
retrieving revision 1.2
diff -p -r1.2 Makefile.in
*** Makefile.in	2001/07/16 18:36:37	1.2
--- Makefile.in	2001/12/13 01:15:47
*************** LIB_OBJ = \
*** 306,311 ****
--- 306,312 ----
  	semantics.o \
  	idecode.o \
  	support.o \
+ 	@sim_fpu@ \
  	psim.o \
  	$(PACKAGE_OBJ) \
  	$(HW_OBJ) \
*************** LIB_OBJ = \
*** 314,319 ****
--- 315,323 ----
  
  GDB_OBJ = sim_calls.o @sim_callback@
  
+ ICACHE_CFLAGS = @sim_fpu_cflags@
+ SEMANTICS_CFLAGS = @sim_fpu_cflags@
+ 
  HW_SRC = @sim_hw_src@
  HW_OBJ = @sim_hw_obj@
  
*************** device_table.o: device_table.c $(DEVICE_
*** 386,395 ****
  cap.o: cap.c cap.h $(BASICS_H)
  
  semantics.o: semantics.c semantics.h $(CPU_H) $(IDECODE_H)
! 	$(CC) -c $(NOWARN_CFLAGS) $<
  
  icache.o: icache.c icache.h $(IDECODE_H) $(CPU_H)
! 	$(CC) -c $(NOWARN_CFLAGS) $<
  
  support.o: support.c support.h $(IDECODE_H) $(CPU_H)
  
--- 390,399 ----
  cap.o: cap.c cap.h $(BASICS_H)
  
  semantics.o: semantics.c semantics.h $(CPU_H) $(IDECODE_H)
! 	$(CC) -c $(SEMANTICS_CFLAGS) $(NOWARN_CFLAGS) $<
  
  icache.o: icache.c icache.h $(IDECODE_H) $(CPU_H)
! 	$(CC) -c $(ICACHE_CFLAGS) $(NOWARN_CFLAGS) $<
  
  support.o: support.c support.h $(IDECODE_H) $(CPU_H)
  
*************** callback.o: ../common/callback.c targ-va
*** 421,426 ****
--- 425,440 ----
  	$(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $<
  
  targ-map.o: targ-map.c targ-vals.h
+ 
+ sim-fpu.o: $(srcdir)/../common/sim-fpu.c config.h tconfig.h
+ 	$(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $(srcdir)/../common/sim-fpu.c 
+ 
+ sim-bits.o: $(srcdir)/../common/sim-bits.c config.h tconfig.h
+ 	$(CC) -c $(STD_CFLAGS) -DHAVE_CONFIG_H $(srcdir)/../common/sim-bits.c 
+ 
+ tconfig.h:
+ 	rm -f tconfig.h
+ 	echo > tconfig.h
  
  # Rebuild options whenever something changes so the date/time is up to date.
  options.o: options.c $(BASICS_H) $(CPU_H) $(IDECODE_H) $(INLINE) $(LIB_SRC) $(BUILT_SRC) config.status Makefile defines.h


  reply	other threads:[~2001-12-13  6:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-10  0:20 matthew green
2001-12-11 16:02 ` Andrew Cagney
2001-12-12 22:15   ` matthew green [this message]
2001-12-13 10:53     ` Andrew Cagney
2001-12-13 17:04       ` matthew green

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29942.1008224054@cygnus.com \
    --to=mrg@cygnus.com \
    --cc=ac131313@cygnus.com \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox