aboutsummaryrefslogtreecommitdiff
path: root/gas/as.h
diff options
context:
space:
mode:
authorTimothy Wall <twall@alum.mit.edu>2000-02-03 18:20:23 +0000
committerTimothy Wall <twall@alum.mit.edu>2000-02-03 18:20:23 +0000
commitbea9907b2a19c3ed94595a88003b8900938b0ad9 (patch)
treeb2652f586bd91490ee6f658b40744dee34f5d96c /gas/as.h
parent940b2b788ccdda311ff16e18d79e68d0c7928842 (diff)
downloadgdb-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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gas/as.h b/gas/as.h
index 62ef376..3f16d56 100644
--- a/gas/as.h
+++ b/gas/as.h
@@ -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 */