aboutsummaryrefslogtreecommitdiff
path: root/include/bfd.h
diff options
context:
space:
mode:
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)))