* ld.texinfo (Input Section Basics): Clarify ordering of output
[deliverable/binutils-gdb.git] / ld / ChangeLog
index fe9e0af2900e2913fa617b2fb21608935a4d8032..956682c69e3f5045f81dcf56c3e09e1b6308277f 100644 (file)
@@ -1,3 +1,182 @@
+2001-08-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld.texinfo (Input Section Basics): Clarify ordering of output
+       sections.
+       * ldlang.c (callback_t): Add wildcard_list param.
+       (walk_wild_section): Remove "section" param.  Rewrite for
+       lang_wild_statement_type change.  Remove unique_section_p test.
+       (walk_wild_file): Remove "section" param.
+       (walk_wild): Remove "section" and "file" params.
+       (lang_gc_wild): Likewise.
+       (wild): Likewise.  Modify for lang_wild_statement_type change.
+       (wild_sort): Likewise.  Add "sec" param.
+       (gc_section_callback): Likewise.
+       (output_section_callback): Likewise.  Do unique_section_p test.
+       (map_input_to_output_sections): Modify call to wild.
+       (lang_gc_sections_1): Likewise.
+       (print_wild_statement): Modify for lang_wild_statement_type
+       change.
+       (lang_add_wild): Replace filename, filenames_sorted param with
+       filespec.  Replace section_name, sections_sorted,
+       exclude_filename_list with section_list.
+       * ldlang.h (lang_add_wild): Here too.
+       (lang_wild_statement_type): Replace section_name, sections_sorted,
+       and exclude_filename_list with section_list.
+       * ldgram.y (current_file): Delete.
+       (%union): Add wildcard_list.
+       (file_NAME_list): Set type to wildcard_list.  Build a linked list
+       rather than calling lang_add_wild for each entry.
+       (input_section_spec_no_keep): Call lang_add_wild here instead.
+       * ld.h (struct wildcard_list): Declare.
+       * mri.c (mri_draw_tree): Modify to suit new lang_add_wild.
+
+2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * ldmain.c (main): initialize link_info.pei386_auto_import
+       * pe-dll.c: new tables for auto-export filtering
+       (auto_export): change API, pass abfd for contextual filtering.
+       Loop thru tables of excluded symbols instead of comparing
+       "by hand".
+
+2001-08-02  Paul Sokolovsky  <paul.sokolovsky@technologist.com>
+
+       * pe-dll.c: new variable pe_dll_enable_extra_debug. New
+       static variable current_sec (static struct sec *). Add
+       forward declaration for add_bfd_to_link.
+       (process_def_file): Don't export undefined symbols. Do not
+       export symbols starting with  "_imp__".  Call auto_export()
+       with new API.
+       (pe_walk_relocs_of_symbol): New function.
+       (generate_reloc): add optional extra debugging
+       (pe_dll_generate_def_file): eliminate extraneous initial blank
+       line in output
+       (make_one): enlarge symtab to make room for __nm__ symbols
+       (DATA auto-import support).
+       (make_singleton_name_thunk): New function.
+       (make_import_fixup_mark): New function.
+       (make_import_fixup_entry): New function.
+       (pe_create_import_fixup): New function.
+       (add_bfd_to_link): Specify that 'name' argument is a CONST
+       char *.
+       * pe-dll.h: declare new variable pe_dll_extra_pe_debug;
+       declare new functions pe_walk_relocs_of_symbol and
+       pe_create_import_fixup.
+       * emultempl/pe.em: add new options --enable-auto-import,
+       --disable-auto-import, and --enable-extra-pe-debug.
+       (make_import_fixup): New function.
+       (pe_find_data_imports): New function.
+       (pr_sym): New function.
+       (gld_${EMULATION_NAME}_after_open): Add optional extra pe
+       debugging. Call pe_find_data_imports.  Mark .idata as DATA, not
+       CODE.
+
+2001-08-02  Charles Wilson  <cwilson@ece.gatech.edu>
+
+       * ld.texinfo: add additional documentation for
+       --export-all-symbols.  Document --out-implib,
+       --enable-auto-image-base, --disable-auto-image-base,
+       --dll-search-prefix, --enable-auto-import, and
+       --disable-auto-import.
+       * ldint.texinfo: Add detailed documentation on auto-import
+       implementation.
+
+2001-07-30  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * ld.texinfo (Simple Assignments): Fix computation in SECTIONS
+       example.
+
+2001-07-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate
+
+2001-07-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * ldcref.c (check_section_sym_xref): New function.
+       (check_nocrossrefs): Call it.
+       (check_nocrossref): Interate over h->refs here instead of..
+       (check_refs): ..here.  Pass in the symbol name, section, and bfd
+       rather than hash_entry pointers.
+       (struct check_refs_info): Keep symbol name rather than hash entry.
+       Remove "same".
+       (check_reloc_refs): Tweak for above changes in check_refs_info.
+       Only report references to section syms when symname is NULL to
+       prevent duplicate messages for the same reloc.
+
+2001-07-19  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * ldexp.c (exp_print_tree): Use stderr if config.map_file is not
+       available.  Do not print NULL trees.
+       (exp_print_token): Print unknown tokens with values > 126 as
+       decimal values not ASCII characters.
+
+       * ldlang.c (lang_leave_overlay): If a region is specified assign
+       it to all sections inside the overlay unless they have been
+       assigned to the own, non-default, memory region.
+
+       * README: Add header for consistency with other README files.
+
+2001-07-14  H.J. Lu  <hjl@gnu.org>
+
+       * emultempl/elf32.em (output_prev_sec_find): Never return
+       bfd_abs_section_ptr, bfd_com_section_ptr nor
+       bfd_und_section_ptr.
+
+2001-07-14  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * Makefile.am (em32relf.c): Chnage dependencu from generic.em to
+       elf32.em.
+       * Makefile.in: Regenerate.
+
+2001-07-14  matthew green  <mrg@eterna.com.au>
+
+       * configure.tgt (i386-*-netbsdelf*): New target.
+       (i386-*-netbsd*): Set targ_extra_emuls to `elf_i386'
+
+2001-07-13  Jakub Jelinek  <jakub@redhat.com>
+
+       * emultempl/elf32.em (output_prev_sec_find): New.
+       (place_orphan): Use it.
+
+2001-07-11  H.J. Lu  <hjl@gnu.org>
+
+       * ldmain.c (main): Fix typos in the last change.
+
+2001-07-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldmain.c (main): Disallow -F and -f without -shared.
+
+2001-07-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * emultempl/pe.em (after_open): Check for the output_bfd not
+       having any coff_data structure allocated to it.
+
+2001-07-09  David O'Brien  <obrien@FreeBSD.org>
+
+       * emultempl/elf32.em: Do not assuming that contents of the buffer
+       returned from basename function will remain unchanged accross other
+       function calls.
+
+2001-07-03  H.J. Lu  <hjl@gnu.org>
+
+       * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on
+       2001-07-03. It creates dynamic entries even for static binaries.
+
+2001-07-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * scripttempl/elf.sc (DYNAMIC_PAD): New variable.
+       (DYNAMIC): Use it to reserve few dynamic entries for
+       post-linking tools.
+
+2001-06-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * emulparams/hppa64linux.sh: New file.
+       * configure.tgt: hppa*64*-*-linux* uses hppa64linux.sh
+       * Makefile.am (ALL_64_EMULATIONS): Add ehppa64linux.o
+       (ehppa64linux.c): Add rule to make it.
+       Run "make dep-am".
+       * Makefile.in: Regenerate.
+
 2001-06-21  Hans-Peter Nilsson  <hp@axis.com>
 
        * ld.texinfo (Options, -r): Mention restrictions when using
 
 2001-06-18  H.J. Lu <hjl@gnu.org>
 
-        * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
-        (diststuff): Add $(MANS).
-        * Makefile.in: Regenerated.
+       * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'.
+       (diststuff): Add $(MANS).
+       * Makefile.in: Regenerated.
 
-        * ld.1: Removed.
+       * ld.1: Removed.
 
 2001-06-18  Hans-Peter Nilsson  <hp@axis.com>
 
 
        * ldlang.c (walk_wild): Only call walk_wild_file if
        lookup_name returns something.
-        (lookup_name): If load_symbols fails, return NULL.
-        (load_symbols): Chnage to a boolean function.
-        (open_input_bfds): If load_symbols fails then do not make the
+       (lookup_name): If load_symbols fails, return NULL.
+       (load_symbols): Chnage to a boolean function.
+       (open_input_bfds): If load_symbols fails then do not make the
        executable.
 
 2001-06-08  Alan Modra  <amodra@bigpond.net.au>
 
 2001-05-02  Johan Rydberg  <jrydberg@opencores.org>
 
-        * emulparams/elf32openrisc.sh: New file.
+       * emulparams/elf32openrisc.sh: New file.
 
-        * Makefile.am: Add OpenRISC target.
-        * Makefile.in: Regenerated.
+       * Makefile.am: Add OpenRISC target.
+       * Makefile.in: Regenerated.
 
-        * configure.tgt: Add openrisc-*-* mapping.
+       * configure.tgt: Add openrisc-*-* mapping.
 
 2001-05-02  Nick Clifton  <nickc@redhat.com>
 
 
 2001-04-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
 
-        * ldlang.c (load_symbols): Give emulation a chance
-        to process unrecognized file before fatal error is
-        reported, not after.
+       * ldlang.c (load_symbols): Give emulation a chance
+       to process unrecognized file before fatal error is
+       reported, not after.
 
 2001-04-27  Sean McNeil <sean@mcneil.com>
 
 2001-02-26  H.J. Lu  <hjl@gnu.org>
 
        * ldlang.c (open_input_bfds): Set the bfd error handler so
-        that problems can be caught whilst loading symbols.
-        (record_bfd_errors): New function: Report BFD errors and mark
-        the executable output as being invalid.
+       that problems can be caught whilst loading symbols.
+       (record_bfd_errors): New function: Report BFD errors and mark
+       the executable output as being invalid.
 
 2001-02-22  Timothy Wall  <twall@cygnus.com>
 
This page took 0.03287 seconds and 4 git commands to generate.