aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <aldot@gcc.gnu.org>2011-08-25 10:49:01 +0200
committerBernhard Reutner-Fischer <aldot@gcc.gnu.org>2011-08-25 10:49:01 +0200
commit8619577f3a9b4df50f1c6f39698b1c237bc9b7cd (patch)
treef2977dacdd02e06f9111a05d8e29b1877534bed2 /gcc
parent6c41a083fa0f1843536045c6779f5dfd2d85dac7 (diff)
downloadgcc-8619577f3a9b4df50f1c6f39698b1c237bc9b7cd.zip
gcc-8619577f3a9b4df50f1c6f39698b1c237bc9b7cd.tar.gz
gcc-8619577f3a9b4df50f1c6f39698b1c237bc9b7cd.tar.bz2
varasm.c: (default_binds_local_p_1): Commentary typo fix.
2011-08-25 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * varasm.c: (default_binds_local_p_1): Commentary typo fix. From-SVN: r178055
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/varasm.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 2f98fc5..48e20a1 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2011-08-25 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * varasm.c: (default_binds_local_p_1): Commentary typo fix.
+
2011-08-24 H.J. Lu <hongjiu.lu@intel.com>
PR target/50172
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 218baf3..a612888 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -6709,7 +6709,7 @@ default_binds_local_p_1 (const_tree exp, int shlib)
bool resolved_to_local_def = false;
/* With resolution file in hands, take look into resolutions.
- We can't just return true for resolved_localy symbols,
+ We can't just return true for resolved_locally symbols,
because dynamic linking might overwrite symbols
in shared libraries. */
if (TREE_CODE (exp) == VAR_DECL && TREE_PUBLIC (exp)
@@ -6818,7 +6818,7 @@ decl_binds_to_current_def_p (tree decl)
return resolution_to_local_definition_p (node->resolution);
}
/* Otherwise we have to assume the worst for DECL_WEAK (hidden weaks
- binds localy but still can be overwritten).
+ binds locally but still can be overwritten).
This rely on fact that binds_local_p behave as decl_replaceable_p
for all other declaration types. */
return !DECL_WEAK (decl);