diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2003-07-19 04:12:22 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2003-07-19 04:12:22 +0000 |
commit | 1e364ec981cd5bb9a0349cebe7af2068f4c8236c (patch) | |
tree | 2b4722c5fe32c6b5a9b3414a291ed4ef8439f694 /bfd/elf-bfd.h | |
parent | 34b60dc34ac9db7aee48d3213503dd645ab41254 (diff) | |
download | gdb-1e364ec981cd5bb9a0349cebe7af2068f4c8236c.zip gdb-1e364ec981cd5bb9a0349cebe7af2068f4c8236c.tar.gz gdb-1e364ec981cd5bb9a0349cebe7af2068f4c8236c.tar.bz2 |
2003-07-18 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL): Fix a typo.
(SYMBOL_CALLS_LOCAL): Likewise.
* elflink.c (_bfd_elf_dynamic_symbol_p): Return TRUE
immediately if symbol isn't defined locally.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 7d154fc..2fc64ab 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -212,11 +212,11 @@ struct elf_link_hash_entry it's necessary for shared libs to also reference the .plt even though the symbol is really local to the shared lib. */ #define SYMBOL_REFERENCES_LOCAL(INFO, H) \ - _bfd_elf_dynamic_symbol_p (H, INFO, 1) + !_bfd_elf_dynamic_symbol_p (H, INFO, 1) /* Will _calls_ to this symbol always call the version in this object? */ #define SYMBOL_CALLS_LOCAL(INFO, H) \ - _bfd_elf_dynamic_symbol_p (H, INFO, 0) + !_bfd_elf_dynamic_symbol_p (H, INFO, 0) /* Records local symbols to be emitted in the dynamic symbol table. */ |