diff options
Diffstat (limited to 'gcc/lto/lto-object.c')
-rw-r--r-- | gcc/lto/lto-object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/lto/lto-object.c b/gcc/lto/lto-object.c index 323f7b2a74e..8e26079d309 100644 --- a/gcc/lto/lto-object.c +++ b/gcc/lto/lto-object.c @@ -338,7 +338,7 @@ lto_obj_begin_section (const char *name) && lo->sobj_w != NULL && lo->section == NULL); - align = exact_log2 (POINTER_SIZE / BITS_PER_UNIT); + align = ceil_log2 (POINTER_SIZE_UNITS); lo->section = simple_object_write_create_section (lo->sobj_w, name, align, &errmsg, &err); if (lo->section == NULL) |