]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: ppc: sync WITH_TARGET_{ADDRESS,CELL}_BITSIZE with common/
authorMike Frysinger <vapier@gentoo.org>
Wed, 3 Jan 2024 07:10:52 +0000 (02:10 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 3 Jan 2024 07:10:52 +0000 (02:10 -0500)
This will make it easier to share common/ code that rely on these
additional defines.

sim/ppc/std-config.h

index d317826ba1d4369b070219e90a5139cc443822de..de68cf261816e04c9edeb022211ea7041074faae 100644 (file)
@@ -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: