From: Mike Frysinger Date: Wed, 3 Jan 2024 07:10:52 +0000 (-0500) Subject: sim: ppc: sync WITH_TARGET_{ADDRESS,CELL}_BITSIZE with common/ X-Git-Tag: binutils-2_42~271 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=34cacf7d970c6e2506e2c8eba9b7cb77accd53a4;p=thirdparty%2Fbinutils-gdb.git sim: ppc: sync WITH_TARGET_{ADDRESS,CELL}_BITSIZE with common/ This will make it easier to share common/ code that rely on these additional defines. --- diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h index d317826ba1d..de68cf26181 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: