This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Don't look up a stub for an undefined symbol.


Hi Cary, Han,

Here's a quick patch that:

a) Adds some gold_debug target debugging to look for mismatched cases
of having a stub and looking for a stub, and
b) Notices that we were trying to look up a stub to an undefined
symbol when we were explicitly not creating a stub for it earlier.

OK?

Thanks!

-eric

2017-06-07  Eric Christopher  <echristo@gmail.com>

        * aarch64.cc (maybe_apply_stub): Add debug logging for looking
        up stubs to undefined symbols and early return rather than
        fail to look them up.
(scan_reloc_for_stub): Add debug logging for no stub creation
        for undefined symbols.

Attachment: z.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]