aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-06-22 14:26:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-06-22 14:26:09 -0700
commit5d8763a38211dd79459485ba0be4f76849ef8200 (patch)
tree610e5d460b1401c40ce75cecebbc3e6cc328d8ac /ld
parent922109c7182858b005f55f6ac69bb6af145fc710 (diff)
x86-64: Move the error_alignment label forward
Move the error_alignment label forward to avoid clang warning on if (!bfd_set_section_alignment (ebfd, sec, 2)) goto error_alignment; htab = elf_x86_64_hash_table (info); error_alignment: info->callbacks->einfo (_("%F%A: failed to align section\n"), sec); "%F" causes a fatal linker error and immediate exit. sec = htab->elf.sgotplt; Also fix alignment on program property note section. * elf64-x86-64.c (elf_x86_64_link_setup_gnu_properties): Move the error_alignment label forward. Properly align program property note section.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions