]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
a29k.h, [...]: (BITS_PER_UNIT): Delete.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Sun, 3 Mar 2002 02:27:42 +0000 (02:27 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Sun, 3 Mar 2002 02:27:42 +0000 (02:27 +0000)
* a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
* defaults.h (BITS_PER_UNIT): Define.
* doc/tm.texi (BITS_PER_UNIT): Document default value.

From-SVN: r50235

43 files changed:
gcc/ChangeLog
gcc/config/a29k/a29k.h
gcc/config/alpha/alpha.h
gcc/config/arc/arc.h
gcc/config/arm/arm.h
gcc/config/avr/avr.h
gcc/config/clipper/clipper.h
gcc/config/convex/convex.h
gcc/config/cris/cris.h
gcc/config/d30v/d30v.h
gcc/config/elxsi/elxsi.h
gcc/config/fr30/fr30.h
gcc/config/h8300/h8300.h
gcc/config/i370/i370.h
gcc/config/i386/i386.h
gcc/config/i860/i860.h
gcc/config/i960/i960.h
gcc/config/ia64/ia64.h
gcc/config/m32r/m32r.h
gcc/config/m68hc11/m68hc11.h
gcc/config/m68k/m68k.h
gcc/config/m88k/m88k.h
gcc/config/mcore/mcore.h
gcc/config/mips/mips.h
gcc/config/mmix/mmix.h
gcc/config/mn10200/mn10200.h
gcc/config/mn10300/mn10300.h
gcc/config/ns32k/ns32k.h
gcc/config/pa/pa.h
gcc/config/pdp11/pdp11.h
gcc/config/pj/pj.h
gcc/config/romp/romp.h
gcc/config/rs6000/rs6000.h
gcc/config/s390/s390.h
gcc/config/sh/sh.h
gcc/config/sparc/sparc.h
gcc/config/stormy16/stormy16.h
gcc/config/v850/v850.h
gcc/config/vax/vax.h
gcc/config/we32k/we32k.h
gcc/config/xtensa/xtensa.h
gcc/defaults.h
gcc/doc/tm.texi

index 3ebfedb14cb76be04ebe1261c12a815fd5821ec0..eb73bd1a536f2fcd6c8a622a606ceaad803102a6 100644 (file)
@@ -1,3 +1,14 @@
+2002-03-02  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * a29k.h, alpha.h, arc.h, arm.h, avr.h, clipper.h, convex.h,
+       cris.h, d30v.h, elxsi.h, fr30.h, h8300.h, i370.h, i386.h, i860.h,
+       i960.h, ia64.h, m32r.h, m68hc11.h, m68k.h, m88k.h, mcore.h,
+       mips.h, mmix.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pdp11.h,
+       pj.h, romp.h, rs6000.h, s390.h, sh.h, sparc.h, stormy16.h, v850.h,
+       vax.h, we32k.h, xtensa.h: (BITS_PER_UNIT): Delete.
+       * defaults.h (BITS_PER_UNIT): Define.
+       * doc/tm.texi (BITS_PER_UNIT): Document default value.
+
 2002-03-02  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300-protos.h: Add a prototype for
index ff80dce693b5462074cc26d48b64a04db7f9b962..f499ea11b1595889f8d6b1b25af7e6b99b0fceb9 100644 (file)
@@ -165,9 +165,6 @@ extern int target_flags;
    for them.  Might as well be consistent with bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index b2363bc1e4d3429596d45ac5f16f6a92640693e0..6d78d3ff82f31de7e7f7d0cc526cafca8852e5eb 100644 (file)
@@ -474,9 +474,6 @@ extern const char *alpha_mlat_string;       /* For -mmemory-latency= */
    for them.  Might as well be consistent with bytes.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 523ea72a57b2ce3683fc717451c2d67f32bc1639..0a8385430d8fa52029145fea720aa88fd1bb3792 100644 (file)
@@ -191,9 +191,6 @@ do {                                \
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index bf989f409f0788f1255df18bca7ef7dd87a6d6cb..8f4c4a1c8def4af75ae13eb3b10a47db845b8600 100644 (file)
@@ -696,9 +696,6 @@ extern int arm_is_6_or_7;
    This is always true, even when in little-endian mode.  */
 #define FLOAT_WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT  8
-
 #define BITS_PER_WORD  32
 
 #define UNITS_PER_WORD 4
index 742c811285dda2f39e3ef5d779ce08507e979cff..ffcfa263095810ae91fe923331fc89a14ef2bc35 100644 (file)
@@ -126,9 +126,6 @@ extern int avr_enhanced_p;
    numbered.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';  */
 #define BITS_PER_WORD 8
index 790202b4e36a6a0fd53150d1b539ee270ca33236..61845e4d15bad00f6ffcc8507aeab900ebc18d88 100644 (file)
@@ -69,9 +69,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 8c0fffabadce23bce1da38fd96f8b5eada4da5c8..d662b2cc53343ce726def94ce5b916b9d0c4bd78 100644 (file)
@@ -434,9 +434,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 9ddd065dc7f62e99b4b88020b46f40af5f8c6064..009b9aa33df3e992c6da96a0b7dcfd4608e91931 100644 (file)
@@ -475,8 +475,6 @@ extern int target_flags;
    post-increment on DImode indirect.  */
 #define WORDS_BIG_ENDIAN 0
 
-#define BITS_PER_UNIT 8
-
 #define BITS_PER_WORD 32
 
 #define UNITS_PER_WORD 4
index 37dd1cfee51d2fea33348ea113e33cb529007d3a..21745076b8189ed4cb4f6baafa030bec82bb07c1 100644 (file)
@@ -161,8 +161,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 1
 
-#define BITS_PER_UNIT 8
-
 #define BITS_PER_WORD 32
 
 #define UNITS_PER_WORD 4
index d5969d4ea2b2eaa06d9eb9072ce054c0c94d255d..f06eda58f8dc6c8c53b8f0588d2d6aa5d20dff8f 100644 (file)
@@ -71,9 +71,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index dd19f757da8a5d005c05c8d1cbb9ca827f23c939..32ba387459eaab817feef28bb961056cc64b3eb7 100644 (file)
@@ -83,8 +83,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 1
 
-#define BITS_PER_UNIT  8
-
 #define BITS_PER_WORD  32
 
 #define UNITS_PER_WORD         4
index c5852f54c6d671729e5e5b2c7f76990c02f2dec6..b19c0b336fc3f04bf666e38799cdee1edcb4d138 100644 (file)
@@ -199,9 +199,6 @@ extern int target_flags;
    be consistent).  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 145f115241d092000ce1ff7bc388b935247c9196..d1f72bb8600245ce8315489c98c6eedeb1e230d1 100644 (file)
@@ -86,10 +86,6 @@ extern int mvs_function_name_length;
 
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit.  */
-
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.  */
 
 #define BITS_PER_WORD 32
index 63dae0122ef52dc5f2db5e9f4cc81e92e3530e9d..a53a06f7148af46b53c516e83d71030f2e412fad 100644 (file)
@@ -721,9 +721,6 @@ extern int ix86_arch;
 /* Not true for 80386 */
 #define WORDS_BIG_ENDIAN 0
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 80386, this would still be 32.
index ad5048c7b02ddb14e9935349e9664bb268ac7225..97d77082155cc1a5c260292a6bd393fe4e2a8bed 100644 (file)
@@ -82,9 +82,6 @@ extern int target_flags;
    justify the trouble of changing this assumption.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 4df5a6fb14f78d47b3e83fd72a32eb063d28278a..a067deaa8264650ab312f9db3e381e7a0baeef37 100644 (file)
@@ -397,9 +397,6 @@ extern int target_flags;
    numbered.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT 8
-
 /* Bitfields cannot cross word boundaries.  */
 #define BITFIELD_NBYTES_LIMITED 1
 
index 19007173c7132c27d2b1bf17626d6405c6b16742..3c1d6b784435b49b628b822b48f8a079cf7652dc 100644 (file)
@@ -244,8 +244,6 @@ extern const char *ia64_fixed_range_string;
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-#define BITS_PER_UNIT 8
-
 #define BITS_PER_WORD 64
 
 #define UNITS_PER_WORD 8
index e4554fb4bf6b483b09015649cf27fec985377a82..44510a06bb7bafa1fea6cc5ed95fa7f1884f9566 100644 (file)
@@ -442,9 +442,6 @@ extern enum m32r_sdata m32r_sdata;
    value will be set based on preprocessor defines.  */
 /*#define LIBGCC2_WORDS_BIG_ENDIAN 1*/
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 2965fa5ddcfb9cc1d30666a2c9b044c00a975024..0e4b2022fd3d53843e477613f8b9e221ea97cd31 100644 (file)
@@ -241,9 +241,6 @@ extern const struct processor_costs *m68hc11_cost;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN       1
 
-/* Number of bits in an addressible storage unit */
-#define BITS_PER_UNIT          8
-
 /* Number of bits in a word */
 #define BITS_PER_WORD          16
 
index d97978c46e950d8ae279e9c911568487dffc8597..72ef2c90bf38d37b51e250a0daec916d8575e053 100644 (file)
@@ -321,9 +321,6 @@ extern int target_flags;
    So let's be consistent.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index c002809ec94ec6e95c17cf10ca18d950ddec1634..11d8e544d068231d157ca7c50c03696606b0e746 100644 (file)
@@ -336,9 +336,6 @@ extern int flag_pic;                                /* -fpic */
    instructions for them.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 9ab8551e004cf8340c771f390a54a19fd444cf91..ab02a2afb6b4afb02e9309d5dd68eeadcd722556 100644 (file)
@@ -247,9 +247,6 @@ extern const char * mcore_stack_increment_string;
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT  8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 7a5482cc927cfe993a4e643b471f668724e9014b..66c362124afac69e61e1b3e3403489ed0d6db6bd 100644 (file)
@@ -1569,9 +1569,6 @@ do {                                                      \
 #define LIBGCC2_WORDS_BIG_ENDIAN 0
 #endif
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 74229acd6a4171f8f3b9088be1e05ba938bb06b2..3861e6e7b0499a37e5cf5aa5f165889030cf5fb7 100644 (file)
@@ -251,7 +251,6 @@ extern int target_flags;
 #define BYTES_BIG_ENDIAN 1
 #define WORDS_BIG_ENDIAN 1
 #define FLOAT_WORDS_BIG_ENDIAN 1
-#define BITS_PER_UNIT 8
 #define BITS_PER_WORD 64
 #define UNITS_PER_WORD 8
 #define POINTER_SIZE 64
index f9b2d30a3b5260806fa3c1e18366efda22578031..6a81b6fbad1fabcebda6b2bc5085bcf52e926a1c 100644 (file)
@@ -81,9 +81,6 @@ extern int target_flags;
    This is not true on the Matsushita MN10200.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index ddd872e9cd56ef900aa1d04ecddb8705a2d988ad..184aef135cfc42569f3a51ec22052440770595eb 100644 (file)
@@ -90,9 +90,6 @@ extern int target_flags;
    This is not true on the Matsushita MN10300.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 159148dbb31f9a067fc24070e9ac2cd43c80ec44..8ef5aeb9a8e480769614f62da78ba0de8f96c402 100644 (file)
@@ -196,9 +196,6 @@ while (0)
    numbered. This is not true on the ns32k.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 32000, this would still be 32.
index 715ae817696a38fa56ad92bd11602866f21564c5..696068449d1da70bb5589d5c8e2c685d1d22ed0e 100644 (file)
@@ -389,9 +389,6 @@ extern int target_flags;
    numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 2c16aa80ddbb48f5dc50f31e6ceb7b647e44ed51..2b6edd338bf555c6daa5f639f1e8270f92bfbc22 100644 (file)
@@ -165,9 +165,6 @@ extern int target_flags;
 /* Define this if most significant word of a multiword number is numbered.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 0adf02a3f11521612948ba671ba0764fc0069e60..804f3963e8a81aeec2c0ada002eee45070d5182a 100644 (file)
@@ -133,9 +133,6 @@ extern int target_flags;
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT  8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 23c73e72f1961cd62c37ef250a2292100ae74fe0..5ce44f055e481070200cc52b5b518d0f3f1f73f9 100644 (file)
@@ -90,9 +90,6 @@ extern int target_flags;
    for them.  Might as well be consistent with bits and bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index fae0b83ba4f741f52886f4ae312ded1da3ba3a64..fccf3d374bb2a8e43c4f9de8d400d291a301cf3d 100644 (file)
@@ -522,9 +522,6 @@ extern int rs6000_altivec_abi;
    instructions for them.  Might as well be consistent with bits and bytes.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 6756e6099ef4ba935df6bcd2ea1f1dc137f00efe..e395f852de4df4d1fe8f1d8a930c48158053e656 100644 (file)
@@ -106,10 +106,6 @@ extern int current_function_outgoing_args_size;
 
 #define WORDS_BIG_ENDIAN 1
 
-/* Number of bits in an addressable storage unit.  */
-
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.  */
 
 #define BITS_PER_WORD (TARGET_64BIT ? 64 : 32)
index 1a486214e333b94b1d636a010ab598a55a772e29..e9195970c796df17df89dbea407547fe176c8001 100644 (file)
@@ -430,9 +430,6 @@ do {                                                                        \
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* Number of bits in an addressable storage unit.  */
-#define BITS_PER_UNIT  8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 779a39c988e3fc25222e4039d54f73cdeb3d62ee..3faf25b8673bb3312f46887ff45fb84c263f3c5b 100644 (file)
@@ -710,9 +710,6 @@ extern struct sparc_cpu_select sparc_select[];
 #define LIBGCC2_WORDS_BIG_ENDIAN 1
 #endif
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index b2a2ad1e3d4035ae121143ad956b08e5a3c8e495..c2fd617d63807d886f84d8c1a33e51083ab80ebf 100644 (file)
@@ -89,8 +89,6 @@ extern int target_flags;
 
 #define WORDS_BIG_ENDIAN 0
 
-#define BITS_PER_UNIT 8
-
 #define BITS_PER_WORD 16
 
 #define UNITS_PER_WORD 2
index 6c5a4a6767ac7ecd1e615f5786fefc347e503997..b20c1f48b4d2a2c2dbb8a0518714e360b4577b1b 100644 (file)
@@ -228,9 +228,6 @@ extern struct small_memory_info small_memory[(int)SMALL_MEMORY_max];
    This is not true on the NEC V850.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 26e767d37d0777b97138cb99780ccc6720b71d18..fbd3e38c9c7d2acd8ada2aa25a8bebeb945734e1 100644 (file)
@@ -105,9 +105,6 @@ extern int target_flags;
 /* This is not true on the VAX.  */
 #define WORDS_BIG_ENDIAN 0
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a 68000, this would still be 32.
index 12f105d8fae0bb65022ee9d29a136b7f6df1677a..7d9ac440f0ab603cc213183a5024359009263ab7 100644 (file)
@@ -62,9 +62,6 @@ extern int target_flags;
    since there are no machine instructions for them.  */
 #define WORDS_BIG_ENDIAN 1
 
-/* number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.
    Note that this is not necessarily the width of data type `int';
    if using 16-bit ints on a we32000, this would still be 32.
index 0cfbdb24d7e650a6d74909fdaccd20ed7355f6e7..709ed06d110b5029cf5a4810133d5745feee0d2e 100644 (file)
@@ -235,9 +235,6 @@ extern unsigned xtensa_current_frame_size;
 /* Define this if most significant word of a multiword number is the lowest. */
 #define WORDS_BIG_ENDIAN (TARGET_BIG_ENDIAN != 0)
 
-/* Number of bits in an addressable storage unit */
-#define BITS_PER_UNIT 8
-
 /* Width in bits of a "word", which is the contents of a machine register.  */
 #define BITS_PER_WORD 32
 #define MAX_BITS_PER_WORD 32
index 3071f1f35cd92001c1fff175b9de314a19ffaa56..2d0005d3b677bc49d8dd152a88dce11f14218005 100644 (file)
@@ -281,6 +281,10 @@ do {                                                               \
    your target, you should override these values by defining the
    appropriate symbols in your tm.h file.  */
 
+#ifndef BITS_PER_UNIT
+#define BITS_PER_UNIT 8
+#endif
+
 #ifndef CHAR_TYPE_SIZE
 #define CHAR_TYPE_SIZE BITS_PER_UNIT
 #endif
index dd22fd0ab06b2d8faa288467408a1d73abdc254d..1a5855740ac0c782036daa1971297b0e927179e5 100644 (file)
@@ -924,7 +924,7 @@ multi-word integers.
 @findex BITS_PER_UNIT
 @item BITS_PER_UNIT
 Define this macro to be the number of bits in an addressable storage
-unit (byte); normally 8.
+unit (byte).  If you do not define this macro the default is 8.
 
 @findex BITS_PER_WORD
 @item BITS_PER_WORD