(_place_orphan): Use an already existing section name if that section does not
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b423b74ad6a169478b01e94cd0616bf423ea8094..16ff5a6ec061d92f4fdac2a18372dbfb2014e7b8 100644 (file)
@@ -1,3 +1,160 @@
+2004-07-23  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/elf32.em (_place_orphan): Use an already existing
+       section name if that section does not have any flags set.
+
+2004-07-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (already_linked_hash_entry): Removed.
+       (already_linked): Likewise.
+       (already_linked_table): Likewise.
+       (section_already_linked): Call bfd_section_already_linked.
+       (lang_process): Replace already_linked_table_init with
+       bfd_section_already_linked_table_init and check return. Replace
+       already_linked_table_free with bfd_section_already_linked_table_free.
+
+2004-07-21  Nick Clifton  <nickc@redhat.com>
+
+       * ldlang.c (init_os): Make sure that the newly allocated userdata
+       structure is zeroed out.
+
+2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention the new --add-needed/--no-add-needed and
+       --as-needed/--no-as-needed options.
+
+2004-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
+       check the add_needed field.
+       (dt_needed): New struct.
+       (gld${EMULATION_NAME}_try_needed): Change the first argument
+       to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
+       bit in the file where the DT_NEEDED entry comes from.
+       (gld${EMULATION_NAME}_search_needed): Change the second
+       argument to a pointer to struct dt_needed.
+       (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
+       (gld${EMULATION_NAME}_after_open): Likewise.
+
+       * ld.texinfo: Add --add-needed document.
+       * ldlang.c (new_afile): Set p->add_needed.
+       * ldlang.h (lang_input_statement_type): Add add_needed field.
+       * ldmain.h (add_needed): Declare.
+       * ldmain.c (add_needed): New global var.
+       * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
+       OPTION_NO_ADD_NEEDED.
+       (ld_options): Likewise.
+       (parse_args): Handle them.
+
+2004-07-13  Christof Petig  <christof@petig-baender.de>
+
+       * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
+       for endian-ness of extracted addend.
+
+2004-07-13  Danny Smith  <dannysmith@usesr.sourceforge.net>
+
+       * pe-dll.c (auto_export):  Filter on just the import prefix,
+       "_imp_", not "_imp__".
+
+2004-07-09  Nick Clifton  <nickc@redhat.com>
+
+       * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
+
+2004-07-06  Tomer Levi  <Tomer.Levi@nsc.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
+       (eelf32crx.c): New target.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Handle crx-*-elf*.
+       * emulparams/elf32crx.sh: New file.
+       * emultempl/crxelf.em: New file.
+       * scripttempl/elf32crx.sc: New file.
+       * NEWS: Mention new target.
+
+2004-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * Makefile.am: Add eshlsymbian.c.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Add sh*-symbian-elf target.
+       * emulparams/shlsymbian.sh: New file.  Configure the
+       sh-symbian-elf linker scripts.
+       * scripttemp/elf32sh-symbian.sc: New file.  Linker script
+       template for the sh-symbian-elf target.
+
+2004-07-05  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
+       * emulparams/hppalinux.sh: Likewise.
+       * scripttempl/elf.sc: Place .plt just before .got when .plt is in
+       data segment and PLT_BEFORE_GOT is defined.
+
+2004-07-03  Aaron W. LaFramboise  <aaron98wiridge9@aaronwl.com>
+
+       * ld.texinfo (WIN32): Document PE weak symbols.
+
+2004-07-02  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
+
+2004-07-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
+       the section.
+
+2004-06-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (lang_reset_memory_regions): Save last relax pass section
+       size in rawsize.
+
+2004-06-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldlang.c (print_output_section_statement): Don't print size before
+       relaxation.
+       (IGNORE_SECTION): Remove bfd arg.  Update all callers.
+
+       * ldexp.c (fold_name): .. See below.
+       * ldlang.c (section_already_linked, print_output_section_statement,
+       print_input_section, insert_pad, size_input_section,
+       lang_check_section_addresses, lang_size_sections_1,
+       lang_size_sections, lang_do_assignments_1, lang_set_startof,
+       lang_one_common, lang_reset_memory_regions, lang_process,
+       lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
+       * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
+       * pe-dll.c (process_def_file, generate_reloc): ..
+       * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
+       gld${EMULATION_NAME}_before_allocation): ..
+       * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
+       * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
+       sh64_elf_${EMULATION_NAME}_after_allocation): ..
+       * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
+       * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
+       ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
+       "size" instead of "_raw_size" and "_cooked_size".  Expand
+       bfd_section_size macro invocations.
+
+2004-06-22  Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+       * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
+       ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
+       ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
+       ___crt_xt_end__.
+       (.tls): Define ___tls_start__ and ___tls_end__.
+
+2004-06-21  Alexandre Oliva  <aoliva@redhat.com>
+
+       * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
+
+2004-06-18  Adam Nemet  <anemet@lnxw.com>
+
+       * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
+       * configure: Regenerate.
+
+2004-06-15  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
+       .gcc_except_table output sections lost accidentally with
+       -z relro patch.
+
 2004-06-15  Alan Modra  <amodra@bigpond.net.au>
 
        * ldwrite.c (build_link_order): Use bfd_get_section_size
        * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
        segment if all input sections are readonly.
 
-2004-05-19  Adam Nemet  <anemet@lnxw.com> 
+2004-05-19  Adam Nemet  <anemet@lnxw.com>
 
        * scripttempl/i386lynx.sc: Remove file.
 
 
        * ld.texinfo (Output Section Address): Correct subsection name.
 
-2004-05-17  Adam Nemet  <anemet@lnxw.com> 
+2004-05-17  Adam Nemet  <anemet@lnxw.com>
 
        * configure.tgt (powerpc-*-lynxos* case): New case.
        * configure.host (i[3-7]86-*-lynxos* case): Remove case.
        before printing it with %W.
 
 2004-05-07  Brian Ford  <ford@vss.fsi.com>
-            DJ Delorie  <dj@redhat.com>
+           DJ Delorie  <dj@redhat.com>
 
        * emultempl/pe.em (real_flags): New static.
        (OPTION_LARGE_ADDRESS_AWARE): New define.
 
 2004-04-30  Eric Botcazou  <ebotcazou@act-europe.fr>
 
-       * ld.texinfo (--gc-sections): Remove restriction for 
+       * ld.texinfo (--gc-sections): Remove restriction for
        dynamic linking.
 
 2004-04-29  Brian Ford  <ford@vss.fsi.com>
This page took 0.024899 seconds and 4 git commands to generate.