aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorJan-Benedict Glaw <jbglaw@lug-owl.de>2015-12-11 16:39:49 +0000
committerDominique d'Humieres <dominiq@gcc.gnu.org>2015-12-11 17:39:49 +0100
commit2515981da02db8ce6c7f8378dbed3f0c52085714 (patch)
tree7ad160ac1e388619c161f452755d5c83ecae0ce6 /gcc/config
parent603853643fccce945ae6ab2f72adb4b02051fe97 (diff)
downloadgcc-2515981da02db8ce6c7f8378dbed3f0c52085714.zip
gcc-2515981da02db8ce6c7f8378dbed3f0c52085714.tar.gz
gcc-2515981da02db8ce6c7f8378dbed3f0c52085714.tar.bz2
re PR target/26427 (with -fsection-anchors with zero sized structs)
2015-12-11 Jan-Benedict Glaw <jbglaw@lug-owl.de> Dominique d'Humieres <dominiq@lps.ens.fr> PR target/26427 PR target/33120 PR testsuite/35710 * config/darwin.c (darwin_use_anchors_for_symbol_p): Fix indention and trailing whitespace. Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr> From-SVN: r231571
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/darwin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 7e035fb..1f421c3 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -2997,23 +2997,23 @@ darwin_asm_output_anchor (rtx symbol)
SYMBOL_REF_BLOCK_OFFSET (symbol));
}
-/* Disable section anchoring on any section containing a zero-sized
+/* Disable section anchoring on any section containing a zero-sized
object. */
bool
darwin_use_anchors_for_symbol_p (const_rtx symbol)
{
- if (DARWIN_SECTION_ANCHORS && flag_section_anchors)
+ if (DARWIN_SECTION_ANCHORS && flag_section_anchors)
{
section *sect;
/* If the section contains a zero-sized object it's ineligible. */
sect = SYMBOL_REF_BLOCK (symbol)->sect;
/* This should have the effect of disabling anchors for vars that follow
- any zero-sized one, in a given section. */
+ any zero-sized one, in a given section. */
if (sect->common.flags & SECTION_NO_ANCHOR)
return false;
- /* Also check the normal reasons for suppressing. */
- return default_use_anchors_for_symbol_p (symbol);
+ /* Also check the normal reasons for suppressing. */
+ return default_use_anchors_for_symbol_p (symbol);
}
else
return false;