public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/committed 1/4] sim: ppc: sync WITH_TARGET_{ADDRESS,CELL}_BITSIZE with common/
@ 2024-01-03  7:19 Mike Frysinger
  2024-01-03  7:19 ` [PATCH/committed 2/4] sim: ppc: rename local ALU SIGNED64 macros Mike Frysinger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mike Frysinger @ 2024-01-03  7:19 UTC (permalink / raw)
  To: gdb-patches

This will make it easier to share common/ code that rely on these
additional defines.
---
 sim/ppc/std-config.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h
index d317826ba1d4..de68cf261816 100644
--- a/sim/ppc/std-config.h
+++ b/sim/ppc/std-config.h
@@ -90,6 +90,14 @@ extern enum bfd_endian current_target_byte_order;
 #define WITH_TARGET_WORD_BITSIZE        32 /* compiled only */
 #endif
 
+#ifndef WITH_TARGET_ADDRESS_BITSIZE
+#define WITH_TARGET_ADDRESS_BITSIZE	WITH_TARGET_WORD_BITSIZE
+#endif
+
+#ifndef WITH_TARGET_CELL_BITSIZE
+#define WITH_TARGET_CELL_BITSIZE	WITH_TARGET_WORD_BITSIZE
+#endif
+
 
 /* Program environment:
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-03  7:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-03  7:19 [PATCH/committed 1/4] sim: ppc: sync WITH_TARGET_{ADDRESS,CELL}_BITSIZE with common/ Mike Frysinger
2024-01-03  7:19 ` [PATCH/committed 2/4] sim: ppc: rename local ALU SIGNED64 macros Mike Frysinger
2024-01-03  7:19 ` [PATCH/committed 3/4] sim: common: include sim-types.h in the endian header directly Mike Frysinger
2024-01-03  7:19 ` [PATCH/committed 4/4] sim: ppc: switch to common endian code Mike Frysinger

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