diff options
author | Timothy Wall <twall@alum.mit.edu> | 2000-02-03 18:20:23 +0000 |
---|---|---|
committer | Timothy Wall <twall@alum.mit.edu> | 2000-02-03 18:20:23 +0000 |
commit | bea9907b2a19c3ed94595a88003b8900938b0ad9 (patch) | |
tree | b2652f586bd91490ee6f658b40744dee34f5d96c /gas/as.h | |
parent | 940b2b788ccdda311ff16e18d79e68d0c7928842 (diff) | |
download | gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.zip gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.tar.gz gdb-bea9907b2a19c3ed94595a88003b8900938b0ad9.tar.bz2 |
octets vs bytes changes for GAS
Diffstat (limited to 'gas/as.h')
-rw-r--r-- | gas/as.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -643,6 +643,16 @@ void eh_frame_convert_frag PARAMS ((fragS *)); #define BSS_SECTION_NAME ".bss" #endif +#ifndef OCTETS_PER_BYTE_POWER +#define OCTETS_PER_BYTE_POWER 0 +#endif +#ifndef OCTETS_PER_BYTE +#define OCTETS_PER_BYTE (1<<OCTETS_PER_BYTE_POWER) +#endif +#if OCTETS_PER_BYTE != (1<<OCTETS_PER_BYTE_POWER) + #error "Octets per byte conflicts with its power-of-two definition!" +#endif + #endif /* GAS */ /* end of as.h */ |