diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-05-07 09:13:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-05-07 09:19:16 -0700 |
commit | b084df0b8d1262fb1e969c74bcc5c61e262a6199 (patch) | |
tree | dce3ec5097f44350ac9f84259ce24aa0ef454330 /bfd/version.h | |
parent | 1c56a84d9bac1f6a451a89d2c6af3d7078c4290e (diff) | |
download | gdb-b084df0b8d1262fb1e969c74bcc5c61e262a6199.zip gdb-b084df0b8d1262fb1e969c74bcc5c61e262a6199.tar.gz gdb-b084df0b8d1262fb1e969c74bcc5c61e262a6199.tar.bz2 |
Optimize branches to non-weak symbols with visibility
Branches to global non-weak symbols defined in the same segment with
non-default visibility can be optimized the same way as branches to
local symbols.
gas/
* config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
(md_estimate_size_before_relax): Use it.
gas/testsuite/
* gas/i386/i386.exp: Run relax-3 and x86-64-relax-2.
* gas/i386/relax-3.d: New file.
* gas/i386/relax-3.s: Likewise.
* gas/i386/x86-64-relax-2.d: Likewise.
Diffstat (limited to 'bfd/version.h')
0 files changed, 0 insertions, 0 deletions