Correct the definition of _gp and _GLOBAL_OFFSET_TABLE_ symbols for MIPS.
authorVladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com>
Wed, 15 Mar 2017 22:35:15 +0000 (15:35 -0700)
committerCary Coutant <ccoutant@gmail.com>
Wed, 15 Mar 2017 23:51:35 +0000 (16:51 -0700)
commit453018bf4490421a995cd76b3d2a3f322359c6a5
tree2b2944576a2b4bf4393cd8533af0adb641fa806d
parentb416fe873ef44b2a613c9266c6462a481926d986
Correct the definition of _gp and _GLOBAL_OFFSET_TABLE_ symbols for MIPS.

gold/
        * mips.cc (symbol_refs_local): Return false if a symbol
        is from a dynamic object.
        (Target_mips::got_section): Make _GLOBAL_OFFSET_TABLE_ STV_HIDDEN.
        (Target_mips::set_gp): Refactor.  Make _gp STT_NOTYPE and
        STB_LOCAL.
        (Target_mips::do_finalize_sections): Set _gp after all the checks
        for creating .got are done.
        (Target_mips::Scan::global): Remove unused code.
gold/ChangeLog
gold/mips.cc
This page took 0.026436 seconds and 4 git commands to generate.