* testsuite/Makefile.am (justsyms_2r.o): Add dependency on
[deliverable/binutils-gdb.git] / gold / ChangeLog
index 0f69f96eb28c5da5c26242f1a83142d870cde0b2..9bb3c20304c377d79d6c48ff264fdea9e28497c2 100644 (file)
@@ -1,3 +1,104 @@
+2008-04-11  Ian Lance Taylor  <iant@google.com>
+
+       * testsuite/Makefile.am (justsyms_2r.o): Add dependency on
+       justsyms.t.
+       * testsuite/Makefile.in: Rebuild.
+
+       * testsuite/script_test_2a.cc (script_test_string_a): Make 8 bytes
+       long.
+       * testsuite/script_test_2.cc (main): Adjust test.
+
+2008-04-11  David S. Miller  <davem@davemloft.net>
+           Ian Lance Taylor  <iant@google.com>
+
+       * options.h (General_options): Add entries for '-Y' and
+       '-relax'.
+       * options.cc (General_options:finalize): If -Y was used, add those
+       entries to the library path instead of the default "/lib" and
+       "/usr/lib".
+
+2008-04-11  David S. Miller  <davem@davemloft.net>
+
+       * testsuite/justsyms.t: Start at 0x100.
+       * testsuite/justsyms_1.cc: Adjust justsyms_string assertion.
+       * testsuite/script_test_2b.cc (script_test_string_b): Make 8 bytes
+       long.
+       * testsuite/script_test_2.cc: Adjust string and section length
+       checks.
+
+2008-04-09  Ian Lance Taylor  <iant@google.com>
+
+       PR gold/5996
+       * script-sections.cc (Sections_element::allocate_to_segment): Add
+       orphan parameter.
+       (Output_section_definition::allocate_to_segment): Likewise.
+       (Orphan_output_section::allocate_to_segment): Likewise.
+       (Script_sections::attach_sections_using_phdrs_clause): Don't
+       propagate non-PT_LOAD segments to orphan sections.
+       * testsuite/Makefile.am (script_test_3.stdout): Generate using
+       readelf rather than objdump.
+       * testsuite/script_test_3.sh: Adjust accordingly.  Test that
+       .interp section and PT_INTERP segment are the same size.
+       * testsuite/Makefile.in: Rebuild.
+
+       * symtab.cc (Symbol_table::add_from_dynobj): Only look for weak
+       aliases for symbols defined in the same object.
+       * testsuite/Makefile.am (check_PROGRAMS): Add weak_alias_test.
+       (weak_alias_test_SOURCES): New variable.
+       (weak_alias_test_DEPENDENCIES): New variable.
+       (weak_alias_test_LDFLAGS): New variable.
+       (weak_alias_test_LDADD): New variable.
+       (weak_alias_test_1_pic.o, weak_alias_test_1.so): New targets.
+       (weak_alias_test_2_pic.o, weak_alias_test_2.so): New targets.
+       (weak_alias_test_3.o): New target.
+       (weak_alias_test_4_pic.o, weak_alias_test_4.so): New targets.
+       * testsuite/weak_alias_test_main.cc: New file.
+       * testsuite/weak_alias_test_1.cc: New file.
+       * testsuite/weak_alias_test_2.cc: New file.
+       * testsuite/weak_alias_test_3.cc: New file.
+
+2008-04-08  Ian Lance Taylor  <iant@google.com>
+
+       * options.h (class General_options): Add --noinhibit-exec option.
+       * main.cc (main): Check --noinhibit-exec.
+
+       * options.h (class General_options): Define --wrap as a special
+       option.  Add wrap_symbols_ field.
+       (General_options::any_wrap_symbols): New function.
+       (General_options::is_wrap_symbol): New function.
+       * options.cc (General_options::parse_wrap): New function.
+       (General_options::General_options): Initialize wrap_symbols_.
+       * symtab.cc (Symbol_table::wrap_symbol): New function.
+       (Symbol_table::add_from_object): Handle --wrap.
+       * symtab.h (class Symbol_table): Declare wrap_symbol.
+       * target.h (Target::wrap_char): New function.
+       (Target::Target_info): Add wrap_char field.
+       * i386.cc (Target_i386::i386_info): Initialize wrap_char.
+       * x86_64.cc (Target_x86_64::x86_64_info): Likewise.
+       * testsuite/testfile.cc (Target_test::test_target_info):
+       Likewise.
+
+       * errors.cc (Errors::undefined_symbol): Mention symbol version if
+       there is one.
+
+       * layout.h (class Layout): Add added_eh_frame_data_ field.
+       * layout.cc (Layout::Layout): Initialize new field.
+       (Layout::layout_eh_frame): Don't add eh_frame_data_ to .eh_frame
+       output section until we find a section we merged successfully.
+       * object.cc (Sized_relobj::check_eh_frame_flags): Don't require
+       that the size be non-zero.
+
+       * merge.cc (Object_merge_map::get_output_offset): Remove inline
+       qualifier.
+
+2008-04-08  Craig Silverstein  <csilvers@google.com>
+
+       * configure.ac: Export new conditional variable HAVE_ZLIB.
+       * testsuite/Makefile.am (flagstest_o_specialfile): Condition
+       on HAVE_ZLIB.
+       (flagstest_o_specialfile_and_compress_debug_sections): Likewise.
+       * configure, Makefile.in, testsuite/Makefile.in: Rebuild.
+
 2008-04-07  Ian Lance Taylor  <iant@google.com>
 
        * version.cc (version_string): Set to "1.5".
This page took 0.024605 seconds and 4 git commands to generate.