aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iains@gcc.gnu.org>2010-11-29 15:49:41 +0000
committerIain Sandoe <iains@gcc.gnu.org>2010-11-29 15:49:41 +0000
commit7607219dc3b38d63a26df4121f89e412fb8b4da2 (patch)
treed24339b50b889ea9a6113a99a2f071097c275ce3
parent46a99b06bc86c936f35db7613817be1062e28c30 (diff)
downloadgcc-7607219dc3b38d63a26df4121f89e412fb8b4da2.zip
gcc-7607219dc3b38d63a26df4121f89e412fb8b4da2.tar.gz
gcc-7607219dc3b38d63a26df4121f89e412fb8b4da2.tar.bz2
correct typographical errors.
gcc: * config/darwin.c (darwin_mergeable_string_section): Remove blank line. (darwin_asm_declare_object_name): Correct spelling. (darwin_output_aligned_bss): Likewise. From-SVN: r167244
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin.c5
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 27c9bf6..6793d6b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,4 +1,10 @@
2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
+
+ * config/darwin.c (darwin_mergeable_string_section): Remove blank line.
+ (darwin_asm_declare_object_name): Correct spelling.
+ (darwin_output_aligned_bss): Likewise.
+
+2010-11-29 Iain Sandoe <iains@gcc.gnu.org>
Mike Stump <mrs@gcc.gnu.org>
PR target/26427
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 596ed11..0057685 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -1172,7 +1172,6 @@ static section *
darwin_mergeable_string_section (tree exp,
unsigned HOST_WIDE_INT align)
{
-
if (flag_merge_constants
&& TREE_CODE (exp) == STRING_CST
&& TREE_CODE (TREE_TYPE (exp)) == ARRAY_TYPE
@@ -1823,7 +1822,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u) local %d weak %d"
{
unsigned int l2align = 0;
- /* The align must be honoured, even for zero-sized. */
+ /* The align must be honored, even for zero-sized. */
if (DECL_ALIGN (decl))
{
l2align = floor_log2 (DECL_ALIGN (decl) / BITS_PER_UNIT);
@@ -2076,7 +2075,7 @@ fprintf (fp, "# albss: %s (%lld,%d) ro %d cst %d stat %d com %d"
be passed a decl that should be in coalesced space. */
if (one || weak)
{
- /* Weak or COMDAT objects are put in mergable sections. */
+ /* Weak or COMDAT objects are put in mergeable sections. */
darwin_emit_weak_or_comdat (fp, decl, name, size,
DECL_ALIGN (decl));
return;