Allow pie links to create PLT entries

Cary Coutant ccoutant@google.com
Thu Mar 5 19:04:00 GMT 2015


        * x86_64.cc (Scan::get_reference_flags): Mark PC relative relocations
        as possibly created from function calls too.
        (Scan::global): Allow PLT entry for PC32 relocation of a function symbol
        for pie links.  Set the address of the dynamic symbol table entry for
        this function to that of the PLT entry.

This is OK. Thanks!

-cary



More information about the Binutils mailing list