* bfd-in.h (_bfd_elf_tls_setup): Declare.
[deliverable/binutils-gdb.git] / ld / ChangeLog
index 496d3de529d95f6c236f7988cc73e724f676d7f3..7e6e10f67cf94a2f2c4474d2ede4cc98805c6d88 100644 (file)
@@ -1,3 +1,294 @@
+2003-11-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Call
+       _bfd_elf_tls_setup.
+
+2003-10-31  Nick Clifton  <nickc@redhat.com>
+
+        * ldlang.c (lookup_name): When looking for a previously loaded
+        file compare the local_sym_name not the filename, as the
+        filename might have been transformed via the search directory
+        path lookup.
+        If the sought-for file has not been found in the input file
+        chain then create a new node with the search_dirs_flag set so
+        that the entire set of directory paths will be scanned for it.
+
+2003-10-30  Andrew Cagney  <cagney@redhat.com>
+
+       * emultempl/pe.em, pe-dll.c: Replace "struct symbol_cache_entry"
+       with "struct bfd_symbol".
+
+2003-10-30 Phil Edwards <phil@codesourcery.com>
+
+       * Makefile.am (ALL_EMULATIONS): Add elf32mipswindiss.o.
+       (eelf32mipswindiss.c): New target.
+       * Makefile.in:  Regenerated.
+       * emulparams/elf32mipswindiss.sh:  New file.
+       * configure.tgt (i[3-7]86-*-vxworks*, arm-*-vxworks, sh-*-vxworks,
+       mips*-*-vxworks*):  Use ELF now.
+       (mips*-*-windiss):  New stanza, use elf32mipswindiss.
+
+2003-10-27  Stephane Carrez  <stcarrez@nerim.fr>
+
+       * scripttempl/elfm68hc12.sc: Define eeprom memory region.
+
+2003-10-25  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * ChangeLog-9197: Fix typos.
+       * NEWS: Likewise.
+       * ld.texinfo: Likewise.
+       * ldlang.c: Fix comment typos.
+
+2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (lang_vers_match): Fix a typo.
+
+2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (lang_vers_match): Check demangled symbols.
+
+2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * ldlang.c (lang_vers_match): Check "symbol" instead of
+       "wildcard" and "pattern". Fix a typo.
+       (lang_finalize_version_expr_head): Likewise.
+       (lang_register_vers_node): Likewise.
+       (realsymbol): New function.
+       (lang_new_vers_pattern): Set "symbol" and remove "wildcard".
+
+       * ldlex.l (V_IDENTIFIER): Allow '\\'.
+
+2003-10-24  Nick Clifton  <nickc@redhat.com>
+
+       * emultempl/m68hc1xelf.em (before_allocation): Add missing second
+       parameter to lang_memory_region_lookup.
+
+2003-10-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * ldlang.c: Include hashtab.h.
+       (lang_vers_match_lang_c, lang_vers_match_lang_cplusplus,
+       lang_vers_match_lang_java): Remove.
+       (lang_vers_match): New function.
+       (lang_new_vers_pattern): Initialize wildcard and mask
+       fields, don't initialize match.
+       (lang_new_vers_node): Use xcalloc.  Adjust for globals and
+       locals field type changes.  Set match field.
+       (version_expr_head_hash, version_expr_head_eq): New functions.
+       (lang_finalize_version_expr_head): New function.
+       (lang_register_vers_node): Call lang_finalize_version_expr_head.
+       Search in hash table if not wildcard when looking for duplicates.
+       * emultempl/ppc64elf.em (new_vers_pattern): Don't bother with
+       duplicate checking.  Initialize all fields of dot_entry from entry
+       with the exception of pattern and next.
+
+2003-10-21  Nick Clifton  <nickc@redhat.com>
+
+        * ldlang.c (lang_memory_region_lookup): Add second parameter -
+        create - which is true if the region is being created.  Issue
+        appropriate warning messages for finding and not finding
+        already created regions.
+        (lang_memory_default): Use DEFAULT_MEMORY_REGION.
+        (lang_leave_overlay_section): Likewise.
+        (lang_size_sections_1): Likewise.
+        Pass second parameter to lang_memory_region_lookup.
+        (lang_get_regions): Likewise.
+        * ldlang.h (DEFAULT_MEMORY_REGION): Define.
+        Update prototype for lang_memory_region_lookup.        
+       * ldgram.y: Pass second parameter to lang_memory_region_lookup.
+        Use DEFAULT_MEMORY_REGION instead of "*default".
+        
+2003-10-20  Andrew Cagney  <cagney@redhat.com>
+
+       * pe-dll.c: Replace "struct sec" with "struct bfd_section".
+
+2003-10-19  Marek Michalkiewicz  <marekm@amelek.gda.pl>
+
+       * Makefile.am: Remove old (before GCC 3.3) emulations for AVR
+       target: avr1200, avr23xx, avr4433, avr44x4, avr85xx, avrmega103,
+       avrmega161, avrmega603.  Default to avr2.
+       * Makefile.in: Regenerate.
+       * configure.tgt: Likewise.
+       * emulparams/avr1200.sh: Remove.
+       * emulparams/avr23xx.sh: Remove.
+       * emulparams/avr4433.sh: Remove.
+       * emulparams/avr44x4.sh: Remove.
+       * emulparams/avr85xx.sh: Remove.
+       * emulparams/avrmega103.sh: Remove.
+       * emulparams/avrmega161.sh: Remove.
+       * emulparams/avrmega603.sh: Remove.
+       * scripttempl/elf32avr.sc: Remove.
+
+2003-10-19  Andreas Schwab  <schwab@suse.de>
+
+       * emultempl/ticoff.em (gld_${EMULATION_NAME}_list_options): Add
+       newline to message.
+
+       * deffilep.y: Remove commas from %token lines.
+
+2003-10-18  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * emultempl/mmix-elfnmmo.em (mmix_before_allocation): Force linker
+       relaxation always; don't exclude relocatable linking.  Adjust for
+       _bfd_mmix_prepare_linker_allocated_gregs renamed to
+       _bfd_mmix_before_linker_allocation.
+       (mmix_after_allocation): Adjust for
+       _bfd_mmix_finalize_linker_allocated_gregs renamed to
+       _bfd_mmix_after_linker_allocation.
+       * scripttempl/mmo.sc: Use ADDR (.text), not . - SIZEOF (.text).
+
+       * ldlang.c (lang_size_sections): Last, set _cooked_size for output
+       sections.
+
+2003-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (GENSCRIPTS_EXTRA, GEN_EXTRA_DEPENDS): Remove.  Use
+       GENSCRIPTS and GEN_DEPENDS in place of these.
+       * Makefile.in: Regenerate.
+       * genscripts_extra.sh: Delete.  Merge extra functionality to..
+       * genscripts.sh: ..here.
+
+       * emulparams/gld960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Define.
+       * emulparams/gld960coff.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
+       * emulparams/lnk960.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
+       * emulparams/m88kbcs.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
+       * emulparams/vanilla.sh (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto.
+
+2003-10-16  Alan Modra  <amodra@bigpond.net.au>
+
+       * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Don't
+       use $EMULATION_NAME to call bfd function.
+
+2003-10-14  Danny Smith  <dannysmith@users.sourceforge.net>  
+
+       * pe-dll.c (pe_implied_import_dll): Also scan .rdata sections
+       to identify data symbols.
+
+2003-10-13  Richard Sandiford  <rsandifo@redhat.com>
+
+       * emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Move
+       definition from elf64btsmip.sh.
+       (TEXT_DYNAMIC): Likewise elf32btsmipn32.sh.
+       * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Remove.
+       * emulparams/elf64btsmip.sh (INITIAL_READONLY_SECTIONS): Remove.
+       * emulparams/elf64bmip.sh (SHLIB_TEXT_START_ADDR): Define.
+       (EXECUTABLE_SYMBOLS): Set __elf_header correctly for shared objects.
+       Define __program_header_table in terms of __elf_header.
+
+2003-10-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (eelf64_ia64.c): Also depend on
+       $(srcdir)/emultempl/ia64elf.em.
+       * Makefile.in: Regenerated.
+
+       * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf.
+
+       * emultempl/ia64elf.em: New.
+
+2003-10-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine.
+
+2003-10-11  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbols
+       defined before the statement using DEFINED yield 1.
+       * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum,
+       call lang_track_definedness on symbol.  In subsequent phases, use
+       lang_symbol_definition_iteration and lang_statement_iteration to
+       check whether the symbol was defined before the current statement.
+       (exp_fold_tree) <case etree_assign et al>: Call
+       lang_update_definedness before updating symbol type when setting
+       symbol.
+       * ldlang.c (lang_definedness_table): New variable.
+       (lang_definedness_newfunc, lang_track_definedness)
+       (lang_symbol_definition_iteration, lang_update_definedness): New
+       functions.
+       (lang_init): Initialize lang_definedness_table and
+       lang_statement_iteration.
+       (lang_finish): Destroy bfd_hash_table_free.
+       (lang_size_sections): Increment lang_statement_iteration.
+       (lang_do_assignments_1): New function with former
+       lang_do_assignments contents.  Change recursive calls to call this
+       function.
+       (lang_do_assignments): Evacuate contents.  Increment
+       lang_statement_iteration, then just call lang_do_assignments_1.
+       * ldlang.h (struct lang_definedness_hash_entry)
+       (lang_statement_iteration, lang_track_definedness)
+       (lang_symbol_definition_iteration, lang_update_definedness):
+       Declare.
+
+2003-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * scripttempl/elf.sc (__executable_start): Provide.
+
+2003-10-09  Daniel Jacobowitz  <drow@mvista.com>
+
+       * emulparams/armelf.sh: Define NO_SMALL_DATA.
+       * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh,
+       emulparams/armnto.sh: Likewise.
+
+2003-10-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell
+       whether to skip test for no memory region.
+
+2003-10-08  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args: OPTION_CALL_SHARED): Revise comment
+       describing defaults.  Change default to report unresolved symbols
+       in object files as well.
+
+2003-10-08  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * ldexp.c (fold_name) <case DEFINED>: Set section of result to
+       abs_output_section.
+
+2003-10-07  Bob Wilson  <bob.wilson@acm.org>
+
+       * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS,
+       OTHER_READWRITE_SECTIONS, OTHER_SECTIONS): Set section addresses to
+       zero for relocatable links.
+
+2003-10-07  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*.
+
+2003-10-07  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * ldwrite.c (unsplittable_name): New.
+       (clone_section): Strip existing numeric suffix. Only truncate names
+       for coff targets.
+       (split_sections): Use unsplittable_name.
+
+2003-10-06  Nick Clifton  <nickc@redhat.com>
+
+       * lexsup.c (parse_args): Report unresolved symbols in shared
+       libraries when creating a dynamic executable.  This is a
+       restoration of the default behaviour for previous versions of
+       the linker.
+
+2003-10-06  Matt Thomas <matt@3am-software.com>
+
+       * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT.
+       * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa".
+
+2003-10-06  Robert Millan  <robertmh@gnu.org>
+
+       * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet.
+
+2003-10-02  Ivan Warren <ivan@vmfacility.fr>
+
+        * pe-dll.c (make_one): Correct sym def order & pick right sym for
+       .idata$7 reloc.
+
+2003-09-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * NEWS: Add an indication of the cutoff for 2.14.
+
+2003-09-30  Chris Demetriou  <cgd@broadcom.com>
+
+       * ldmain.c (get_emulation): Ignore "-mips64r2".
+
 2003-09-03  Robert Millan  <robertmh@gnu.org>
 
        * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu
This page took 0.036948 seconds and 4 git commands to generate.