Commit 7607219d by Iain Sandoe

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
parent 46a99b06
2010-11-29 Iain Sandoe <iains@gcc.gnu.org> 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> Mike Stump <mrs@gcc.gnu.org>
PR target/26427 PR target/26427
...@@ -1172,7 +1172,6 @@ static section * ...@@ -1172,7 +1172,6 @@ static section *
darwin_mergeable_string_section (tree exp, darwin_mergeable_string_section (tree exp,
unsigned HOST_WIDE_INT align) unsigned HOST_WIDE_INT align)
{ {
if (flag_merge_constants if (flag_merge_constants
&& TREE_CODE (exp) == STRING_CST && TREE_CODE (exp) == STRING_CST
&& TREE_CODE (TREE_TYPE (exp)) == ARRAY_TYPE && TREE_CODE (TREE_TYPE (exp)) == ARRAY_TYPE
...@@ -1823,7 +1822,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u) local %d weak %d" ...@@ -1823,7 +1822,7 @@ fprintf (file, "# dadon: %s %s (%llu, %u) local %d weak %d"
{ {
unsigned int l2align = 0; 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)) if (DECL_ALIGN (decl))
{ {
l2align = floor_log2 (DECL_ALIGN (decl) / BITS_PER_UNIT); 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" ...@@ -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. */ be passed a decl that should be in coalesced space. */
if (one || weak) 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, darwin_emit_weak_or_comdat (fp, decl, name, size,
DECL_ALIGN (decl)); DECL_ALIGN (decl));
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment