i386: Add tests for -malign-branch-boundary and -malign-branch
[deliverable/binutils-gdb.git] / ld / ldexp.c
index 8327a3f2bc14b9ceaa75d5d40a6a19a26aac8be6..b287022f5a1290d28f6046606086a022bb927379 100644 (file)
@@ -852,7 +852,8 @@ fold_name (etree_type *tree)
 
              if (tree->type.node_code == SIZEOF)
                val = (os->bfd_section->size
-                      / bfd_octets_per_byte (link_info.output_bfd, NULL));
+                      / bfd_octets_per_byte (link_info.output_bfd,
+                                             os->bfd_section));
              else
                val = (bfd_vma)1 << os->bfd_section->alignment_power;
 
This page took 0.028043 seconds and 4 git commands to generate.