bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS s


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20402] ld.bfd for emits *_RELATIVE relocations against SHN_ABS symbols
Date: Wed, 07 Mar 2018 16:47:49 +0000

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

--- Comment #8 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Renlin Li <address@hidden>:

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

commit 0c1ded8dc0be9c61975e04a0b416b064223f7bda
Author: Renlin Li <address@hidden>
Date:   Wed Mar 7 09:27:45 2018 +0000

    [PR20402][LD][AARCH64]Don't emit RELATIVE relocation for absolute symbols
which are resolved at static linking time.

    For absolute symbols which are forced local or not dynamic, the ABS
relocation
    should be resolved at static linking time.

    Originally, an RELATIVE/ABS relocation will be generated even for
absolution
    symbols for the dynamic linker to resolve.

    bfd/

    2018-03-07  Renlin Li  <address@hidden>

        PR ld/20402
        * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Check absolute
symbol,
        and don't emit relocation in specific case.

    ld/

    2018-03-07  Renlin Li  <address@hidden>

        PR ld/20402
        * testsuite/ld-aarch64/aarch64-elf.exp: Run new test.
        * testsuite/ld-aarch64/pr20402.s: New.
        * testsuite/ld-aarch64/pr20402.d: New.

-- 
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]