OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 9742a6c..bdc6b36 100644 (file)
@@ -1,3 +1,48 @@
+2006-11-20  Carlos O'Donell  <carlos@codesourcery.com>
+           Mark Mitchell  <mark@codesourcery.com>
+
+       * cppdefault.c: Define cpp_PREFIX, cpp_PREFIX_len, and 
+       gcc_exec_prefix.
+       (cpp_relocated): New function.
+       * cppdefault.h: Declare cpp_PREFIX, cpp_PREFIX_len, gcc_exec_prefix 
+       and cpp_relocated. 
+       * Makefile.in (PREPROCESSOR_DEFINES): Add -DPREFIX option.
+       * c-incpath.c (add_standard_paths): Call cpp_relocated. If relocated,
+       replace configured prefix with gcc_exec_prefix. 
+
+2006-11-20  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin/bfin.h (LEGITIMATE_CONSTANT_P): Call
+       bfin_legitimate_constant_p.
+       * config/bfin/bfin.md (movsi expander): Check return value of
+       expand_mvoe.
+       * config/bfin/bfin-protos.h (bfin_legitimate_constant_p): Declare.
+       (expand_move): Adjust prototype.
+       * config/bfin/bfin.c (expand_move): Now returns bool.  Handle
+       invalid constants specially.
+       (bfin_cannot_force_const_mem, bfin_legitimate_constant_p): New
+       functions.
+       (TARGET_CANNOT_FORCE_CONST_MEM): New macro.
+
+       * config/bfin/bfin.md (call_symbol, call_value_symbol, sibcall_symbol,
+       sibcall_value_symbol): Allow these patterns if
+       TARGET_LEAF_ID_SHARED_LIBRARY.
+       * config/bfin/bfin.c (bfin_expand_call): Allow them here as well.
+       (override_options): Turn on id shared library flags if -msep-data,
+       but disallow the combination of these options on the command line.
+       * config/bfin/bfin.h (TARGET_LEAF_ID_SHARED_LIBRARY, MASK_SEP_DATA
+       MASK_LEAF_ID_SHARED_LIBRARY, TARGET_SEP_DATA): New macros.
+       (DRIVER_SELF_SPECS): -mleaf-id-shared-library implies
+       -mid-shared-library.
+       (TARGET_SWITCHES): Add -mleaf-id-shared-library and -msep-data.
+       * doc/invoke.texi (Blackfin Options): Document new switches.
+
+       * config/bfin/bfin.c (bfin_function_ok_for_sibcall): Handle some
+       edge cases with local functions and TARGET_ID_SHARED_LIBRARY.
+
+       * tree-ssa-loop-ivopts.c (get_address_cost): Do not artificially
+       inflate costs for addresses with an out-of-bounds address.
+
 2006-11-19  Andrew Pinski  <pinskia@gmail.com>
 
        PR rtl-opt/29879