* output.cc (Output_file::open): Add execute permission to empty file.
[binutils-gdb.git] / gold / ChangeLog
index 14709bfe23e5cbd6a5ed0e3c81085a9568621690..b486aea3bc4bca577e92a1733019df3e26a52318 100644 (file)
@@ -1,3 +1,110 @@
+2009-09-08  Cary Coutant  <ccoutant@google.com>
+
+       * output.cc (Output_file::open): Add execute permission to empty file.
+       * testsuite/Makefile.am (permission_test): New test.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-09-02  Ian Lance Taylor  <iant@google.com>
+
+       * output.cc (Output_file::resize): Call map_no_anonymous rather
+       than map.
+
+2009-09-01  Mikolaj Zalewski  <mikolajz@google.com>
+
+       * gold.cc: Include "incremental.h".
+       (queue_initial_tasks): Call Incremental_checker methods.
+       * incremental.cc: Include "output.h".
+       (Incremental_checker::can_incrementally_link_output_file): New
+       method.
+       * incremental.h (Incremental_checker): New class.
+
+       * output.cc (Output_file::open_for_modification): New method.
+       (Output_file::map_anonymous): Changed return type to bool.  Record
+       map in base_ field.
+       (Output_file::map_no_anonymous): New method, broken out of map.
+       (Output_file::map): Use map_no_anonymous and map_anonymous.
+       * output.h (class Output_file): Update declarations.
+
+2009-08-24  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (Command_line::Pre_options): New class.
+       (Command_line::pre_options): New member.
+       * options.cc (gold::options::ready_to_register): New variable.
+       (One_option::register_option): Do nothing if not registering options.
+       Assert if same short option registered twice.
+       (General_options::General_options): Turn off option registration when
+       done constructing.
+       (Command_line::Pre_options::Pre_options): New constructor.
+
+2009-08-24  Cary Coutant  <ccoutant@google.com>
+
+       * options.h (General_options::no_keep_memory): Remove incorrect
+       short option.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (am__skiplex, am__skipyacc): New.
+       * Makefile.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (AM_CPPFLAGS): Renamed from ...
+       (INCLUDES): ... this.
+       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add -Wno-portability.
+       (AM_CPPFLAGS): Renamed from ...
+       (INCLUDE): ... this.
+       * Makefile.in, testsuite/Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Likewise.
+       * config.in: Likewise.
+       * configure: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+       * Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
+       * testsuite/Makefile.am (AUTOMAKE_OPTIONS): Add foreign.
+       * Makefile.in: Regenerate.
+       * testsuite/Makefile.in: Regenerate.
+
+2009-08-19  Cary Coutant  <ccoutant@google.com>
+
+       * resolve.cc (Symbol_table::resolve): Don't complain about defined
+       symbols in shared libraries overridden by hidden or internal symbols
+       in the main program.
+
+2009-08-19  Chris Demetriou  <cgd@google.com>
+
+       * testsuite/debug_msg.sh: Match .* rather than ${srcdir} when
+       checking source file names in error messages.
+
+2009-08-18  Doug Kwan  <dougkwan@google.com>
+
+       * dynobj.cc (Sized_dynobj::setup): Take a Target object instead of
+       an elcpp::Ehdr as parameter.  Adjust call to set_target.
+       * dynobj.h (Sized_dynobj::setup): Take a Target object instead of
+       an elfcpp::Ehdr as parameter.
+       * object.cc (Object::set_target): Remove the version that looks up
+       a target and sets it.
+       (Sized_relobj::setup): Take a Target object instead of
+       an elfcpp::Ehdr as parameter.  Adjust call to set_target.
+       (make_elf_sized_object): Find target and ask target to
+       make an ELF object.
+       * object.h: (Object::set_target): Remove the version that looks up
+       a target and sets it.
+       (Sized_relobj::setup): Take a Target object instead of
+       an elfcpp:Ehdr as parameter.
+       * target.cc: Include dynobj.h.
+       (Target::do_make_elf_object_implementation): New.
+       (Target::do_make_elf_object): New.
+       * target.h (Target::make_elf_object): New template declaration.
+       (Target::do_make_elf_object): New method declarations.
+       (Target::do_make_elf_object_implementation): New template declaration.
+
+2009-08-14  Ian Lance Taylor  <iant@google.com>
+
+       * gold.h (FUNCTION_NAME): Define.
+       (gold_unreachable): Use FUNCTION_NAME.
+
 2009-08-12  Sriraman Tallam  <tmsriram@google.com>
 
        * icf.cc (Icf::find_identical_sections): Issue a warning when a