aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-05-07 09:13:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-05-07 09:19:16 -0700
commitb084df0b8d1262fb1e969c74bcc5c61e262a6199 (patch)
treedce3ec5097f44350ac9f84259ce24aa0ef454330 /gas/ChangeLog
parent1c56a84d9bac1f6a451a89d2c6af3d7078c4290e (diff)
downloadfsf-binutils-gdb-b084df0b8d1262fb1e969c74bcc5c61e262a6199.zip
fsf-binutils-gdb-b084df0b8d1262fb1e969c74bcc5c61e262a6199.tar.gz
fsf-binutils-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 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7f42a64..9758e72 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2015-05-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (elf_symbol_resolved_in_segment_p): New.
+ (md_estimate_size_before_relax): Use it.
+
2015-05-06 Jose E. Marchesi <jose.marchesi@oracle.com>
* config/tc-sparc.c: Typo in comment fixed.