aboutsummaryrefslogtreecommitdiff
path: root/include/bfd.h
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1991-10-11 18:01:05 +0000
committerPer Bothner <per@bothner.com>1991-10-11 18:01:05 +0000
commit23adc11718bd279f38b0a7e773e94757ba4ebb7a (patch)
tree55f964c337cf660406f26754b8697d84de208f95 /include/bfd.h
parent8e10cea14644c015ef70b37438bc4072fac49ab9 (diff)
downloadgdb-23adc11718bd279f38b0a7e773e94757ba4ebb7a.zip
gdb-23adc11718bd279f38b0a7e773e94757ba4ebb7a.tar.gz
gdb-23adc11718bd279f38b0a7e773e94757ba4ebb7a.tar.bz2
* a.out.host.h: Change SEGMENT_SIZE to 0x1000 for Sony.
* bfd.h (align_power): Add (actually move) comment.
Diffstat (limited to 'include/bfd.h')
-rw-r--r--include/bfd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/bfd.h b/include/bfd.h
index 91dbab6..1b93389 100644
--- a/include/bfd.h
+++ b/include/bfd.h
@@ -177,6 +177,8 @@ typedef struct lineno_cache_entry {
/* object and core file sections */
+/* Align an address upward to a power of two. Argument is the power
+ of two, e.g. 8-byte alignment uses argument of 3 (8 == 2^3). */
#define align_power(addr, align) \
( ((addr) + ((1<<(align))-1)) & (-1 << (align)))