From: dominiq Date: Fri, 11 Dec 2015 16:39:49 +0000 (+0000) Subject: 2015-12-11 Jan-Benedict Glaw X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b1fba2cdea02d204133cc11fbd6193f888afa9d;p=thirdparty%2Fgcc.git 2015-12-11 Jan-Benedict Glaw Dominique d'Humieres PR target/26427 PR target/33120 PR testsuite/35710 * config/darwin.c (darwin_use_anchors_for_symbol_p): Fix indention and trailing whitespace. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231571 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b52b9aae8d1f..5de708627b15 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2015-12-11 Jan-Benedict Glaw + Dominique d'Humieres + + PR target/26427 + PR target/33120 + PR testsuite/35710 + + * config/darwin.c (darwin_use_anchors_for_symbol_p): Fix indention and + trailing whitespace. + 2015-12-11 Jan Beulich * cfgexpand.c (expand_one_var): Exit early for static and diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c index 7e035fb8c196..1f421c364893 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;