mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-28 16:01:00 +08:00
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
This commit is contained in:
parent
46a99b06bc
commit
7607219dc3
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user