aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2017-07-03 19:42:54 +0200
committerDominique d'Humieres <dominiq@gcc.gnu.org>2017-07-03 19:42:54 +0200
commit7001cb1ffb77abaa17a37bf63efb0086c7377ebd (patch)
treeaa64dfd098b35d58a52b5e0bb53d49389b6ef831
parent10ea26721d314b7dda7677dea57aad1845d5c9dc (diff)
downloadgcc-7001cb1ffb77abaa17a37bf63efb0086c7377ebd.zip
gcc-7001cb1ffb77abaa17a37bf63efb0086c7377ebd.tar.gz
gcc-7001cb1ffb77abaa17a37bf63efb0086c7377ebd.tar.bz2
re PR bootstrap/81033 (there are cases where ld64 is not able to determine correct atom boundaries from the output GCC currently produces)
2017-07-03 Dominique d'Humieres <dominiq@lps.ens.fr> PR target/81033 * config/darwin.c (darwin_function_switched_text_sections): Fix spaces. From-SVN: r249930
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/darwin.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index be3b094..89c16e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-03 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR target/81033
+ * config/darwin.c (darwin_function_switched_text_sections):
+ Fix spaces.
+
2017-07-03 Jan Hubicka <hubicka@ucw.cz>
* tree-vect-loop-manip.c (vect_do_peeling): Fix scaling up.
diff --git a/gcc/config/darwin.c b/gcc/config/darwin.c
index 4010ed3..9a8cf31 100644
--- a/gcc/config/darwin.c
+++ b/gcc/config/darwin.c
@@ -3684,7 +3684,7 @@ void
darwin_function_switched_text_sections (FILE *fp, tree decl, bool new_is_cold)
{
/* Make sure we pick up all the relevant quotes etc. */
- assemble_name_raw (fp, new_is_cold?"__cold_sect_of_":"__hot_sect_of_");
+ assemble_name_raw (fp, new_is_cold ? "__cold_sect_of_" : "__hot_sect_of_");
assemble_name_raw (fp, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (decl)));
fputs (":\n", fp);
}