ubsan: nds32: left shift cannot be represented in type 'int'
[deliverable/binutils-gdb.git] / bfd / elfxx-aarch64.c
index 1f6928071313d91479055e45aac4199590404bba..e7290aaab1d522d6c757a82647bbf86c138677de 100644 (file)
@@ -758,11 +758,9 @@ _bfd_aarch64_elf_link_setup_gnu_properties (struct bfd_link_info *info,
              _("%F%P: failed to create GNU property section\n"));
 
           align = (bfd_get_mach (ebfd) & bfd_mach_aarch64_ilp32) ? 2 : 3;
-          if (!bfd_set_section_alignment (ebfd, sec, align))
-            {
-              info->callbacks->einfo (_("%F%pA: failed to align section\n"),
-                                      sec);
-            }
+         if (!bfd_set_section_alignment (sec, align))
+           info->callbacks->einfo (_("%F%pA: failed to align section\n"),
+                                   sec);
 
          elf_section_type (sec) = SHT_NOTE;
        }
This page took 0.042365 seconds and 4 git commands to generate.