aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.c
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
commit6c0e77f746f0a79d764a7a086bab1dfa0ec2d371 (patch)
treed24339b50b889ea9a6113a99a2f071097c275ce3 /gcc/config/darwin.c
parente17a607a2817c70d66343e3372a7fe430f240a46 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@167244 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/darwin.c')
-rw-r--r--gcc/config/darwin.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 596ed115019..0057685ad50 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;