[Top][All Lists]

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

[Bug binutils/23633] objcopy Segmentation fault

From: cvs-commit at gcc dot gnu.org
Subject: [Bug binutils/23633] objcopy Segmentation fault
Date: Mon, 17 Sep 2018 15:55:47 +0000


--- Comment #7 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>:


commit d839b9149957d9a8842c368caf97ef378d8c97af
Author: H.J. Lu <address@hidden>
Date:   Mon Sep 17 08:50:42 2018 -0700

    Free symbol buffers if they are no longer in use

    add_specific_symbols allocates a buffer to hold symbols.  It should be
    freed only if it is no longer in use.

        PR binutils/23633
        * objcopy.c (strip_specific_buffer): New.
        (strip_unneeded_buffer): Likewise.
        (keep_specific_buffer): Likewise.
        (localize_specific_buffer): Likewise.
        (globalize_specific_buffer): Likewise.
        (keepglobal_specific_buffer): Likewise.
        (weaken_specific_buffer): Likewise.
        (add_specific_symbols): Add an argument to return pointer to
        allocated buffer.
        (copy_main): Update add_specific_symbols to update pointers to
        allocated buffer.  Free pointers to allocated buffer before

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]