Commit 62baeb4f by Eric Christopher

darwin.c: Fix formatting and grammar.

2006-10-27  Eric Christopher  <echristo@apple.com>

	    * config/darwin.c: Fix formatting and grammar.

From-SVN: r118099
parent 92276465
2006-10-27 Eric Christopher <echristo@apple.com>
* config/darwin.c: Fix formatting and grammar.
2006-10-27 Jan Hubicka <jh@suse.cz> 2006-10-27 Jan Hubicka <jh@suse.cz>
* builtins.c (fold_builtin): Don't generate NOP_EXPR that is going * builtins.c (fold_builtin): Don't generate NOP_EXPR that is going
...@@ -38,7 +42,7 @@ ...@@ -38,7 +42,7 @@
* config/i386/geode.md: New file. * config/i386/geode.md: New file.
* doc/invoke.texi: Add entry about geode processor. * doc/invoke.texi: Add entry about geode processor.
2006-10-27 Mike Stump <mrs@apple.com> 2006-10-27 Mike Stump <mrs@apple.com>
* config/darwin-c.c (darwin_cpp_builtins): Move __STATIC__ and * config/darwin-c.c (darwin_cpp_builtins): Move __STATIC__ and
...@@ -653,13 +657,13 @@ ...@@ -653,13 +657,13 @@
(init_alias_heapvars): Initialize nonlocal_for_type and (init_alias_heapvars): Initialize nonlocal_for_type and
nonlocal_all. nonlocal_all.
(delete_alias_heapvars): Free nonlocal_for_type and null out (delete_alias_heapvars): Free nonlocal_for_type and null out
nonlocal_all. nonlocal_all.
2006-10-19 Eric Botcazou <ebotcazou@adacore.com> 2006-10-19 Eric Botcazou <ebotcazou@adacore.com>
* fold-const.c (add_double): Rename to add_double_with_sign. * fold-const.c (add_double): Rename to add_double_with_sign.
Add 'unsigned_p' parameter and take it into account for the overflow. Add 'unsigned_p' parameter and take it into account for the overflow.
(mul_double): Rename to mul_double_with_sign. (mul_double): Rename to mul_double_with_sign.
Add 'unsigned_p' parameter and take it into account for the overflow. Add 'unsigned_p' parameter and take it into account for the overflow.
(fold_div_compare): Call add_double_with_sign instead of add_double (fold_div_compare): Call add_double_with_sign instead of add_double
and mul_double_with_sign instead of mul_double, passing them the and mul_double_with_sign instead of mul_double, passing them the
...@@ -716,17 +720,17 @@ ...@@ -716,17 +720,17 @@
2006-10-17 Wolfgang Gellerich <gellerich@de.ibm.com> 2006-10-17 Wolfgang Gellerich <gellerich@de.ibm.com>
* config/s390/contraints.md: New file. * config/s390/contraints.md: New file.
* config/s390/s390-protos.h (s390_mem_constraint, * config/s390/s390-protos.h (s390_mem_constraint,
s390_O_constraint_str, s390_N_constraint_str, s390_O_constraint_str, s390_N_constraint_str,
s390_float_const_zero_p): Function prototypes added. s390_float_const_zero_p): Function prototypes added.
* config/s390/s390.c (s390_extra_constraint_str, * config/s390/s390.c (s390_extra_constraint_str,
s390_const_double_ok_for_constraint_p, s390_const_double_ok_for_constraint_p,
s390_const_ok_for_constraint_p): Functions removed. s390_const_ok_for_constraint_p): Functions removed.
(s390_mem_constraint, s390_O_constraint_str, s390_N_constraint_str, (s390_mem_constraint, s390_O_constraint_str, s390_N_constraint_str,
s390_float_const_zero_p): New functions. s390_float_const_zero_p): New functions.
* config/s390/s390.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_CONSTRAINT_P, * config/s390/s390.h (REG_CLASS_FROM_LETTER, CONST_OK_FOR_CONSTRAINT_P,
CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR, CONST_DOUBLE_OK_FOR_CONSTRAINT_P, EXTRA_CONSTRAINT_STR,
EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT, CONSTRAINT_LEN): EXTRA_MEMORY_CONSTRAINT, EXTRA_ADDRESS_CONSTRAINT, CONSTRAINT_LEN):
Macro definitions removed. Macro definitions removed.
(s390_const_ok_for_constraint_p, s390_const_double_ok_for_constraint_p, (s390_const_ok_for_constraint_p, s390_const_double_ok_for_constraint_p,
s390_extra_constraint_str): Functions removed. s390_extra_constraint_str): Functions removed.
......
...@@ -220,7 +220,8 @@ indirect_data (rtx sym_ref) ...@@ -220,7 +220,8 @@ indirect_data (rtx sym_ref)
int lprefix; int lprefix;
const char *name; const char *name;
/* If we aren't generating fix-and-continue code, don't do anything special. */ /* If we aren't generating fix-and-continue code, don't do anything
special. */
if (TARGET_FIX_AND_CONTINUE == 0) if (TARGET_FIX_AND_CONTINUE == 0)
return 0; return 0;
...@@ -712,7 +713,8 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg) ...@@ -712,7 +713,8 @@ machopic_legitimize_pic_address (rtx orig, enum machine_mode mode, rtx reg)
gen_rtx_LO_SUM (Pmode, temp_reg, asym)); gen_rtx_LO_SUM (Pmode, temp_reg, asym));
emit_insn (gen_rtx_SET (VOIDmode, reg, mem)); emit_insn (gen_rtx_SET (VOIDmode, reg, mem));
#else #else
/* Some other CPU -- WriteMe! but right now there are no other platform that can use dynamic-no-pic */ /* Some other CPU -- WriteMe! but right now there are no other
platforms that can use dynamic-no-pic */
gcc_unreachable (); gcc_unreachable ();
#endif #endif
pic_ref = reg; pic_ref = reg;
...@@ -1110,12 +1112,15 @@ machopic_select_section (tree exp, int reloc, ...@@ -1110,12 +1112,15 @@ machopic_select_section (tree exp, int reloc,
? darwin_sections[text_unlikely_coal_section] ? darwin_sections[text_unlikely_coal_section]
: unlikely_text_section ()); : unlikely_text_section ());
else else
base_section = weak_p ? darwin_sections[text_coal_section] : text_section; base_section = weak_p ? darwin_sections[text_coal_section]
: text_section;
} }
else if (decl_readonly_section_1 (exp, reloc, MACHOPIC_INDIRECT)) else if (decl_readonly_section_1 (exp, reloc, MACHOPIC_INDIRECT))
base_section = weak_p ? darwin_sections[const_coal_section] : darwin_sections[const_section]; base_section = weak_p ? darwin_sections[const_coal_section]
: darwin_sections[const_section];
else if (TREE_READONLY (exp) || TREE_CONSTANT (exp)) else if (TREE_READONLY (exp) || TREE_CONSTANT (exp))
base_section = weak_p ? darwin_sections[const_data_coal_section] : darwin_sections[const_data_section]; base_section = weak_p ? darwin_sections[const_data_coal_section]
: darwin_sections[const_data_section];
else else
base_section = weak_p ? darwin_sections[data_coal_section] : data_section; base_section = weak_p ? darwin_sections[data_coal_section] : data_section;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment