bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/23494] .note.gnu.property section isn't properly converted


From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/23494] .note.gnu.property section isn't properly converted
Date: Mon, 13 Aug 2018 14:38:10 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=23494

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=98641896ad52915448c0dd1ab4b4bbe23148a582

commit 98641896ad52915448c0dd1ab4b4bbe23148a582
Author: H.J. Lu <address@hidden>
Date:   Mon Aug 13 07:24:31 2018 -0700

    bfd: Move elf-properties.lo to BFD32_LIBS

    commit 6404ab993797d1d6cd3d9e97cc281e3cb6226c12
    Author: H.J. Lu <address@hidden>
    Date:   Wed Aug 8 21:00:04 2018 -0700

        Convert .note.gnu.property section between ELF32 and ELF64

    updated bfd_convert_section_size and bfd_convert_section_contents
    in bfd.c to call _bfd_elf_convert_gnu_property_size and
    _bfd_elf_convert_gnu_properties, which are defined in elf-properties.c.
    It led to

    bfd.c:2484: undefined reference to `_bfd_elf_convert_gnu_property_size'

    for non-ELF targets.  Since elf-properties.c is a generic implementation
    and doesn't reference any ELF specific functions directly, this patch
    moves elf-properties.lo BFD32_LIBS.

    Tested for many ELF and non-ELF targets.

        PR binutils/23494
        * Makefile.am (BFD32_LIBS): Add elf-properties.lo.
        (BFD32_LIBS_CFILES): Add elf-properties.c.
        (BFD32_BACKENDS): Remove elf-properties.lo.
        (BFD32_BACKENDS_CFILES): Remove elf-properties.c.
        * configure.ac (elf): Remove elf-properties.lo.
        * Makefile.in: Regenerated.
        * configure: Likewise.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]