diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6941 | ||||
-rw-r--r-- | ld/ChangeLog-0001 | 3376 | ||||
-rw-r--r-- | ld/ChangeLog-0203 | 1645 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog | 3377 | ||||
-rw-r--r-- | ld/testsuite/ChangeLog-9303 | 3376 |
5 files changed, 8406 insertions, 10309 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2666cbf..eacd265 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,6944 +1,5 @@ -2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> - Add m32r-linux and PIC support. Add new ABI that uses RELA. - * Makefile.am: Added em32rlelf.c, em32relf_linux.c, - em32rlelf_linux.c. - * Makefile.in: Regenerate. - * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added. - * emulparams/m32relf_linux.sh: Added. - * emulparams/m32rlelf.sh: Ditto. - * emulparams/m32rlelf_linux.sh: Ditto. - * NEWS: Mention support m32r Linux. - -2003-12-18 Eric Youngdale <eric@mkssoftware.com> - Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (_after_open): When scanning MS import - libraries allow for the possible presence of static objects. - -2003-12-07 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to - cplus_demangle. - -2003-12-07 Kazu Hirata <kazu@cs.umass.edu> - - * ldemul.c: Convert to ISO-C. - * ldver.c: Likewise. - -2003-12-06 Kazu Hirata <kazu@cs.umass.edu> - - * lexsup.c (is_num): Remove. - -2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> - - * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to - 0. This fixes "bad fixup" error generated by MS linker. - -2003-12-04 H.J. Lu <hongjiu.lu@intel.com> - - * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set - link_info.need_relax_finalize to TRUE. - - * ldlang.c (lang_process): Use link_info.need_relax_finalize - instead of link_info.relax_finalizing. - * ldmain.c (main): Likewise. - -2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> - - * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. - -2003-12-04 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_do_assignments): Function return is void. - * ldlang.h (lang_do_assignments): Ditto. - * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. - * Makefile.am (ens32knbsd.c): Depend on netbsd.em. - * Makefile.in: Regenerate. - -2003-12-03 Dave Airlie <airlied@linux.ie> - - * configure.tgt: Add vax-linux-gnu target. - -2003-12-03 Dmitry Diky <diwil@mail.ru> - - * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for - forthcoming devices. - (_etext): provide this defenition for all scripts. - -2003-12-02 Kazu Hirata <kazu@cs.umass.edu> - - * emultempl/beos.em: Remove ARGSUSED. - -2003-12-03 Alan Modra <amodra@bigpond.net.au> - - * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed - bfd_link_hash_entry field "next" -> "und_next". - (pe_find_data_imports): Likewise. - (gld_${EMULATION_NAME}_after_open): Likewise. - * emultempl/sunos.em (before_allocation): Likewise. - -2003-12-02 Nick Clifton <nickc@redhat.com> - - * ld.texinfo (Options): --ignore-all is no longer the default - behaviour for shared libraries and dynamic executables. - -2003-12-02 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-12-02 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Remove mpc860c0 code. - * lexsup.c (enum option_values): Delete OPTION_MPC860C0. - (ld_options): Delete mpc860c0 entry. - (parse_args): Likewise. - -2003-12-01 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test - hash table type rather than testing creator flavour. - * emultempl/hppaelf.em (hppaelf_create_output_section_statements): - Only create stub_file bfd if hash table creator is as expected. - (gld${EMULATION_NAME}_finish): Test stub_file. - -2003-11-28 Marcel Moolenaar <marcel@xcllnt.net> - - * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. - (DATA_ADDR): Unset. - -2003-11-18 James E Wilson <wilson@specifixinc.com> - - * ldlang.c (lang_process): Move lang_reset_memory_regions call after - lang_do_assignments call. - - * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include - .rela.opd if -pie. - -2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au> - - * scripttempl/pe.sc: Add support for TLS sections. - -2003-11-09 Alan Modra <amodra@bigpond.net.au> - - * configure.host (HOSTING_LIBS): Group libgcc and libc with - --start-group, --end-group pair. - (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. - (am33_2.0-*-linux*): Edit default HOSTING_CRT0. - (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. - (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. - -2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org> - - * ldfile.c (ldfile_open_file): Use "No such file" error message. - -2003-11-06 Bruno Rohee <bruno@rohee.com> - - * ls.texinfo: Fix "the the" typo. - -2003-11-05 Alan Modra <amodra@bigpond.net.au> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do - pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. - (pr_sym): Move inside #ifdef DLL_SUPPORT. - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap - unused variable. - - * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. - -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 - triplet. - * configure.tgt: Likewise. - -2003-08-29 Jafa <jafa@silicondust.com> - - * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. - -2003-08-21 Nick Clifton <nickc@redhat.com> - - * po/tr.po: Updated Turkish translation. - -2003-08-20 Nick Clifton <nickc@redhat.com> - - * ldmain.c: Initialise the new fields in bfd_link_info to - NOT_YET_SET. - * lexsup.c (enum option_values): New enum. Use this to - replace the hand coded values for the long switch options. - (ld_options): Add 'unresolved-symbols', - 'warn-unresolved-symbols' and 'error-unresolved-symbols'. - (parse_args): Handle the new switches. Set the values of - unresolved_symbols_in_objects and - unresolved_symbols_in_shared_libs appropriately. If they were - not initialised by the command line, install default values. - * emultempl/elf32.em (handle_option): Update OPTION_GROUP and - -z defs to use the new fields in bfd_link_info. - * ld.texinfo: Document the new switches. - * NEWS: Mention this feature. - -2003-08-15 Dmitry Diky <diwil@mail.ru> - - * Makefile.am (GENSCRIPTS_EXTRA): New script definition which - calls genscripts_extra.sh. - Rearrange all msp430 depends using this script. - * Makefile.in: Regenerate. - * genscripts_extra.sh: New file: Similar to genscripts.sh, except - that the script to be run to generate the emulations can be passed - as an optional parameter instead of being computed from the - emulation name. - * emulparams/msp430all.sh: New file: Combine all msp430 subdevice - definitions into one file. - * emulparams/msp430x*.sh: Removed. - -2003-08-15 Nick Clifton <nickc@redhat.com> - - * ld.texinfo (Options): Put keywords for the -z option into a - table. Add more text describing what the -z now option does. - -2003-08-14 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Remove libintl.h. - * Makefile.am (POTFILES.in): Unset LC_COLLATE. - * Makefile.in: Regenerate. - -2003-08-13 Alan Modra <amodra@bigpond.net.au> - - * genscripts.sh (libpath.exp): Only generate for first emulation. - (LIB_PATH): Correct order of paths. Don't add $tool_lib when - already present or when LIB_PATH is set to ":". - -2003-08-12 Ian Lance Taylor <ian@airs.com> - - * ldmain.c (undefined_symbol): Change parameter name from `fatal' - to `error'. If only a warning, put warning in the reported - string. Consistently set failure flag when not a warning. - -2003-08-08 Dmitry Diky <diwil@mail.ru> - - * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to - gcc order. - * Makefile.in: Regenerate. - * configure.tgt: Add extra emulations. - * emulparams/msp430xE423.sh: New file. - * emulparams/msp430xE427.sh: New file. - * emulparams/msp430xW425.sh: New file. - * emulparams/msp430xE425.sh: New file. - * emulparams/msp430xW423.sh: New file. - * emulparams/msp430xW427.sh: New file. - -2003-08-07 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): - Change second (cmdline) arg to lang_add_entry to FALSE. - (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. - -2003-08-05 Christian Groessler <chris@groessler.org> - Jason Eckhardt <jle@rice.edu> - - * configure.tgt: Recognize new target i860-*-coff. - * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. - (ecoff_i860.c): New rule. - * emulparams/coff_i860.sh: New file. - * scripttempl/i860coff.sc: New file. - * Makefile.in: Regenerate. - -2003-08-04 Nick Clifton <nickc@redhat.com> - - * emultempl/elf32.em (before_allocation): Prepend "warning: " - to messages produced for .gnu.warning.SYMBOL sections. - -2003-08-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put - .rel.dyn before other reloc sections. Don't stop looking for reloc - sections on finding one that isn't allocated. Match .rel even when - placing .rela and vice versa, when setting last_rel and - last_rel_alloc for the first time. If no reloc sections in script, - prefer allocated section over non-alloc. - (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. - -2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack - section for shared library. - * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. - * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. - -2003-07-29 Stephane Carrez <stcarrez@nerim.fr> - - * scripttempl/elfm68hc12.sc: Add gcc_except_table. - * scripttempl/elfm68hc11.sc: Likewise. - -2003-07-28 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. - - * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. - -2003-07-27 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Typo fixes. Document SUBALIGN. - * ldgram.y (opt_subalign): Add. - * ldlex.l (SUBALIGN): Recognize. - * ldlang.c (overlay_subalign): New var. - (lang_enter_overlay): Add subalign param. - (lang_enter_overlay_section): Pass overlay_subalign to - lang_enter_output_section_statement. - * ldlang.h (lang_enter_overlay): Update. - -2003-07-24 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2003-07-23 Stephane Carrez <stcarrez@nerim.fr> - - * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into - account .tramp sections; - * scripttempl/elfm68hc12.sc: Likewise. - -2003-07-17 Charles Wilson <cwilson@ece.gatech.edu> - - * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] - -2003-07-17 Nick Clifton <nickc@redhat.com> - - * po/es.po: New Spanish translation. - -2003-07-11 Alan Modra <amodra@bigpond.net.au> - - * po/ld.pot: Regenerate. - -2003-07-10 Bob Wilson <bob.wilson@acm.org> - - * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit - with new .got.loc section. - (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for - non-relocating links. - (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce - sections separate for non-relocating links; likewise for .xt.insn. - -2003-07-10 Alexandre Oliva <aoliva@redhat.com> - - 2001-08-22 Alexandre Oliva <aoliva@redhat.com> - * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. - 2001-05-09 Alexandre Oliva <aoliva@redhat.com> - * configure.host (am33_2.0-*-linux*): Added. - * configure.tgt (am33_2.0-*-linux*): Likewise. - * emulparams/elf32am33lin.sh: New. - * Makefile.am (eelf32am33lin.c): New rule. - * Makefile.in: Rebuilt. - -2003-07-09 Alexandre Oliva <aoliva@redhat.com> - - 2001-04-17 Alexandre Oliva <aoliva@redhat.com> - * emulparams/mn10300.sh (TEMPLATE_NAME): Define. - (GENERATE_SHLIB_SCRIPT): Likewise. - -2003-07-10 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. - (GOT): Define. - * emultempl/ppc64elf.em (stub_added): New static var. - (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. - (ppc_add_stub_section): Set stub_added. - (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust - ppc64_elf_size_stubs call and test for stubs. - * scripttempl/elf.sc (GOT): Define and use. - -2003-07-08 J"orn Rennecke <joern.rennecke@superh.com> - - * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): - Allow second call from ldemul_finish. - -2003-07-04 J"orn Rennecke <joern.rennecke@superh.com> - - * emulparams/shelf32.sh (STACK_ADDR): Don't define. - (OTHER_SECTIONS): Include .stack. - * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. - -2003-07-02 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include - .opd if -pie. - (OTHER_READWRITE_SECTIONS): Include .opd if -pie. - * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR - if -pie. - -2003-06-28 Alan Modra <amodra@bigpond.net.au> - - * ld.h: Convert to C90, remove unnecessary prototypes and casts. - Replace PTR with void *. Formatting. - * ldcref.c: Likewise. - * ldctor.c: Likewise. - * ldctor.h: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.h: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmain.h: Likewise. - * ldmisc.c: Likewise. - * ldmisc.h: Likewise. - * ldver.h: Likewise. - * ldwrite.c: Likewise. - * ldwrite.h: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * mri.h: Likewise. - * pe-dll.c: Likewise. - * pe-dll.h: Likewise. - * deffilep.y: Likewise. - * deffile.h: Likewise. Don't include ansidecl.h. - * emulparams/elf32mcore.sh: Remove unnecessary cast. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/ticoff.em: Remove lang_add_output_format declaration. - * sysdep.h: Don't include ansidecl.h. - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2003-06-27 Nick Clifton <nickc@redhat.com> - - * deffilep.y (def_file_add_directive): Cope with NUL seperated - directives. Fix reporting of unparseable directives. - (def_error): Check for a NULL def_filename. - -2003-06-27 Alan Modra <amodra@bigpond.net.au> - - * emultempl/aix.em: Convert to C90, remove unnecessary prototypes - and casts. Replace PTR with void *. Formatting. - * emultempl/alphaelf.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68hc1xelf.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/mipself.em: Likewise. - * emultempl/mmix-elfnmmo.em: Likewise. - * emultempl/mmixelf.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/needrelax.em: Likewise. - * emultempl/netbsd.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sh64elf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - * Makefile.am: Correct dependencies. - * Makefile.in: Regenerate. - -2003-06-25 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Correct spelling of "relocatable". - * ldctor.c: Likewise. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldint.texinfo: Likewise. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * ldwrite.c: Likewise. - * lexsup.c: Likewise. - * emultempl/aix.em: Likewise. - * emultempl/alphaelf.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68hc1xelf.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/m68kelf.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/mipself.em: Likewise. - * emultempl/mmix-elfnmmo.em: Likewise. - * emultempl/mmo.em: Likewise. - * emultempl/needrelax.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/sh64elf.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/xtensaelf.em: Likewise. - -2003-06-24 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em: Convert to C90. - -2003-06-20 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em: Convert to C90 function definitions, remove - unnecessary prototypes and casts. - -2003-06-19 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out - statistics from ppc64_elf_build_stubs. - -2003-06-19 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (build_section_lists): Check return status - from ppc64_elf_next_input_section. - -2003-06-17 H.J. Lu <hongjiu.lu@intel.com> - - * ldlang.c (section_already_linked): Put back assignment of - kept_section. - -2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com> - - * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D - reloc. - -2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> - - * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 - if not produced by gcc. - -2003-06-16 Hans-Peter Nilsson <hp@axis.com> - - * configure.tgt: Add specific case for cris-*-linux-gnu* - with crislinux emulation only. - -2003-06-13 Robert Millan <zeratul2@wanadoo.es> - - * configure.tgt: Add i386-netbsd-gnu target. - -2003-06-12 Richard Sandiford <rsandifo@redhat.com> - - * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations - to $targ_extra_libpath. - -2003-06-11 H.J. Lu <hongjiu.lu@intel.com> - - * po/Make-in (DESTDIR): New. - (install-data-yes): Support $(DESTDIR). - (uninstall): Likewise. - -2003-06-10 Doug Evans <dje@sebabeach.org> - - * Makefile.am (ALL_EMULATIONS): Add em32relf.o. - * Makefile.in: Regenerate. - -2003-06-10 Richard Sandiford <rsandifo@redhat.com> - - * configure.tgt (h8300*): Add h8300sxn emulations. - * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. - (eh8300sxn.c, eh8300sxnelf.c): New rules. - * Makefile.in: Regenerate. - * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. - * scripttempl/h8300sxn.sc: New file. - -2003-06-10 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, - CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. - -2003-06-08 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. - (build_toc_list): New function. - (gld${EMULATION_NAME}_finish): Call build_toc_list and - ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. - (OPTION_STUBSYMS): Define. - (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. - (PARSE_AND_LIST_OPTIONS): Document. - (PARSE_AND_LIST_ARGS_CASES): Handle. - -2003-06-05 Roland McGrath <roland@redhat.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove - extra \t in -z noexecstack line. - -2003-05-23 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (phdr_type): Grok PT_GNU_STACK. - * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add - -z execstack and -z noexecstack. - (gld${EMULATION_NAME}_list_options): Likewise. - * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. - -2003-06-03 Michael Snyder <msnyder@redhat.com> - and Bernd Schmidt <bernds@redhat.com> - and Alexandre Oliva <aoliva@redhat.com> - - * Makefile.am: Add new emulations for h8300sx. - * Makefile.in: Regenerate. - * configure.tgt: Add new emulations. - * emulparams/h8300sx.sh: New emulation. - * emulparams/h8300sxelf.sh: Ditto. - * scripttempl/h8300sx.sc: Ditto. - -2003-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * ldmisc.c: Include "bfdlink.h". - (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION - and -LD_DEFINITION_IN_DISCARDED_SECTION. - - * Makefile.am: Rebuild dependency. - * Makefile.in: Regenerated. - -2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. - * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. - -2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> - - * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is - sorted alphabetically, instead of exported_symbols, which is - sorted by ordinal. - -2003-05-30 Ulrich Drepper <drepper@redhat.com> - Jakub Jelinek <jakub@redhat.com> - - * lexsup.c (OPTION_PIE): Define. - (ld_options): Add -pie and --pic-executable options. - (parse_args): Handle OPTION_PIE. - * ldmain.c (main): Initialize link_info.pie and - link_info.executable. - * genscripts.sh: Generate PIE scripts. - * ld.texinfo: Document -pie and --pic-executable options. - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): - (gld${EMULATION_NAME}_place_orphan): Likewise. - (gld${EMULATION_NAME}_get_script): Include PIE scripts. - * scripttempl/elf.sc: In PIE scripts set . the same way as in - shared scripts. - * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. - * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. - * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. - -2003-05-30 H.J. Lu <hongjiu.lu@intel.com> - - * genscripts.sh: Create tmpdir/libpath.exp. - -2003-05-30 Nick Clifton <nickc@redhat.com> - - * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT - with a test for a NULL bfd_for_interworking. - -2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS - correctly for more recent versions of NetBSD. - (alpha*-*-netbsd*): Remove. - (i[3-7]86-*-netbsd*): Remove. - -2003-05-29 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. - -2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> - - * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to - trap on pointer crops. - -2003-05-21 Marcus Comstedt <marcus@mc.pp.se> - - * configure.tgt: Check for a target triplet of shl-...-netbsdelf - as well as shle-...-netbsdelf. - -2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> - - * configure.host: Accept i[3-7]86 variants. - * configure.tgt: Likewise. - -2003-05-15 H.J. Lu <hongjiu.lu@intel.com> - - * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. - -2003-05-09 Daniel Jacobowitz <drow@mvista.com> - - * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. - (earmelfb.c, earmelfb_linux.c): New rules. - * Makefile.in: Regenerated. - * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. - * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. - -2003-05-09 Nick Clifton <nickc@redhat.com> - - * ldlang.c (lang_size_sections_1): Default to generating a - fatal error message if a loadable section is not allocated - to a memory region when regions are defined. - -2003-05-09 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (em68hc11elf.c): Correct dependencies. - (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. - * Makefile.in: Regenerate. - * emultempl/elf32.em (find_exp_assignment): Adjust for changed - bfd_elf_record_link_assignment name. - -2003-05-07 Alexandre Oliva <aoliva@redhat.com> - - * ldmain.h (overflow_cutoff_limit): Declare. - * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. - (reloc_overflow): Limit error messages based on it. - * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to - unlimited. - -2003-05-05 Alan Modra <amodra@bigpond.net.au> - - * ldlex.l: Accept C style comments in version scripts. - -2003-04-28 H.J. Lu <hjl@gnu.org> - - * ldlang.c (lang_process): Add the relax finalize pass. - - * ldmain.c (main): Initialize link_info.relax_finalizing to - FALSE. - -2003-04-24 Roland McGrath <roland@redhat.com> - - * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. - If a name string is unknown, give an error rather than crashing later. - -2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> - - * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, - eh8300hnelf.o, eh8300snelf.o and respective rules. - * Makefile.in: Regenerate. - * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf - * emulparams/h8300hn.sh: New - * emulparams/h8300sn.sh: New - * emulparams/h8300hnelf.sh: New - * emulparams/h8300snelf.sh: New - * scripttempl/h8300hn.sc: new - * scripttempl/h8300sn.sc: new - -2003-04-23 H.J. Lu <hjl@gnu.org> - - * ldmain.c (link_callbacks): Initialize error_handler. - - * ldmisc.c (error_handler): New function. - - * ldmisc.h (error_handler): New prototype. - -2003-04-21 Stephane Carrez <stcarrez@nerim.fr> - - * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. - * emulparams/m68hc11elfb.sh: Likewise. - * emulparams/m68hc12elf.sh: Likewise. - * emulparams/m68hc12elfb.sh: Likewise. - -2003-04-19 Stephane Carrez <stcarrez@nerim.fr> - - * emultempl/m68hc1xelf.em: New file to generate far trampolines on - 68HC11 and 68HC12. - (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to - generate. - (LDEMUL_FINISH): Override to generate the trampolines after gc and - linker relaxation. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the - stub file for trampolines. - (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options - --no-trampoline and --bank-window to control the memory bank window. - -2003-04-18 H.J. Lu <hjl@gnu.org> - - * ldfile.c (ldfile_add_library_path): Remove the unused - variable. - -2003-04-18 Andrew Haley <aph@cambridge.redhat.com> - - * scripttempl/xstormy16.sc (__data, __rdata): New. - -2003-04-16 Nick Clifton <nickc@redhat.com> - - * scripttempl/xstormy16.sc: Add .jcr section mapping. - -2003-04-15 H.J. Lu <hjl@gnu.org> - - From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: - - * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. - -2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> - - * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. - * ld.texinfo: Likewise. - -2003-04-14 Alan Modra <amodra@bigpond.net.au> - - From Prashanth Tamraparni <prashanth_t@in.ibm.com> - * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and - other variants of crtbegin.o, crtend.o. - (DTOR): Likewise. - * scripttempl/crisaout.sc (ctors, dtors): Likewise. - * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. - * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. - * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. - * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. - * scripttempl/mmo.sc (ctors, dtors): Likewise. - * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. - -2003-04-09 Dmitry Diky <diwil@mail.ru> - - * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors - sections to respect C++ constructor/destructor. Add ctors/dtors - start/stop definitions. - * scripttempl/elf32msp430_3.sc: Likewise. - -2003-04-06 Nick Clifton <nickc@redhat.com> - - * ld.texinfo (Options): Add a reminder of the target specific - nature to the description of the i386 PE specific options, for - readers who have not read all the way through the manual. - -2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> - - * configure.tgt: Fixed bug in list of targ_extra_emuls. - * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace - cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ - * emulparams/tic3xcoff_onchip.sh: Ditto - * emulparams/tic4xcoff.sh: Ditto - * scripttempl/tic4xcoff.sc: Ditto - -2003-04-03 Nick Clifton <nickc@redhat.com> - - * NEWS: Mention support for Xtensa architecture. - -2003-04-02 Nick Clifton <nickc@redhat.com> - - * pe-dll.c (pe_detail_list): arm-pe targets use underscores. - -2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): - Don't call pe_dll_build_section() if link_info.relocateable. - (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() - if link_info.relocateable. - -2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> - - * pe-dll.c (process_def_file): Don't create an export - section if there are no exports and we're building an exe - (pe_dll_build_sections): Ditto - (pe_dll_fill_sections): Conditionalize setting - abfd->dll true on info->shared - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): - If i386pe or armpe, call pe_dll_build_section() - for both exe's and dll's, not just dll's. - (gld_${EMULATION_NAME}_finish): For all targets except - shpe and mipspe, call pe_dll_fill_sections() for both - exe's and dll's, not just dll's. - -2003-04-02 Bob Wilson <bob.wilson@acm.org> - - * emulparams/xtensa-config.sh: Remove comment indicating that this is - a generated file. - -2003-04-01 Bob Wilson <bob.wilson@acm.org> - - * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. - (eelf32xtensa.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle xtensa-*-*. - * gen-doc.texi: Set XTENSA variable. - * ld.texinfo: Set XTENSA variable. Add new Xtensa node. - * emulparams/elf32xtensa.sh: New file. - * emulparams/xtensa-config.sh: Likewise. - * emultempl/xtensaelf.em: Likewise. - * scripttempl/elfxtensa.sc: Likewise. - -2003-04-01 Jakub Jelinek <jakub@redhat.com> - - * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 - targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath - if --enable-64-bit-bfd. - -2003-04-01 Nick Clifton <nickc@redhat.com> - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of - note section. - * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change - name of note section. - -2003-03-31 Alexandre Oliva <aoliva@redhat.com> - - * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of - --section-start. - -2003-03-31 David Heine <dlheine@suif.stanford.edu> - - * ldfile.c (ldfile_add_library_path): Always allocate space for - the filename. - * ldlang.c (lang_register_vers_node): Free the node if it cannot - be used. - * ldmain.c (set_scripts_dir): Always free the constructed - directory name. - (add_keepsyms_file): Fix memory leak. - * ldmisc.c (vfinfo): Likewise. - * lexsup.c (parse_args): Likewise. - -2003-03-25 Stan Cox <scox@redhat.com> - Nick Clifton <nickc@redhat.com> - - Contribute support for Intel's iWMMXt chip - an ARM variant: - - * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. - * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. - * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. - (.bss): Likewise. - -2003-03-25 Alexandre Oliva <aoliva@redhat.com> - - * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. - * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. - (main): Initialize them. - * ldfile.c: Include pathnames.h. - (is_sysrooted_pathname): New. - (ldfile_add_library_path): Use it. - (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't - search_dirs if given an absolute pathname. - (ldfile_open_file): Issue error message for sysrooted - absolute pathnames. - * Makefile.am: Updated dependencies. - * Makefile.in: Rebuild. - -2003-03-24 Daniel Néri <dne@mayonnaise.net> - - * ld.texinfo: Rename all occurances of C54X to TIC54X. - -2003-03-19 Andreas Schwab <schwab@suse.de> - - * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after - eof. - -2003-03-18 Danny Smith <dannysmith@users.sourceforge.net> - - * deffilep.y (opt_base): If no number given, set to default - (-1), not 0. - -2003-03-13 Danny Smith <dannysmith@users.sourceforge.net> - - * deffilep.y (def_import): Use default extension of "dll" - if no extension provided in parsed IMPORT definition. - - * deffilep.y (def_lex): Revert 2003-03-12 change. - (dot_name): New id type and rule. - (expline): Use instead of ID. - (opt_equal_name): Likewise. - -2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> - - * deffilep.y (def_lex): Accept '.' as valid non-lead char. - -2003-03-07 Christopher Faylor <cgf@redhat.com> - - * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after - apparent accidental removal on 2003-01-06. - -2003-03-04 Dmitry Diky <diwil@mail.ru> - - * Makefile.am: Add new devices x1122 x1132 emulation - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * emulparams/msp430x1122.sh: New file. - * emulparams/msp430x1132.sh: New file. - -2003-03-03 Alexandre Oliva <aoliva@redhat.com> - - * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as - well. - - * ldfile.h (struct search_dirs): Added sysrooted field. - * ldlang.h (struct lang_input_statement_struct): Likewise. - * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. - (ldfile_open_file_search): Look for sysrooted filename starting - with / in ld_sysroot instead of in the current directory. Clear - sysrooted flag if it's found in the current directory. Set it - from the search directory's sysrooted flag where it is found - otherwise. - * ldlang.c (ldlang_sysrooted_script): New static variable. - (new_afile): Mark search_file_enums as sysrooted if - ldlang_sysrooted_script. - (load_symbols): Set ldlang_sysrooted_script according to the - script's sysrooted field while processing it. - * ld.texinfo: Document INPUT behavior in sysroot. - -2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> - - * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, - -2003-03-03 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. - (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, - PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, - PARSE_AND_LIST_EPILOGUE): Don't define. - * emultempl/alphaelf.em: New file. - -2003-03-01 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c: Include getopt.h. - * emultempl/elf32.em: Include getopt.h earlier. - * emultempl/ticoff.em: Likewise. - -2003-02-28 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc - support when scripts read from files. - -2003-02-28 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c (ldemul_parse_args): Return FALSE by default. - * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args - comment. - - * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. - (ldemul_parse_args): Return bfd_boolean. Formatting. - * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. - (ldemul_parse_args): Adjust. - (struct ld_emulation_xfer_struct): Add add_options and handle_option. - Return bfd_boolean from parse_args. - * lexsup.c (parse_args): Malloc shortopts, longopts and - really_longopts. Call ldemul_add_options and ldemul_handle_option. - * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from - gld${EMULATION_NAME}_parse_args. - (gld${EMULATION_NAME}_handle_option): Likewise. - (ld_${EMULATION_NAME}_emulation): Adjust initializer. - * emultempl/armcoff.em: As for aix.em, but remove parse_args. - * emultempl/beos.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/elf32.em: Likewise. Don't duplicate long options either. - (gld${EMULATION_NAME}_add_sysroot): Prototype. - * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate - options. - * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. - * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust - initializer. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. - -2003-02-25 Alexandre Oliva <aoliva@redhat.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix - memory allocation error. - - * Makefile.am (ldmain.o): Define TOOLBINDIR. - * Makefile.in: Rebuilt. - * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. - -2003-02-21 Bob Wilson <bob.wilson@acm.org> - - * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only - call os_region_check when it is set. - (lang_size_sections): Add CHECK_REGIONS argument and pass it through to - lang_size_sections_1. - (lang_process): Change lang_size_sections calls to set CHECK_REGIONS - only for the last call, not on every relaxation iteration. - * ldlang.h (lang_size_sections): Update prototype. - * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls - to lang_size_sections. - (pe_exe_fill_sections): Likewise. - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. - (ppc_layout_sections_again): Likewise. - -2003-02-21 Bob Wilson <bob.wilson@acm.org> - - * gen-doc.texi: Set ARM and HPPA variables. - * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section - title capitalization more consistent. Add missing menu entries for - machine-specific sections and conditionalize them consistently. - Conditionalize text that is irrelevant when SingleFormat is set. - Add @group divisions to improve page breaks in long examples. - Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output - is correct. Remove "FIXME" comment about not using - @raisesections/@lowersections. Use @raisesections/@lowersections - consistently for machine-specific sections. Change to be more polite - about poor bug reports. Replace FDL appendix with include of fdl.texi. - Move WIN32 node to match its order in the menus. - * fdl.texi: New file. - -2003-02-20 Alexandre Oliva <aoliva@redhat.com> - - * configure.in (TARGET_SYSTEM_ROOT): Set default to - ${exec_prefix}/${target_alias}/sys-root. Match explicit - '${exec_prefix}' (in addition to the expansion thereof) as - relocatable. - * configure: Rebuilt. - -2003-02-20 Phil Edwards <pme@gcc.gnu.org> - - * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. - -2003-02-20 Harri Porten <porten@kde.org> - - * ldgram.y (vers_defns): Allow optional trailing semicolon in - EXTERN NAME block; - -2003-02-18 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc32elf.em: New file. - * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. - * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. - (eelf32lppcnto.c): Likewise. - (eelf32lppcsim.c): Likewise. - (eelf32ppcnto.c): Likewise. - (eelf32ppc.c): Likewise. - (eelf32ppc_fbsd.c): Likewise. - (eelf32ppcsim.c): Likewise. - (eelf32ppclinux.c): Likewise. - * Makefile.in: Regenerate. - -2003-02-18 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Remove spaces between @samp and opening brace. - -2003-02-18 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check - hash creator. - (ppc_before_allocation): Don't do optimizations if wrong hash table. - (gld${EMULATION_NAME}_finish): Ditto. - -2003-02-17 Nick Clifton <nickc@redhat.com> - - * ldmain.c (main) Default allow_shlib_undefined to true. - * lexsup.c (ld_options): Add --no-allow-shlib-undefined. - (parse_args): Parse the new switch. - * ld.texinfo: Document new switch and default behaviour of - allowing undefined symbols in shared libraries. - -2003-02-11 Dmitry Diky <diwil@mail.ru> - - * scripttempl/elf32msp430.sc: Add new data anchors definitions. - * scripttempl/elf32msp430_3.sc: Likewise. - -2003-02-11 Uwe Stieber <uwe@wwws.de> - - * configure.tgt: Add support for kaOS as cross build target - system. - -2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hppaelf.em (group_size): Change default back to 1. - -2003-02-09 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. - -2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * hppaelf.em (group_size): Change default to -1. - -2003-02-07 Nick Clifton <nickc@redhat.com> - - * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short - opt. - (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for - no-pipeline-knowledge. This will prevent the getopt package from - thinking that there are any shorter abbreviations for - --no-pipeline-knowledge. - -2003-02-07 Jakub Jelinek <jakub@redhat.com> - - * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths - which already have it. Avoid duplicates. - -2003-02-06 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. - * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. - * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. - -2003-02-05 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then - call ppc64_elf_tls_optimize. - -2003-02-03 Daniel Jacobowitz <drow@mvista.com> - - * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot - outside of GNU/Linux conditional. - -2003-01-28 Ralf Habacker <ralf.habacker@freenet.de> - - * deffilep.y (def_get_module): New function: locate an already - added module. - * deffile.h (def_get_module): New prototype. - * pe-dll.c (pe_implied_import_dll): Add code to prevent importing - a dll multiple times. - -2003-01-23 Alan Modra <amodra@bigpond.net.au> - - * emultempl/sh64elf.em: Include elf32-sh64.h. - (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed - sh64_elf_section_data. - (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. - -2003-01-23 Wu Yongwei <adah@netstd.com> - - * ld.texinfo: Remove an extra "i" in --dll-search-prefix. - * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a - cross-80th-column-margin "an" to the next line. - -2003-01-21 Nick Clifton <nickc@redhat.com> - - * emulparams/tic3xcoff-onchip.sh: Rename to ...z - * emulparams/tic3xcoff_onchip.sh: ...this. - * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. - * Makefile.in: Regenerate. - -2003-01-21 Fabio Alemagna <falemagn@aros.org> - - * configure.tgt: Handle i[3456]86-*-aros* - -2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com> - - * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o - * Makefile.in: Regenerate - * configure.tgt: Added extra target emulations - * emulparams/tic3xcoff.sh: Remove old settings - * emulparams/tic4xcoff.sh: Ditto - * emulparams/tic3xcoff-onchip.sh: Added new - * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x - * scripttempl/tic3xcoff.sc: Remove - -2003-01-17 Andreas Jaeger <aj@suse.de> - - * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not - skip ':'. - -2003-01-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in: Regenerate. - -2002-01-14 Charles Wilson <cwilson@ece.gatech.edu> - - * ld.texinfo (node WIN32): Some clarifications - and formatting fixups. - -2003-01-09 Chris Demetriou <cgd@broadcom.com> - - * ldmain.c (get_emulation): Sort -mipsNN checks in the usual - order, and handle (ignore) -mips32r2. - -2003-01-09 Daniel Jacobowitz <drow@mvista.com> - - * ldmain.c (main): Make sure ld_sysroot is initialized. - -2003-01-06 Daniel Jacobowitz <drow@mvista.com> - - * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. - - * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. - (GENSCRIPTS): Add @use_sysroot@. - * Makefile.in: Regenerated. - * configure.host: Move setting of NATIVE_LIB_DIRS to... - * configure.tgt: ... here. Use ${target} instead of ${host} - for NATIVE_LIB_DIRS. - * configure.in: Add --with-sysroot. - * configure: Regenerated. - * genscripts.sh: Accept use_sysroot option. Set new variables - NATIVE and USE_LIBPATH. Prepend "=" to directory names if - $use_sysroot. Don't search $tool_lib if $use_sysroot. - * ldfile.c (ldfile_add_library_path): Handle leading '='. - * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. - (ld_sysroot): New variable. - (main): Initialize ld_sysroot. - * ldmain.h (ld_sysroot): New extern. - * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of - searching $EMULATION_LIBPATH. - (gld${EMULATION_NAME}_add_sysroot): New function. - (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. - (gld${EMULATION_NAME}_after_open): Likewise. Only search - environment variables if $NATIVE. - * ld.texinfo (Options): Mention "=" prefix in the description of -L. - * NEWS: Mention --with-sysroot. - - * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX - instead of setting LIB_PATH. - * emulparams/elf32ppc.sh: Likewise. - * emulparams/elf64_s390.sh: Likewise. - * emulparams/elf64_sparc.sh: Likewise. - * emulparams/elf64ppc.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - - * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. - * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. - -2003-01-03 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. - -2003-01-04 Daniel Jacobowitz <drow@mvista.com> - - * Makefile.am (ldmain.o): Pass BINDIR. - * Makefile.in: Regenerated. - * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first - search path. - -2003-01-02 Ben Elliston <bje@redhat.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. - (eelf32iq2000.c): New target. - * Makefile.in: Regenerate. - * configure.tgt: Handle iq2000-*-elf. - * emulparams/elf32iq10.sh: New file. - * emulparams/elf32iq2000.sh: New file. - * scripttempl/iq2000.sc: New file. - -2003-01-02 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc - and _pei386_runtime_relocator to the exclude list. - -2003-01-01 Kazu Hirata <kazu@cs.umass.edu> - - * ldfile.c: Fix comment typos. - * ldlang.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2003-01-01 Daniel Jacobowitz <drow@mvista.com> - - Suggested by Manfred Hollstein <manfred.h@gmx.net>: - * Makefile.am (ld.1): Depend on configdoc.texi - and ldver.texi. - * Makefile.in: Regenerated. - -2002-12-24 Dmitry Diky <diwil@mail.ru> - - * Makefile.am: Add msp430 target. - * configure.tgt: Likewise. - * Makefile.in: Regenerate. - * emulparams/msp430x???.sh: New files. Linker script parameters - for various msp430 configurations. - * gen-doc.texi: Enable msp430 documenation. - * ld.texinfo: Document msp430 sections. - * scripttempl/elf32msp430.sc: New file. Linker script for msp430. - * scripttempl/elf32msp430_3.sc: New file. Linker script for msp430. - -2002-12-30 Ralf Habacker <Ralf.Habacker@freenet.de> - Charles Wilson <cwilson@ece.gatech.edu> - - * config.in (HAVE_REALPATH): New entry. - (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete. - -2002-12-30 Ralf Habacker <ralf.habacker@freenet.de> - - * ld.texinfo: New win32 topics: 'symbol aliasing' and 'export dll - symbols'. - -2002-12-23 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Init "strip_discarded". - * lexsup.c (OPTION_STRIP_DISCARDED): Define. - (OPTION_NO_STRIP_DISCARDED): Define. - (ld_options): Add "strip-discarded" and "no-strip-discarded". - (parse_args): Handle them. - -2002-12-23 Nick Clifton <nickc@redhat.com> - - * ld.h (struct args_type): Add new field - 'accept_unknown_input_architecture'. - * ldmain.c (main): Initialise 'accept_unknown_input_architecture' - to false. - * ldlang.c (lang_check): Pass accept_unknown_input_architecture to - bfd_arch_get_compatible. - * ldfile.c (ldfile_try_open_bfd): Likewise. - * lexsup.c (ld_options): Add new command line switch - --accept-unknown-input-architecture and its inverse. - (parse_args): Handle --accept-unknown-input-architecture. - * ld.texinfo: Document new linker option. - * NEWS: Mention new linker option. - -2002-12-20 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Re-order link_info initialization. Init all - fields. - -2002-12-19 Charles Wilson <cwilson@ece.gatech.edu> - - * ld.texinfo: Clarify and extend the documentation - in the Machine Dependent, WIN32 section. - -2002-12-18 Ralf Habacker <ralf.habacker@freenet.de> - - * ld.texinfo: Add win32 machine depending section. - * gen-doc.texi: Enable win32 machine depending section. - - * configure.host: Add win32 library search path. - -2002-12-17 Ralf Habacker <ralf.habacker@freenet.de> - - * emultempl/pe.em (pe_find_data_imports): Don't search for data - import when auto-import is disabled. - -2002-12-17 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (..._recognized_file): Use LD_PATHMAX+1 to - account for trailing '\0'. - -2002-12-17 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (longopts): Duplicate entry for --compact-implib - so that it is not confused with -c. - -2002-12-13 Ralf Habacker <Ralf.Habacker@freenet.de> - Charles Wilson <cwilson@ece.gatech.edu> - - * configure.in: Add check for realpath function. - * configure: Regenerate. - * config.in: Regenerate. - * aclocal.m4: Regenerate. - * deffile.h: Add .data field to def_file_import - structure. - * pe-dll.c (pe_proces_import_defs): Use .data field of - def_file_import structure to initialize flag_data field of - def_file_export structure. - (pe_implied_import_dll): New variables exp_funcbase and - [data|bss]_[start|end]. Use DLL's internal name to set dll_name, - not filename (which may be a symlink). Scan the sections and - initialize [data|bss]_[start|end]. When scanning the export - table, skip _nm_ symbols, and mark any symbols whose rva indicates - that it is in the .bss or .data sections as data. - * sysdep.h: Include limits.h and sys/param.h, and define - LD_PATHMAX as appropriate. Also define REALPATH as realpath if it - exists, NULL otherwise. - * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Call - pe_process_import_defs before pe_find_data_imports, so that - auto-import will check the virtual implib as well as "real" - implibs. - (gld_${EMULATION_NAME}_recognized_file): Use REALPATH to follow - symlinks to their target; check that the target's extension is - .dll before calling pe_implied_import_dll(), not the filename - itself (which may be a symlink). - -2002-12-10 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (struct orphan_save): Add os_tail field. - (gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement - list too. - -2002-12-08 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h: Formatting. - -2002-12-07 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (init_os): Ensure sections mentioned in load_base - are initialized. - -2002-12-05 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set - load_base for orphans that follow a section with load_base set. - -2002-12-01 H.J. Lu <hjl@gnu.org> - - * ld.texinfo: Remove the extra `;' in sample version script. - -2002-11-30 Alan Modra <amodra@bigpond.net.au> - - * configure.host: Correct dynamic-linker for powerpc64 hosts. - - * Makefile.am (eelf32ppcwindiss.c): Correct dependencies. - * Makefile.in: Regenerate. - - * ld.h, ldcref.c, ldctor.c, ldctor.h, ldemul.c, ldemul.h, ldexp.c, - ldexp.h, ldfile.c, ldfile.h, ldgram.y, ldlang.c, ldlang.h, ldmain.c, - ldmain.h, ldmisc.c, ldwrite.c, lexsup.c, mri.c, pe-dll.c, pe-dll.h, - emulparams/elf32b4300.sh, emultempl/aix.em, emultempl/armcoff.em, - emultempl/armelf.em, emultempl/armelf_oabi.em, emultempl/beos.em, - emultempl/elf32.em, emultempl/generic.em, emultempl/gld960.em, - emultempl/gld960c.em, emultempl/hppaelf.em, emultempl/linux.em, - emultempl/lnk960.em, emultempl/m68kcoff.em, emultempl/mipsecoff.em, - emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, emultempl/mmo.em, - emultempl/needrelax.em, emultempl/pe.em, emultempl/ppc64elf.em, - emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em: Replace - boolean with bfd_boolean, true with TRUE, false with FALSE. Simplify - comparisons of bfd_boolean vars with TRUE/FALSE. Formatting. - -2002-11-27 David O'Brien <obrien@FreeBSD.org> - - * configure.host: Fix generic FreeBSD configuration entry. - -2002-11-27 H.J. Lu <hjl@gnu.org> - - * ld.texinfo: Add the missing `;' to sample version scripts. - -2002-11-20 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define. - -2002-11-14 Egor Duda <deo@logos-m.ru> - - * ldmain.c (main): Make runtime relocs disabled by default. Remove - assignment which has no effect. - * pe-dll.h (pe_create_import_fixup): Change prototype. - * pe-dll.c (make_runtime_pseudo_reloc): New function. - (pe_create_runtime_relocator_reference): Ditto. - (pe_create_import_fixup): Handle relocations with non-zero addends. - * emultempl/pe.em: Add options --enable-runtime-pseudo-reloc and - --disable-runtime-pseudo-reloc. - (make_import_fixup): Handle relocations with non-zero addends. Create - an external reference to _pei386_runtime_relocator symbol if at least - one pseudo reloc was created. - * ld.texinfo: Document --enable-runtime-pseudo-reloc and - --disable-runtime-pseudo-reloc options. - -2002-11-12 Earl Chew <earl_chew@agilent.com> - - * ldlang.c (lang_add_section): Discard debugging sections that have - been marked SEC_EXCLUDE. - -2002-11-12 Nick Clifton <nickc@redhat.com> - - * configure.in (ALL_LINGUAS): Add da. - * configure: Regenerate. - * po/da.po: New Danish translation. - -2002-11-12 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (ppc_before_allocation): New function. - (LDEMUL_BEFORE_ALLOCATION): Define. - (gld${EMULATION_NAME}_finish): Run discard_info for relocatable - linking. - * emultemp/hppaelf.em ((gld${EMULATION_NAME}_finish): Likewise. - -2002-11-11 Christopher Faylor <cgf@redhat.com> - - * configure.tgt (LIB_PATH): Default to searching w32api directory under - cygwin. - -2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c (autofilter_liblist): add libmingwex and libgcj to the list - of restricted auto-export libs. - -2002-11-11 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c (autofilter_liblist): Generalize library names to catch more - creative library naming instances like, e.g., libstdc++-2.a. - -2002-11-06 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define. - * emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise. - -2002-11-07 Danny Smith <dannysmith@users.sourceforge.net> - - * deffilep.y (def_lex): Handle '@' as first character of an ID. - * pe-dll.c (auto-export): Filter on "_imp_" prefix, not "_imp__". - (make_one): Don't prefix decorated fastcall symbols with '_'. - (pe_process_import_defs): Likewise. - * emultempl/pe.em (pe_fixup_stdcalls): Don't fixup fastcall - symbols to cdecl names or vise-versa. - -2002-10-13 Eric Kohl <ekohl@rz-online.de> - - * pe-dll.c (process_def_file): Handle fastcall symbols when - generating undecorated aliases. Don't prefix decorated fastcall - symbols with '_'. - (fill_exported_offsets): Don't prefix decorated fastcall symbols - with '_'. - -2002-10-29 Daniel Jacobowitz <drow@mvista.com> - - * emultempl/aix.em: Use include <> for generated headers. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/pe.em: Likewise. - * ldctor.c: Likewise. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldlang.c: Likewise. - * ldlex.c: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmisc.c: Likewise. - * ldwrite.c: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2002-10-23 Jakub Jelinek <jakub@redhat.com> - - * emultempl/elf32.em (place_orphan): Don't put non-allocated .rel* - sections into .rel{,a}.dyn. - -2002-10-23 Nick Clifton <nickc@redhat.com> - - * lexsup.c (OPTION_NO_OMAGIC): Define. - (ld_options): Add "no-omagic" option. - (parse_args): Parse --no-omagic. - * ld.texinfo: Document --no-omagic. - * NEWS: Mention new option. - -2002-10-21 Danny Smith <dannysmith@users.sourceforeg.net> - - * scripttempl/pe.sc (__RUNTIME_PSEUDO_RELOC_LIST__, - __RUNTIME_PSEUDO_RELOC_LIST_END__): Add only when relocating. - -2002-10-22 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32bmipn32-defs.sh: Set ELFSIZE according to - emulation name. Set LIB_PATH only for native tools, and - search the ABI-specific versions of NATIVE_LIB_DIRS before the - .../lib variants, not instead of them. Mostly copied from... - * emulparams/elf32ppc.sh: ... here. Fixed typo. - * emulparams/elf64bmip-defs.sh: Backed out. - * emulparams/elf64bmip.sh: Import elf32bmipn32-defs.sh again. - * emulparams/elf64btsmip.sh: Likewise. - (DATA_ADDR, NONPAGED_TEXT_START_ADDR, SHLIB_TEXT_START_ADDR, - TEXT_DYNAMIC): Removed. - -2002-10-17 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf32bmipn32-defs.sh (LIB_PATH): Set to /usr/lib32. - (GENERATE_SHLIB_SCRIPT): Set to yes. - (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Moved to... - * emulparams/elf32bmipn32.sh: here. - (GENERATE_SHLIB_SCRIPT): Deleted as redundant. - * emulparams/elf32btsmipn32.sh: Delete redundant unsets. - * emulparams/elf64bmip-defs.sh: New file. Extend - elf32bmipn32-defs.sh by overiding ELFSIZE and LIB_PATH. - * emulparams/elf64bmip.sh: Bring in definitions from - elf64bmip-defs.sh. - (ELFSIZE, GENERATE_SHLIB_SCRIPT, LIB_PATH): Delete redundant - settings. - (WRITABLE_RODATA): Moved from elf32bmipn32-defs.sh. - * emulparams/elf64btsmip.sh: Bring in definitions from - elf64bmip-defs.sh. - (ELFSIZE, GENERATE_SHLIB_SCRIPT): Delete, redundant. - (EXECUTABLE_SYMBOLS, WRITABLE_RODATA): Delete redundant unsets. - -2002-10-16 Jakub Jelinek <jakub@redhat.com> - - * configure.tgt (s390x-*-linux*): Add elf_s390 emulation. - (s390-*-linux*): Add elf64_s390 emulation if want64. - * emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22 - genscript.sh changes. - * emulparams/elf_x86_64.sh (LIB_PATH): Likewise. - * emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs. - -2002-10-15 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (load_symbols): Revert last change. - -2002-10-14 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (load_symbols): Don't call bfd_link_add_symbols when - just_syms_flag. - (lang_reasonable_defaults): Don't compare against false. - (size_input_section): Likewise. - (lang_size_sections_1): Likewise. - (lang_do_assignments): Likewise. - (lang_add_output): Likewise. - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - * ldver.c: #include "bfdver.h". - -2002-10-13 Stephane Carrez <stcarrez@nerim.fr> - - * scripttempl/elfm68hc11.sc: Use KEEP for .vectors, .installN, - .finiN section. - * scripttempl/elfm68hc12.sc: Likewise. - -2002-10-11 Alan Modra <amodra@bigpond.net.au> - - * pe-dll.c (make_import_fixup_mark): Avoid type-punned pointer. - - * ldgram.y (memory_spec): Provide empty action. - (section <NAME>): Likewise. - -2002-10-10 Jakub Jelinek <jakub@redhat.com> - - * ldfile.c (ldfile_try_open_bfd): When searching skip linker scripts if - they have OUTPUT_FORMAT not matching actual output format. - * ldlang.c (lang_get_output_target): New function. - (open_output): Use it. - * ldlang.h (lang_get_output_target): New prototype. - -2002-10-10 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (output_rel_find): Prefer .rel script sections - when orphan is .rel, .rela when orphan is .rela. - (gld${EMULATION_NAME}_place_orphan): Handle combreloc .rel* case - first. Remove outsecname var. - -2002-10-09 Richard Shann <richard.shann@superh.com> - Stephen Clarke <stephen.clarke@superh.com> - - * Makefile.am: Add eshelf32_linux.o and - eshlelf32_linux.o, new emulations for sh64 Linux. - * Makefile.in: Regenerate. - * configure.tgt: Add sh64eb-*-linux* and sh64-*-linux* emulations. - * emulparams/shelf32_linux.sh: New file. - * emulparams/shlelf32_linux.sh: New file. - -2002-10-08 H.J. Lu <hjl@gnu.org> - - * ldlang.c (lang_file_exist): Removed. - (new_afile): Revert the last change. - * ldlang.h (lang_file_exist): Removed. - * lexsup.c (parse_args): Revert the last change. - -2002-10-07 Ralf Habacker <Ralf.Habacker@freenet.de> - - * pe-dll.cc (autofilter_symbolprefixlist): Don't re-export - auto-import symbols. - (make_one): Create _nm_<symbol> for data only. - -2002-10-05 Elias Athanasopoulos <eathan@otenet.gr> - - * ldlang.c (lang_file_exist): New function. - (new_afile): Abort if the filename to be added matches the linker - output filename. - * ldlang.h: Add prototype for lang_file_exist. - * lexsup.c (parse_args): Abort if the output filename matches - one of the input filenames. - -2002-10-02 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (MAXPAGESIZE): Set to 0x10000. - -2002-09-30 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elfd30v.sc: Order reloc sections placing .plt last. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - - * emultempl/elf32.em (output_rel_find): Always place orphan loadable - reloc sections just before .rel.plt/.rela.plt. - (gld${EMULATION_NAME}_place_orphan <.rel>): Remove combreloc code. - Only put loadable reloc sections in hold_rel. - -2002-09-29 H.J. Lu <hjl@gnu.org> - - * emulparams/elf32ppc.sh (OTHER_GOT_RELOC_SECTIONS): New. - -2002-09-25 Daniel Jacobowitz <drow@mvista.com> - - From "Anita Kulkarni" <AnitaK@kpit.com> - * scripttempl/sh.sc: Handle .eh_frame* and .gcc_exc* - sections. - -2002-09-25 Alan Modra <amodra@bigpond.net.au> - - * genscripts.sh (SEGMENT_SIZE): Use MAXPAGESIZE before - TARGET_PAGE_SIZE. - * scripttempl/elf.sc (DATA_SEGMENT_ALIGN): Incorporate - SEGMENT_SIZE alignment. - * emulparams/elf64ppc.sh (DATA_ADDR): Delete. - (SEGMENT_SIZE): Define. - - * ldexp.c (fold_unary): New. Split out from exp_fold_tree. - (fold_binary): Correct abs - non-abs case. - (fold_trinary): New. Split out from exp_fold_tree. - -2002-09-24 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (DATA_ADDR): Define. - * emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address - for start of .data, instead align up to 256M boundary. - * scripttempl/aix.sc: Likewise. - -2002-09-22 Mark Elbrecht <snowball3@softhome.net> - - * scripttempl/i386go32.sc: Handle bss unique sections. - -2002-09-21 Alan Modra <amodra@bigpond.net.au> - - * ldmisc.c (vfinfo <%C,%D,%G>): Always output bfd, section and offset. - -2002-09-17 Stan Cox <scox@redhat.com> - - * emulparams/elf32bmipn32-defs.sh: New file. - * emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh. - * emulparams/elf32btsmipn32.sh: Likewise. - * emulparams/elf64bmip.sh: Likewise. - * emulparams/elf64btsmip.sh: Likewise. - -2002-09-16 Bruno Haible <bruno@clisp.org> - - * emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to - elf32-i386-freebsd. - * emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to - elf64-alpha-freebsd. - -2002-09-11 Nick Clifton <nickc@redhat.com> - - * NEWS: New TI port supports both C4x and C3x series of DSPs. - - * po/tr.po: Updated Turkish translation. - -2002-09-06 Jeffrey A Law (law@redhat.com) - - * configure.tgt (h8300-*-hms*, h8500-*-hms*): Restore. - -2002-09-02 Nick Clifton <nickc@redhat.com> - - * scripttempl/v850.sc: Add EXTERN references to __ctbpm __gp and - __ep. - * emulparams/v850.sh (TEMPLATE_NAME): Define. - -2002-08-30 Nick Clifton <nickc@redhat.com> - - * scripttempl/elfd10v.sc (MEMORY): Remove UNIFIED, it is not - used. Change INSN to start at 0x01000000 and extend for - 256K (ignoring holes). Start the STACK on a word aligned - boundary. - (.rodata): Start it at the READONLY_START_ADDR. - -2002-08-30 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32ppc.sh (ARCH): Set to "powerpc:common". - -2002-08-28 Svein E. Seldal <Svein.Seldal@solidas.com> - - * Makefile.am: Add etic4xcoff.o in ALL_EMULATIONS list and - added makefile targets for this file. - * Makefile.in: Regenerate. - * configure.tgt: Added tic4x-coff and c4x-coff emulations. - * NEWS: Mention new port. - -2002-08-28 Michael Hayes <m.hayes@elec.canterbury.ac.nz> - - * emulparams/tic3xcoff.sh: New file. - * emulparams/tic4xcoff.sh: New file. - * scripttempl/tic3xcoff.sc: New file. - * scripttempl/tic4xcoff.sc: New file. - -2002-08-28 Alan Modra <amodra@bigpond.net.au> - - * emultempl/aix.em (gld${EMULATION_NAME}_parse_args): Replace strtoll, - strtoul and strtoull with bfd_scan_vma. - (gld${EMULATION_NAME}_read_file): Likewise. - -2002-08-28 Alan Modra <amodra@bigpond.net.au> - - * configure.tgt: Remove h8[35]00-*-hms*. Add h8500-*-rtems*. - -2002-08-27 Egor Duda <deo@logos-m.ru> - - * scripttempl/pe.sc: Handle .rdata_runtime_pseudo_reloc sections. - Add symbols for application to access them. - -2002-08-27 Nick Clifton <nickc@redhat.com> - - * emultempl/armelf.em: Revert this patch, it is not needed. - - 2002-08-22 Adam Nemet <anemet@lnxw.com> - -2002-08-20 Dan Kegel <dank@kegel.com> - - * configure.in: added --with-lib-path argument to ld's configure - to set LIB_PATH. - * NEWS: Document new switch. - * README: Mention new switch. - * configure: Regenerate. - * Makefile.in: Regenerate. - - Based on this patch: - 2001-04-25 Christopher Faylor <cgf@cygnus.com> - - * Makefile.in (LIB_PATH): Make configurable. - (GENSCRIPTS): Set LIB_PATH in environment. - * configure.in: Substitute LIB_PATH. - -2002-08-22 Adam Nemet <anemet@lnxw.com> - - * emultempl/armelf.em: Include elf-bfd.h and elf/arm.h. - (arm_elf_finish): Set the last bit of DT_INIT and DT_FINI - depending on the type of the function. - (arm_elf_convert_thumb_symbol_to_address): New function. - -2002-08-22 Graeme Peterson <gp@qnx.com> - - * Makefile.am: Add esh{l}elf_nto.o files. - * Makefile.in: Regenerate. - * configure.tgt: Add support for sh-**-nto* targets. - * emulparams/shelf_nto.sh: New file. - * emulparams/shlelf_nto.sh: New file. - -2002-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ldlang.c (offsetof): Define if not defined. - -2002-08-14 H.J. Lu <hjl@gnu.org> - - * configure.tgt: Always enable 64bit emulations for 32bit - Linux/mips. - -2002-08-13 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf32_dlx.sh (TARGET_PAGE_SIZE): Set to 1. - (MAXPAGESIZE): Set to 1. - - * ld.h (ALIGN_N): Delete. - * ldexp.h (align_n): Declare. - * ldexp.c (align_n): New function. - (fold_binary): Use align_n instead of ALIGN_N. - (exp_fold_tree): Likewise. - * ldlang.c (lang_size_sections_1): Likewise. - (lang_one_common): Likewise. - * ld.texinfo (ALIGN): Remove power of 2 restriction. - -2002-07-31 Graeme Peterson <gp@qnx.com> - - * configure.tgt: Add support for powerpc{le}-*-nto* targets. - * Makefile.am: Add eelf32{l}ppcnto.o files. - * Makefile.in: Regenerate. - * emulparams/elf32lppcnto.sh: New file. - * emulparams/elf32ppcnto.sh: New file. - -2002-08-07 H.J. Lu <hjl@gnu.org> - - * ld.texinfo: Document --no-undefined-version. - - * ldlang.c (lang_new_vers_pattern): Set the `symver' and - `script.' fields to 0. - - * ldmain.c (main): Initialize the allow_undefined_version to - true. - - * lexsup.c (OPTION_NO_UNDEFINED_VERSION): New. - (ld_options): Add --no-undefined-version. - (parse_args): Support OPTION_NO_UNDEFINED_VERSION. - -2002-08-07 Nick Clifton <nickc@redhat.com> - - * emultempl/armelf.em (arm_elf_before_allocation): Only search for - an interworking bfd if there are input bfds. (107501) - -2002-08-06 Alan Modra <amodra@bigpond.net.au> - - * emultempl/aix.em (gld*_before_parse): Set default arch. Reverts - 2002-05-10 change. - -2002-08-01 Nick Clifton <nickc@redhat.com> - - * emulparams/armelf.sh: Revert previous delta. - * scripttempl/elf.sc: Revert previous delta. - -2002-07-31 H.J. Lu <hjl@gnu.org> - - * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for - --enable-64-bit-bfd. - -2002-07-31 H.J. Lu <hjl@gnu.org> - - * configure.tgt: Enable x86-64 emulation for Linux/i386 if - 64bit BFD is selected. - -2002-07-31 H.J. Lu <hjl@gnu.org> - - * configure.tgt: Enable 64bit emulations for 32bit Linux/mips - if 64bit BFD is selected. - -2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au> - - * emultempl/netbsd.em (LDEMUL_BEFORE_PARSE): New file to custom set - link_info.common_skip_ar_aymbols. - * emulparams/ns32knbsd.sh (EXTRA_EM_FILE): Refer to extra file. - - * ldmain.c (main): Initialize new field - link_info.common_skip_ar_aymbols. - -2002-07-31 Adam Nemet <anemet@lnxw.com> - - * emulparams/armelf.sh (OTHER_PLT_SECTIONS): New variable. Set it - to .plt.thumb. - * scripttempl/elf.sc: Comment it. Use the same way as ${PLT} is - used. - -2002-07-31 Nick Clifton <nickc@redhat.com> - - * NEWS: Retroactively add entry for Lars Brinkhoff's contribution - of the PDP-11 and 2.11BSD a.out support. - -2002-07-31 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * Makefile.am (eelf32btsmipn32.o, eelf32ltsmipn32.o): New emulations - for n32 ABI support. - * Makefile.in: Regenerate. - * configure.tgt (mips64*el-*-linux-gnu*,mips64*-*-linux-gnu*): Add - n32 ABI emulations for these 64 bit targets. - * emulparams/elf32bmipn32.sh: Expand comment. - * emulparams/elf32btsmipn32.sh: New file, for traditional big endian - n32 ABI. - * emulparams/elf32ltsmipn32.sh: Likewise for little endian. - -2002-07-30 Graeme Peterson <gp@qnx.com> - - * configure.tgt: Add support for arm-*-nto target. - * Makefile.am: Add earmnto.o file. - * Makefile.in: Regenerate. - * NEWS: Mention port of ARM support to QNX. - * emulparams/armnto.sh: New file. - -2002-07-30 Jakub Jelinek <jakub@redhat.com> - - * ldlang.c (lang_add_section): Don't turn .tbss into normal sections - for relocatable link. - (lang_size_sections_1): Don't make .tbss zero size for relocatable - link. - -2002-07-26 Bernd Schmidt <bernds@redhat.com> - - * emulparams/elf32frv.sh (OTHER_RELOCATING_SECTIONS): Delete. - (STACK_ADDR): New. - -2002-07-25 Nick Clifton <nickc@redhat.com> - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - * po/fr.po: Updated French translation. - -2002-07-24 Nick Clifton <nickc@redhat.com> - - * po/sv.po: Updated Swedish translation. - * po/es.po: Updated Spanish translation. - -2002-07-23 Nick Clifton <nickc@redhat.com> - - * po/fr.po: Updated French translation. - -2002-07-20 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - bomb on /DISCARD/ input section. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - -2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/mmo.em (mmo_place_orphan): Handle case of no .text - output section. - -2002-07-16 Denis Chertykov <denisc@overta.ru> - Nick Clifton <nickc@redhat.com> - Frank Ch. Eigler <fche@redhat.com> - John Healy <jhealy@redhat.com> - - * configure.tgt: Add support for ip2k-elf. - * Makefile.am: Add support for ip2k-elf. - * Makefile.in: Regenerate. - * emulparams/elf32ip2k.sh: New file. - * scripttempl/ip2k.sc: New file - * NEWS: Mention support for new port. - -2002-07-16 Nick Clifton <nickc@cambridge.redhat.com> - - * NEWS: Add 'Changes in 2.13'. - -2002-07-14 H.J. Lu <hjl@gnu.org> - - * ld.texinfo: Document a .symver takes precedence over a - version script. - -2002-07-12 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (ARCH): Set to powerpc:common64. - (COMMONPAGESIZE): Define. - -2002-07-09 Alan Modra <amodra@bigpond.net.au> - - * emulparams/hppanbsd.sh: Remark that hppaobsd.sh references this file. - -2002-07-09 Federico G. Schwindt <fgsch@olimpo.com.br> - - * configure.tgt: Add support for alpha-*-openbsd*, hppa-*-openbsd*, - powerpc-*-openbsd* and sparc64-*-openbsd*. - * Makefile.am (ALL_EMULATIONS): Add ehppaobsd.o. - * Makefile.in: Regenerate. - * emulparams/hppaobsd.sh: New file. - -2002-07-05 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (print_wild_statement): Fix output formatting. - -2002-07-04 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c: (strip_excluded_output_sections): New function. - (lang_process): Call it. - (lang_size_sections_1): Revert 2002-06-10 change. - -2002-07-03 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (check-DEJAGNU): Revert 2002-06-25 change. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-07-02 Alan Modra <amodra@bigpond.net.au> - - * ldfile.c (ldfile_try_open_bfd): Formatting. - - * ldmisc.c (demangle): Move so that it doesn't intrude between - vfinfo comment and body. Add comment. - -2002-07-01 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * emulparams/vax.sh (OUTPUT_FORMAT): Use a.out-vax-bsd format. - -2002-07-01 Alan Modra <amodra@bigpond.net.au> - - * ldlang.h (entry_sym): Make it a struct bfd_sym_chain. - * ldlang.c (entry_sym): Likewise. - (ldlang_undef_chain_list_type): Likewise. - (lang_finish): Adjust references to entry_symbol. - (lang_add_entry): Likewise. - (lang_gc_sections): Use link_info.gc_sym_list. - (lang_process): Set link_info.gc_sym_list. - * ldlex.l: Include bfdlink.h. - * ldmain.c (main): Init link_info.gc_sym_list. - * emultempl/aix.em: Adjust references to entry_symbol. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/ppc64elf.em (ppc_after_open): New function. - (LDEMUL_AFTER_OPEN): Define. - * emulparams/elf64ppc.sh: KEEP .opd sections. - -2002-06-29 Stephane Carrez <stcarrez@nerim.fr> - - * emulparams/m68hc12elfb.sh (EEPROM_MEMORY): Define. - * emulparams/m68hc11elfb.sh (EEPROM_MEMORY): Define. - * emulparams/m68hc11elf.sh (EEPROM_SIZE): Define. - (EEPROM_START_ADDR): Define. - (EEPROM_MEMORY): Define. - * emulparams/m68hc12elf.sh: Likewise. - * scripttempl/elfm68hc11.sc: Handle .eeprom section; handle .softregs - section to put soft registers in .page0. - * scripttempl/elfm68hc12.sc: Likewise but put soft registers in bss. - -2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd - section. Add ${RELOCATING-0}. - -2002-06-26 J"orn Rennecke <joern.rennecke@superh.com> - - * emulparams/shelf.sh (STACK_ADDR): Don't define. - (OTHER_SECTIONS): Define. - * emulparams/shelf_nbsd.sh ((STACK_ADDR): Don't undef. - (OTHER_SECTIONS): Undef. - -2002-06-26 Alan Modra <amodra@bigpond.net.au> - - * ldmisc.c (demangle): Restore dots stripped from sym name. - -2002-06-25 H.J. Lu <hjl@gnu.org> - - * Makefile.am (check-DEJAGNU): Set LC_ALL=C and export it. - * Makefile.in: Regenerated. - -2002-06-20 Nick Clifton <nickc@cambridge.redhat.com> - - * ld.texinfo (Bug Reporting): Update text to suggest a limit on - the size of attached object files, to allow make the object files - available via FTP or HTTP and to mention that the mail will be - sent to a mailing list. - -2002-06-20 Nathanael Nerode <neroden@twcny.rr.com> - - * configure.host (romp): Drop support. - -2002-06-18 Chris Demetriou <cgd@broadcom.com> - - * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Check - section flags for SEC_DATA, rather than for SEC_CODE being unset. - -2002-06-18 Chris Demetriou <cgd@broadcom.com> - - * emultempl/mipself.em (mips_elf${ELFSIZE}_check_sections): Fix - format specifier used to print BFD name. - -2002-06-18 Dave Brolley <brolley@redhat.com> - - From Catherine Moore, Michael Meissner, Jim Blandy: - * emulparams/elf32frv.sh: New file. - * configure.tgt: Support frv-*-*. - * Makefile.am (ALL_EMULATIONS): Add eelf32frv.o. - (eelf32frv.c): New target. - -2002-06-17 Tom Rix <trix@redhat.com> - - * emultempl/elf32.em: gld*_get_script: Check for - GENERATE_COMBRELOC_SCRIPT. - * scripttempl/elfd10v.sc : Fix STACK and INSN. - * emulparams/d10velf.sh : Fix TEXT_START_ADDR. - -2002-06-13 J"orn Rennecke <joern.rennecke@superh.com> - - * configure.tgt: Add support for sh[1234]*le*-*-elf, sh[1234]*-*-elf. - -2002-06-12 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Return - false if xvec doesn't match. - -2002-06-10 Richard Sandiford <rsandifo@redhat.com> - - * ldlang.c (lang_size_sections_1): Skip removed output sections. - -2002-06-08 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c: Replace CONST with const. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlex.l: Likewise. - * mri.c: Likewise. - * pe-dll.h: Likewise. - -2002-06-07 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (new_vers_pattern): Warning fix. - -2002-06-07 Charles Wilson <cwilson@ece.gatech.edu> - - * ldmain.c (main): initialize link_info.pei386_auto_import - to -1 == implicit enable. - * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): - initialize link_info.pei386_auto_import to -1 == implicit - enable. - (gld_${EMULATION_NAME}_parse_args): When processing - --enable-auto-import and --disable-auto-import options, use - '1' and '0' instead of 'true' and 'false'. - (pe_find_data_imports): Only issue message about auto-import - when the feature is implicitly enabled. Downgrade message to - informational instead of warning. - -2002-06-07 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces. - -2002-06-06 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS, - HOSTING_CRT0 and HOSTING_LIBS. - -2002-06-05 J"orn Rennecke <joern.rennecke@superh.com> - - * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. - -2002-06-05 Jason Thorpe <thorpej@wasabisystems.com> - - * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. - (NONPAGED_TEXT_START_ADDR): Set to 0x1000. - -2002-06-05 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Place - SEC_EXCLUDE sections when doing a relocatable link. - -2002-06-04 Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am (ALL_EMULATIONS): Add eshelf32_nbsd.o, - eshlelf32_nbsd.o, eshelf64_nbsd.o, and eshlelf64_nbsd.o. - (eshelf32_nbsd.c, eshelf64_nbsd.c, eshlelf32_nbsd.c) - (eshlelf64_nbsd.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (sh5le-*-netbsd*, sh5-*-netbsd*, sh64le-*-netbsd*) - (sh64-*-netbsd*): New targets. - * emulparams/shelf32_nbsd.sh: New file. - * emulparams/shelf64_nbsd.sh: New file. - * emulparams/shlelf32_nbsd.sh: New file. - * emulparams/shlelf64_nbsd.sh: New file. - -2002-06-04 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (section_already_linked): Call bfd_discard_group. Typo fix. - -2002-06-02 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * scripttempl/avr.sc: Changes to support current GCC and avr-libc, - C++ constructors/destructors, loosely based on the m68hc11 port. - -2002-05-31 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - * configure: Regenerate. - -2002-05-31 Graeme Peterson <gp@qnx.com> - - * Makefile.am (ALL_EMULATIONS): Add ei386nto.o. - (ei386nto.c): Add rule. - * Makefile.in: Regenerate. - * configure.tgt: Add i[3456]86-*-nto-qnx*. - * emulparams/i386nto.sh: New file. - -2002-05-29 Jason Thorpe <thorpej@wasabisystems.com> - - * NEWS: Add entry for VAX ELF support. - -2002-05-29 Matt Thomas <matt@3am-software.com> - Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32vax.o and evaxnbsd.o. - (eelf32vax.c) - (evaxnbsd.c): New rules. - * Makefile.in: Regenerate. - * configure.tgt (vax-*-netbsdelf*) - (vax-*-netbsdaout*) - (vax-*-netbsd*): New targets. - * emulparams/elf32vax.sh: New file. - * emulparams/vaxnbsd.sh: New file. - -2002-05-29 Adam Nemet <anemet@lnxw.com> - - * emultempl/armelf.em (arm_elf_after_open): Don't determine - bfd_for_interwork, instead add glue sections to each input bfd. - (bfd_for_interwork): New global. - (arm_elf_set_bfd_for_interworking): New function. - (arm_elf_before_allocation): Use it. - -2002-05-28 Kuang Hwa Lin <kuang@sbcglobal.net> - - * Makefile.am: Add DLX make target. - * configure.tgt: Add DLX configuration. - * Makefile.in: Regenerate. - * emulparams/elf32_dlx.sh: New file - * scripttempl/dlx.sc: New file - -2002-05-27 Per Lundberg <per@caleb.dnsalias.org> - - * Makefile.am (eelf_i386_chaos): Use elf_chaos.sc script. - * Makefile.in: Regenerate. - * emulparams/elf_chaos.sh: Use elf_chaos script. - * scripttempl/elf_chaos.sc: New file. - -2002-05-27 Richard Sandiford <rsandifo@redhat.com> - - * ldlang.c (lang_size_sections_1): Move check for conflicting load - addresses and regions from here... - (lang_get_regions): ...to this new function. - (lang_leave_output_section_statement): Use lang_get_regions. - (lang_leave_overlay): Likewise. - * mri.c (mri_draw_tree): Pass null as last argument to - lang_leave_output_section_statement. - * emultempl/elf32.em (gld*_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - * emultempl/pe.em (gld*_place_orphan): Likewise. - -2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.tgt: Use ns32k-*-netbsd* instead of ns32k-pc532-netbsd*. - -2002-05-25 Kazu Hirata <kazu@cs.umass.edu> - - * ldemul.c: Fix formatting. - * ldfile.c: Likewise. - * pe-dll.c: Likewise. - * pe-dll.h: Likewise. - -2002-05-25 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_process): Formatting, grammar. - - * ldlex.l: Use #include "" instead of <> for local header files. - -2002-05-24 TAMURA Kent <kent@netbsd.org> - - * configure.tgt: Add a target for i386-netbsdpe. - -2002-05-23 Jakub Jelinek <jakub@redhat.com> - - * scripttempl/elf.sc: Add .rel{,a}.t{bss,data}, .tdata and .tbss. - * ldlang.c (lang_add_section): Set SEC_THREAD_LOCAL for - output section if necessary. Handle .tbss. - (lang_size_sections): Clear _raw_size for .tbss section - (it allocates space in PT_TLS segment only). - * ldwrite.c (build_link_order): Build link order for .tbss too. - -2002-05-23 Alan Modra <amodra@bigpond.net.au> - - * configure.in: Correct spelling of AC_PREREQ. - -2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> - - * pe-dll.c (autofilter_liblist): Add more system libs excluded by - default. - (autofilter_objlist): Add crtbegin.o, crtend.o. - -2002-05-21 Danny Smith <dannysmith@users.sourceforge.net> - - * emultempl/pe.em (OPTION_EXCLUDE_LIBS): Add new define. - (longopts): Add new option --exclude-libs. - (gld_${EMULATION_NAME}_list_options): Give quick help about it. - (gld_${EMULATION_NAME}_parse_args): Use it. - * pe-dll.h (pe_dll_add_excludes): Add second param to prototype. - * pe-dll.c (exclude_list_struct): Add field type to distinguish symbols - from whole archives. - (pe_dll_add_excludes): Set excludes->type. - (auto_export): Add new variable libname and set to archive basename if - abfd. Use it when filtering default and user-specified libarary - excludes. Let string "ALL" mean all libs when filtering user-specified - libs. - * ld.texinfo: Document --exclude-libs. - -2002-05-22 Alan Modra <amodra@bigpond.net.au> - - * ldemul.c (ldemul_new_vers_pattern): New function. - * ldemul.h (ldemul_new_vers_pattern): Declare. - (struct ld_emulation_xfer_struct): Add new_vers_pattern. - * ldlang.c (lang_new_vers_pattern): Call ldemul_new_vers_pattern. - * emultempl/ppc64elf.em (dotsyms): New static var. - (gld${EMULATION_NAME}_new_vers_pattern): New function. - (LDEMUL_NEW_VERS_PATTERN): Define. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_DOTSYMS, OPTION_NO_DOTSYMS. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Handle them. - * emultempl/aix.em (ld_${EMULATION_NAME}_emulation): Update - initialiser. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/generic.em: Likewise. - * emultempl/gld960.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/lnk960.em: Likewise. - * emultempl/m68kcoff.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - * emultempl/ticoff.em: Likewise. - * emultempl/vanilla.em: Likewise. - -2002-05-22 Alan Modra <amodra@bigpond.net.au> - - * genscripts.sh (LIB_PATH): For native targets, concatenate $libdir - and $NATIVE_LIB_DIRS. Add $tool_lib before other libs. - (LIB_SEARCH_DIRS): No need to use "tr". - (COMPILE_IN): Only set for native targets. - * configure.host (NATIVE_LIB_DIRS): Specify all native search dirs - here, rather than adding lib:/usr/lib:/usr/local/lib in genscripts.sh. - * configure.tgt (powerpc*): Set tdir_*. - (powerpcle*): Correct targ_extra_emuls. - * emulparams/elf32ppc.sh (LIB_PATH): Set up native 64 bit dirs. - * emulparams/elf64ppc.sh (LIB_PATH): Likewise. - -2002-05-22 Alan Modra <amodra@bigpond.net.au> - - * emultempl/pe.em (set_pe_subsystem): Don't set "cmdline" when - calling lang_add_entry. - -2002-05-21 H.J. Lu (hjl@gnu.org) - - * emultempl/elf32.em (gld${EMULATION_NAME}_parse_args): Handle - "-z muldefs". - (gld${EMULATION_NAME}_list_options): Add "-z muldefs". - - * ld.texinfo: Updated for --allow-multiple-definition and - "-z muldefs". - - * ldmain.c (main): Initialize the allow_multiple_definition - field to false. - - * lexsup.c (OPTION_ALLOW_MULTIPLE_DEFINITION): New. - (ld_options): Add --allow-multiple-definition. - (parse_args): Support OPTION_ALLOW_MULTIPLE_DEFINITION. - -2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am (ALL_EMULATIONS): Add earmelfb_nbsd.o. - (earmelfb_nbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (armeb-*-netbsdelf*): New target. - (arm-*-netbsdelf*): Add armelfb_nbsd to targ_extra_emuls. - (arm-*-netbsd*): Likewise. - * emulparams/armelfb_nbsd.sh: New file. - -2002-05-18 Tom Rix <trix@redhat.com> - - * emultempl/aix.em (gld*_parse_args): Add -bnortl and -bnortllib - support. - -2002-05-17 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * Makefile.am: Add new emulations avr1, avr2, avr3, avr4, avr5. - * Makefile.in: Regenerate. - * configure.tgt (avr-*-*): Add avr[1-5] to targ_extra_emuls. - -2002-05-16 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * emulparams/avr1.sh: New file. - * emulparams/avr2.sh: New file. - * emulparams/avr3.sh: New file. - * emulparams/avr4.sh: New file. - * emulparams/avr5.sh: New file. - * scripttempl/avr.sc: New file. - -2002-05-15 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (section_already_linked): Call bfd_link_just_syms. - (lang_place_orphans): Abort if just_syms_flag. - -2002-05-10 Tom Rix <trix@redhat.com> - - * emultempl/aix.em: (gld*_set_output_arch): New function. Use - architecture and machine information in the output bfd. - (gld*_before_parse): Remove old arch and machine code. - (choose_target): Rename to gld*_choose_target. - (rtld): Change type to int. - * ldfile.c (ldfile_try_open_bfd): Disable compatiblity check for - objects in XCOFF archives. - * ldfile.h: Update copyright date. - -2002-05-10 Jakub Jelinek <jakub@redhat.com> - - * ldmain.c (main): Enable -z combreloc by default. - -2002-05-07 Federico G. Schwindt <fgsch@olimpo.com.br> - - * Makefile.am: Honour DESTDIR. - * Makefile.in: Regenerate. - -2002-05-07 Richard Sandiford <rsandifo@redhat.com> - - * ldlang.h (lang_output_section_statement_type): Add update_dot_tree. - (lang_enter_overlay): Remove the last two parameters. - (lang_leave_overlay): Take them here instead. - * ldgram.y (memspec_at_opt): Set $$ to null if no region is given. - (section): Pass LMA and crossref flag to lang_leave_overlay rather - than lang_enter_overlay. - * ldlang.c (lang_memory_region_lookup): Return null for null names. - (lang_output_section_statement_lookup): Initialize update_dot_tree. - (lang_size_sections_1): Evaluate it. - (lang_leave_output_section_statement): Rework LMA lookup. - (overlay_lma, overlay_nocrossrefs): Remove. - (lang_enter_overlay): Remove LMA and crossref arguments. - (lang_enter_overlay_section): Don't set the LMA here. - (lang_leave_overlay): Take LMA and crossref arguments. Move the '.' - assignment to the last section's update_dot_tree. Unconditionally - use the load and run-time regions specified in the OVERLAY statement. - Likewise the first section's LMA. Only set the other sections' LMAs - when no load region is given. - -2002-05-06 Nick Clifton <nickc@redhat.com> - - * po/sv.po: New translation. - -2002-05-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/hppaelf.em (build_section_lists): New function. - (gld${EMULATION_NAME}_finish): Call elf32_hppa_setup_section_lists - and build_section_lists. - -2002-05-03 Kazu Hirata <kazu@cs.umass.edu> - - * ld.h: Fix formatting. - * ldexp.c: Likewise. - * ldfile.c: Likewise. - * ldlang.c: Likewise. - * ldmain.c: Likewise. - * lexsup.c: Likewise. - * pe-dll.c: Likewise. - -2002-05-02 Alan Modra <amodra@bigpond.net.au> - - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_after_allocation): - Adjust for ppc64_elf_set_toc change. #include libbfd.h. - (build_section_lists): Do output_section tests here. - -2002-04-30 Tom Rix <trix@redhat.com> - - * emultempl/aix.em : (gld*_parse_arge): Formatting changes. - -2002-05-01 Alan Modra <amodra@bigpond.net.au> - - Long branch stubs, multiple stub sections. - * emultempl/ppc64elf.em: Include ldctor.h. - (stub_file): New var. - (group_size): New var. - (ppc_create_output_section_statements): New function. - (struct hook_stub_info): New. - (hook_in_stub): New function. - (ppc_add_stub_section): New function. - (ppc_layout_sections_again): New function. - (build_section_lists): New function. - (gld${EMULATION_NAME}_finish): Rewrite. - (real_func): New var. - (ppc_for_each_input_file_wrapper): New function. - (ppc_lang_for_each_input_file): New function. - (lang_for_each_input_file): Define. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. - -2002-04-30 Tom Rix <trix@redhat.com> - - * emultempl/aix.em (gld*_parse_arge, gld*_before_allocation): Add - -blibpath, -bnolibpath support. - -2002-04-30 Mark Mitchell <mark@codesourcery.com> - - * Makefile.am (ALL_EMULATIONS): Add elf32ppcwindiss.o. - (eelf32ppcwindiss.c): New target. - * Makefile.in: Regenerated. - * configure.tgt: Add support for powerpc-*-windiss. - * emulparams/elf32ppcwindiss.sh: New file. - -2002-04-30 Richard Sandiford <rsandifo@redhat.com> - - * ldlang.c (print_assignment): Update print_dot for assignments to ".". - * ldexp.c (exp_print_token): Add "infix_p" argument. - (exp_print_tree): Update accordingly. - -2002-04-28 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (mpw): New maintainer mode rule to make mpw-*.c files. - * Makefile.in: Regenerate. - * mpw-elfmips.c: Delete. - * mpw-eppcmac.c: Delete. - * mpw-esh.c: Delete. - * mpw-idtmips.c: Delete. - -2002-04-17 J"orn Rennecke <joern.rennecke@superh.com> - - * emulparams/shelf32.sh (MACHINE): Now sh5. - -2002-04-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ldgram.y: Fix syntax warning. - -2002-04-11 Nick Clifton <nickc@cambridge.redhat.com> - - * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Add 'n' in order - to prevent "-n" from being taken as an abbreviation for - "--no-pipeline-knowledge". - -2002-04-08 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_size_sections_1): Don't complain about - SEC_NEVER_LOAD sections having no memory region specified. - - * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix. - -2002-04-07 matthew green <mrg@redhat.com> - - * configure.host (*-*-netbsd*): Add support for NetBSD/ELF. - -2002-04-04 Alan Modra <amodra@bigpond.net.au> - - * dep-in.sed: Cope with absolute paths. - * Makefile.am (dep.sed): Subst TOPDIR and BFDDIR. - Run "make dep-am". - * Makefile.in: Regenerate. - -2002-04-04 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options. - -2002-04-03 Jakub Jelinek <jakub@redhat.com> - - * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size - is smaller than maximum, round dot up to common page boundary. - -2002-03-28 Alan Modra <amodra@bigpond.net.au> - - * configure.host: Set up for generic hosts first, then tweak as - necessary in more specific targets. - (HOSTING_LIBS): Include libgcc_eh.a if found. - -2002-03-23 Andreas Jaeger <aj@suse.de> - - * emulparams/elf_x86_64.sh (COMMONPAGESIZE): Set it. - -2002-03-21 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am: Run "make dep-am". - * Makefile.in: Regenerate. - -2002-03-21 Albert Chin-A-Young <china@thewrittenword.com> - - * genscripts.sh (LIB_SEARCH_DIRS): Quote path. - -2002-03-20 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (ldlang_add_undef): If the output bfd has been opened, - add the symbol to the linker hash table immediately. - (lang_place_undefineds): Split symbol creation out.. - (insert_undefined): ..to here. - -2002-03-18 David O'Brien <obrien@FreeBSD.org> - - * emultempl/elf32.em: Use lbasename vs. basename to fix problem where - the contents of the buffer returned from basename function will are - getting overwritten while still being used. - -2002-03-18 Jan Hubicka <jh@suse.cz> - Andreas Jaeger <aj@suse.de> - Andreas Schwab <schwab@suse.de> - - * configure.tgt (x86_64-*-linux-gnu*): Configure i386 as native. - * elf_x86_64.sh (ARCH): Set to i386:x86-64 - set libraries to default to lib64 paths. - -2002-03-18 Tom Rix <trix@redhat.com> - - * Makefile.am : Add eaix5ppc and eaix5rs6, AIX 5 support. - * configure.tgt : Same. - * emulparms/aix5ppc.sh : New file. For eaix5ppc. - * emulparms/aix5rs6.sh : New file. For eaix5rs6. - * emulparms/aixppc.sh : OUPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT - emulation parameters for better -b32, -b64 support. - * emulparms/aixrs6.sh : Same. - * emulparms/ppcmacos.sh : Same. - * emultempl/aix.em (choose_target) : Use new emulation parameters - OUTPUT_FORMAT_32BIT and OUTPUT_FORMAT_64BIT. - * Makefile.in : Regenerate. - -2002-03-18 Nick Clifton <nickc@cambridge.redhat.com> - - * po/fr.po: Updated version. - -2002-03-18 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Move .text readonly flag fudges from here.. - * ldlang.c (lang_process): ..to here. - -2002-03-14 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_check): Remove the word size check added in last - change. Treat emitrelocations case as for relocatable links. - -2002-03-13 Nick Clifton <nickc@cambridge.redhat.com> - - * po/fr.po: Updated version. - -2002-03-13 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (lang_check): Do relocatable link checks first, so that - warn_mismatch can't override. Check compatible and word size too. - -2002-03-07 Daniel Jacobowitz <drow@mvista.com> - - * ld.texinfo: Wrap @menu in @ifnottex, not @ifinfo. - -2002-03-05 Jakub Jelinek <jakub@redhat.com> - - * scripttempl/elf.sc: Only use DATA_SEGMENT_END() together with - DATA_SEGMENT_ALIGN. - -2002-03-04 H.J. Lu <hjl@gnu.org> - - * scripttempl/elf.sc: Put .preinit_array, .init_array and - .fini_array in the data segment. - -2002-03-04 Alan Modra <amodra@bigpond.net.au> - - * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. - -2002-03-01 David Mosberger <davidm@hpl.hp.com> - - * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, - .init_array, and .fini_array. - -2002-02-20 Andreas Schwab <schwab@suse.de> - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't fold - .IA64_unwind* in a relocatable link. - -2002-02-20 Nick Clifton <nickc@cambridge.redhat.com> - - * NEWS: Mark 2.12 branch. - -2002-02-19 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * emulparams/elf64_s390.sh (ARCH): Change to "s390:64-bit". - * emulparams/elf_s390.sh (ARCH): Change to "s390:31-bit". - -2002-02-18 Tom Rix <trix@redhat.com> - - * emultempl/aix.em (gld*_parse_args): Add -brtl support. - (gld*_before_allocation): Same. - (gld*_create_output_section_statements): Generate - __rtinit if run time linking. Add librtl.a to the link. - (gld*_read_file): Clean. - -2002-02-18 Alan Modra <amodra@bigpond.net.au> - - * emulparams/elf64ppc.sh (OTHER_TEXT_SECTIONS): Define. - -2002-02-18 David O'Brien <obrien@FreeBSD.org> - - * Makefile.am: Add new files earmelf_fbsd, eelf32ppc_fbsd, - eelf_i386_fbsd, eelf64_ia64_fbsd, eelf_x86_64_fbsd, eelf64_sparc_fbsd, - and eelf64alpha_fbsd. - * Makefile.in: Regenerate. - * configure.tgt(sparc64-*-freebsd, ia64-*-freebsd, i[3456]86-*-freebsd, - x86_64-*-freebsd, arm-*-freebsd, alpha*-*-freebsd, powerpc-*-freebsd): - use a FreeBSD-specific emulation rather than the psABI one. - * emulparams/elf_fbsd.sh (ELF_INTERPRETER_NAME): Set appropriate value - for all FreeBSD ELF systems. - * emulparams/armelf_fbsd.sh: Bridge elf_fbsd.sh and the "native" psABI - emulation. - * emulparams/elf32ppc_fbsd.sh: Likewise. - * emulparams/elf64_ia64_fbsd.sh: Likewise. - * emulparams/elf64_sparc_fbsd.sh: Likewise. - * emulparams/elf64alpha_fbsd.sh: Likewise. - * emulparams/elf_i386_fbsd.sh: Likewise. - * emulparams/elf_x86_64_fbsd.sh: Likewise. - -2002-02-18 Nick Clifton <nickc@cambridge.redhat.com> - - * po/tr.po: Updated version. - -2002-02-18 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo (Output Section Fill): Fix amateur texinfo. - (FILL): Likewise. - -2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/mmo.em (mmo_after_open): Don't call - _bfd_mmix_check_all_relocs when producing ELF output. - -2002-02-15 Richard Henderson <rth@redhat.com> - - * emulparams/elf64alpha.sh (NOP): Adjust for big-endian - definition. Emit a unop+nop pair. - -2002-02-15 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Also check - for presence of .MMIX.reg_contents.linker_allocated before early - exit. - - * NEWS: Mention support for MMIX. - -2002-02-15 Alan Modra <amodra@bigpond.net.au> - - Support arbitrary length fill patterns. - * ld.texinfo (Output Section Fill): Describe fill expressions. - (FILL): Refer to the above. - * ldexp.h (etree_value_type): Add "str" field. - (union etree_union): Add "str" to "value" struct. - (exp_bigintop): Declare. - (exp_get_fill): Declare. - * ldexp.c: Include "safe-ctype.h". - (exp_intop): Set value.str to NULL. - (exp_bigintop): New function. - (new_rel): Pass in "str", and set new.str from it. - (new_rel_from_section): Set new.str to NULL. - (fold_name): Adjust calls to new_rel. - (exp_fold_tree): Likewise. - (exp_get_fill): New function. - * ldgram.y (struct big_int bigint, fill_type *fill): New. - (INT): Returns a "bigint". Adjust all code handling INTs. - (fill_opt): Returns a "fill". - (fill_exp): Split out of fill_opt, use for FILL. - * ldlang.h (struct _fill_type): New. - (fill_type): Move typedef to ldexp.h. - (lang_output_section_statement_type): "fill" is now a pointer. - (lang_fill_statement_type): Likewise. - (lang_padding_statement_type): Likewise. - (lang_add_fill): Now takes a "fill_type *" param. - (lang_leave_output_section_statement): Likewise. - (lang_do_assignments): Likewise. - (lang_size_sections): Likewise. - (lang_leave_overlay_section): Likewise. - (lang_leave_overlay): Likewise. - * ldlang.c: Include ldgram.h after ldexp.h. - (lang_output_section_statement_lookup): Adjust for fill_type change. - (print_fill_statement): Likewise. - (print_padding_statement): Likewise. - (insert_pad): Now takes a "fill_type *" arg. - (size_input_section): Likewise. - (lang_size_sections_1): Likewise. - (lang_size_sections): Likewise. - (lang_do_assignments): Likewise. - (lang_add_fill): Likewise. - (lang_leave_output_section_statement): Likewise. - (lang_leave_overlay_section): Likewise. - (lang_leave_overlay): Likewise. - Adjust all callers of the above function. - * ldlex.l: Include ldgram.h after ldexp.h. Allow hex numbers - starting with "0X" as well as "0x". Return bigint.str for hex - numbers starting with "0x" or "0X", zero bigint.str otherwise. - Always use base 16 for numbers starting with "$". - * ldmain.c: Include ldgram.h after ldexp.h. - * ldwrite.c (build_link_order): Use bfd_data_link_order in place - of bfd_fill_link_order. - * pe-dll.c: Adjust lang_do_assignments calls. - * emultempl/elf32.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/ppc64elf.em: Likewise. - * emultempl/beos.em: Include ldgram.h after ldexp.h, adjust - lang_add_assignment call. - * emultempl/pe.em: Likewise. - -2002-02-14 Phil Edwards <pme@gcc.gnu.org> - - * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. - * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; - the pattern in question is not a regexp. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. - -2002-02-12 Jakub Jelinek <jakub@redhat.com> - - * ldlex.l (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. - * ldgram.y (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): New tokens. - (exp): Add DATA_SEGMENT_ALIGN (exp, exp) and DATA_SEGMENT_END (exp). - * ldexp.c (exp_data_seg): New variable. - (exp_print_token): Handle DATA_SEGMENT_ALIGN and DATA_SEGMENT_END. - (fold_binary): Handle DATA_SEGMENT_ALIGN. - (exp_fold_tree): Handle DATA_SEGMENT_END. - Pass allocation_done when recursing instead of hardcoding - lang_allocating_phase_enum. - * ldexp.h (exp_data_seg): New. - * ldlang.c (lang_size_sections_1): Renamed from lang_size_sections. - (lang_size_sections): New. - * ld.texinfo (DATA_SEGMENT_ALIGN, DATA_SEGMENT_END): Document. - * scripttempl/elf.sc: Use DATA_SEGMENT_ALIGN and DATA_SEGMENT_END - if COMMONPAGESIZE is defined. - * emulparams/elf_i386.sh (COMMONPAGESIZE): Set to 4K. - * emulparams/elf32_sparc.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64_sparc.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64alpha.sh (COMMONPAGESIZE): Set to 8K. - * emulparams/elf64_ia64.sh (COMMONPAGESIZE): Set to 16K for shared - libraries only. - -2002-02-11 Alan Modra <amodra@bigpond.net.au> - - * Makefile.in: Regenerate. - -2002-02-10 Daniel Jacobowitz <drow@mvista.com> - - * lexsup.c: Remove strtoul declaration. - -2002-02-10 Daniel Jacobowitz <drow@mvista.com> - - * ldmain.c: Add prototype for main (). - * lexsup.c: Guard declaration of strtoul with HAVE_STDLIB_H. - * emultempl/lnk960.em (lnk960_choose_target): Function should - take two arguments. - -2002-02-10 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (entry_section): New initialised variable. - (lang_finish): Use it. - * ldlang.h (entry_section): Declare. - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Set - entry_section to ".opd". - -2002-02-09 Chris Demetriou <cgd@broadcom.com> - - * ld.texinfo (Options): Add back in -nostdlib documentation, - which had been inadvertently removed. - -2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Adjust - register section vma to a sane value after emitting error. Make - fatal conditions cause program exit when emitting message. - -2002-02-08 Ivan Guzvinec <ivang@opencores.org> - - * configure.tgt: Add or32-*-rtems target. - -2002-02-08 Alexandre Oliva <aoliva@redhat.com> - - Contribute sh64-elf. - 2002-01-24 Alexandre Oliva <aoliva@redhat.com> - * emulparams/shelf32.sh (STACK_ADDR): Define as formerly defined - in OTHER_RELOCATABLE_SECTIONS. - 2002-01-18 Alexandre Oliva <aoliva@redhat.com> - * emulparams/shelf32.sh (STACK_ADDR): Define. - (OTHER_RELOCATABLE_SECTIONS): Renamed to... - (OTHER_SECTIONS): this. Removed stack settings. - * emulparams/shelf64.sh (OTHER_RELOCATABLE_SECTIONS): Do not set. - (OTHER_SECTIONS): Reset after sourcing shelf32.sh. - 2001-03-12 DJ Delorie <dj@redhat.com> - * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable - relaxing if any shmedia or mixed sections are found. - 2001-03-07 DJ Delorie <dj@redhat.com> - * emultempl/sh64elf.em (sh64_elf_before_allocation): Pass f to - einfo. Gracefully decline to output to non-elf formats. - 2001-03-06 Hans-Peter Nilsson <hpn@redhat.com> - * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS) <.stack>: - Default to _end aligned to next multiple of 0x40000, plus 0x40000. - * emulparams/shelf32.sh: Ditto. - 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> - * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak - comment. - 2001-01-10 Ben Elliston <bje@redhat.com> - * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid - non-portable shell constructs. From Hans-Peter Nilsson. - 2001-01-09 Hans-Peter Nilsson <hpn@cygnus.com> - * emulparams/shelf64.sh (EXTRA_EM_FILE): Define empty. - * Makefile.am (eshelf64.c, eshlelf64.c, eshlelf32.c): Adjust - dependencies to the shell script include chain. - * Makefile.in: Regenerate. - 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> - * emultempl/sh64elf.em: Update and tweak comments. - (sh64_elf_${EMULATION_NAME}_after_allocation): Always allocate and - make a .cranges section SEC_IN_MEMORY. - 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> - * emultempl/sh64elf.em - (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when - .cranges section found to be necessary; continue and set stored - section contents flags for sections with non-mixed contents. - Use a struct sh64_section_data container and sh64_elf_section_data - to store contents-type flags. - Remove unused update of "isec". - (sh64_elf_${EMULATION_NAME}_after_allocation): Only process - sections marked SHF_SH5_ISA32_MIXED. Use sh64_elf_section_data to - access contents-type flags. Assert that the associated container - is initialized. Use that container, not elf_gp_size, to hold size - of linker-generated cranges contents. - 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> - * emultempl/sh64elf.em - (sh64_elf_${EMULATION_NAME}_before_allocation): Exit early if - there's already a .cranges section. When section flag difference - is found, don't NULL-check cranges a second time. Tweak comments. - (sh64_elf_${EMULATION_NAME}_after_allocation): Use size after - merging, not max size, as size of ld-generated .cranges contents. - Don't set ELF section flags in output section. When checking for - needed .cranges descriptors, don't use a variable; compare - incoming ELF section flags directly to SHF_SH5_ISA32_MIXED. Tweak - comments. - 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> - * emultempl/sh64elf.em: New file. - * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. - * Makefile.in: Regenerate. - * emulparams/shelf32.sh (OUTPUT_FORMAT): Only set if not set. - (OTHER_RELOCATING_SECTIONS): Ditto. - (EXTRA_EM_FILE): New, set to sh64elf if not set. - * emulparams/shlelf32.sh: Stub out all settings except - OUTPUT_FORMAT. Source shelf32.sh. - * emulparams/shelf64.sh: Similar, but also keep ELF_SIZE and - OTHER_RELOCATING_SECTIONS. - (OTHER_RELOCATING_SECTIONS): Remove .cranges. - * emulparams/shlelf64.sh: Stub out all settings except - OUTPUT_FORMAT. Source shelf64.sh. - 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> - * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include - .cranges section. - (DATA_START_SYMBOLS): Define, provide ___data. - (OTHER_READONLY_SYMBOLS): Define, provide ___rodata and align to 8 - for consecutive .data section. - (OTHER_GOT_SECTIONS): Define, align to 8 for consecutive .bss - section after .data section. - * emulparams/shlelf64.sh: Ditto. - * emulparams/shelf32.sh: Ditto. - (ALIGNMENT): Define to 8. - * emulparams/shelf32.sh: Ditto. - 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> - * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get - built-in linker scripts. - 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> - * emulparams/shlelf64.sh: New. - * emulparams/shelf64.sh: New. - * configure.tgt (sh64-*-elf*): Add shelf64 and shlelf64 to - targ_extra_emuls. - * Makefile.am: Add support for shlelf64 and shelf64. - * Makefile.in: Regenerate. - 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> - * configure.tgt (sh64-*-elf*): Add shelf as default. - Add shlelf to targ_extra_emuls. - 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> - * emulparams/shelf32.sh: New file. - * emulparams/shlelf32.sh: New file. - * Makefile.am: Add support for shlelf32 and shelf32. - * configure.tgt: Map sh64-*-elf* to shlelf32 and shelf32. - * Makefile.in: Regenerate. - -2002-02-05 Hans-Peter Nilsson <hp@axis.com> - - * ldlang.c (lang_reset_memory_regions): Rename from - reset_memory_regions. Change all callers. Make public. - * ldlang.h (lang_reset_memory_regions): Prototype. - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call - lang_reset_memory_regions before lang_size_sections. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise. - -2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Use signed - arithmetic when checking for too many global registers. - -2002-02-02 Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am (ALL_EMULATIONS): Add ehppanbsd.o. - (ehppanbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (hppa*-*-netbsd*): New target. - * emulparams/hppalinux.sh: Add comment to check other files - that source this file it is modified, and list which - files that do. - * emulparams/hppanbsd.sh: New file. - -2002-02-01 Geoffrey Keating <geoffk@redhat.com> - - * scripttempl/xstormy16.sc: Don't allocate extra space for the - stack. - -2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> - - Support on-demand global register allocation from - R_MMIX_BASE_PLUS_OFFSET relocs. - * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Rename from - mmix_set_reg_section_vma. Call - _bfd_mmix_finalize_linker_allocated_gregs. - (mmix_before_allocation): New function. - (LDEMUL_AFTER_ALLOCATION): Set to mmix_after_allocation. - (LDEMUL_BEFORE_ALLOCATION): Define to mmix_before_allocation. - * scripttempl/mmo.sc (.text): Mark .init, .fini as KEEP. - (.MMIX.reg_contents): Add .MMIX.reg_contents.linker_allocated - before .MMIX.reg_contents. - * emultempl/mmo.em (gldmmo_before_allocation): Define to default. - (mmo_after_open): New function. - (LDEMUL_AFTER_OPEN): Define to mmo_after_open. - * emulparams/elf64mmix.sh (OTHER_SECTIONS): Tweak formatting. Add - .MMIX.reg_contents.linker_allocated before .MMIX.reg_contents. - -2002-01-31 Ivan Guzvinec <ivang@opencores.org> - - * emulparams/or32.sh: New file. - * emulparams/or32elf.sh: New file. - * scripttempl/or32.sc: New file. - * configure.tgt : Add support for or32. - * configure: Regenerate - * Makefile.am: Add support for or32. - * Makefile.in: Regenerate. - * NEWS: Mention support for or32. - * po/ld.pot: Regenerate. - -2002-01-29 Chris Demetriou <cgd@broadcom.com> - Mitch Lichtenberg <mpl@broadcom.com> - - * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Define to be mipself. - * emultempl/mipself.em: New file to handle MIPS ELF embedded - reloc creation (ld --embedded-relocs). - -2002-01-27 Daniel Jacobowitz <drow@mvista.com> - - * configure: Regenerated. - -2002-01-26 Hans-Peter Nilsson <hp@bitrange.com> - - * Makefile.am (install): Depend on install-info. - * Makefile.in: Regenerate. - -2002-01-26 Christian Rose <menthos@menthos.com> - - * ldmain.c (main): Use full sentences to ease translation. - -2002-01-26 Nick Clifton <nickc@cambridge.redhat.com> - - * po/fr.po: Updated version. - -2002-01-25 Nick Clifton <nickc@cambridge.redhat.com> - - * po/es.po: Updated version. - -2002-01-25 Andreas Jaeger <aj@suse.de> - - * ldlex.l (yy_input): Correct error check. - -2002-01-25 Alan Modra <amodra@bigpond.net.au> - - * ldmisc.c (demangle): Put back dots when string not demangled. - -2002-01-22 Richard Henderson <rth@redhat.com> - - * emulparams/elf64alpha.sh (NOP): Use unop. - -2002-01-21 Andreas Jaeger <aj@suse.de> - - * ldlex.l: Use fread instead of read. - -2002-01-21 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.tgt (ia64-*-netbsd*): New target. - -2002-01-21 H.J. Lu <hjl@gnu.org> - - * emulparams/elf32btsmip.sh (SHLIB_TEXT_START_ADDR): Change to - 0. - * emulparams/elf64btsmip.sh (SHLIB_TEXT_START_ADDR): Likewise. - -2002-01-18 Andreas Jaeger <aj@suse.de> - - * ldver.c (ldversion): Update year. - -2002-01-17 Nick Clifton <nickc@cambridge.redhat.com> - - * po/ld.pot: Regenerate. - -2002-01-16 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (eelf64ppc.c, eelf64lppc.c): Depend on ppc64elf.em. - * Makefile.in: Regenerate. - * emulparams/elf64ppc.sh (EXTRA_EM_FILE): Define. - * emultempl/ppc64elf.em: New file. - -2002-01-15 DJ Delorie <dj@redhat.com> - - * scripttempl/pe.sc: Add support for constructor priorities. - -2002-01-07 Marek Michalkiewicz <marekm@amelek.gda.pl> - - * emulparams/avr1200.sh (DATA_START): Define as 0x60. - * emulparams/avr23xx.sh: Likewise. - * emulparams/avr4433.sh: Likewise. - * emulparams/avr44x4.sh: Likewise. - * emulparams/avr85xx.sh: Likewise. - * emulparams/avrmega103.sh: Likewise. - * emulparams/avrmega161.sh: Likewise. - * emulparams/avrmega603.sh: Likewise. - * scripttempl/elf32avr.sc: Use DATA_START instead of 0x60. - -2002-01-08 Alexandre Oliva <aoliva@redhat.com> - - * ldlang.c (walk_wild_section): Exclude object file if enclosing - archive is excluded. - -2002-01-07 Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am (ALL_EMULATIONS): Add eshelf_nbsd.o and eshlelf_nbsd.o. - (eshelf_nbsd.c): New rule. - (eshlelf_nbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (sh*le-*-netbsdelf*): New target. - (sh*-*-netbsdelf*): New target. - * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. - * emulparams/shelf_nbsd.sh: New emulation. - * emulparams/shlelf_nbsd.sh: New emulation. - -2002-01-07 Nick Clifton <nickc@cambridge.redhat.com> - - * po/es.po: New file: Spanish translation. - * configure.in (ALL_LINGUAS): Add es. - * configure: Regenerate. - -2002-01-06 John Marshall <jmarshall@acm.org> - - * ld.texinfo: Note that --emit-relocs is currently only - implemented for ELF. - -2002-01-05 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Make use - of bfd_section_list_remove and bfd_section_list_insert macros. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - * emultempl/mmo.em (mmo_place_orphan): Likewise. - -2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.tgt (x86_64-*-netbsd*): New target. - -2001-12-21 Tom Rix <trix@redhat.com> - - (gld*_create_output_section_statements): New function. - For -binitfini support. - * emultempl/aix.em (gld*_before_parse): Fix comment. - * emultempl/aix.em (gld*_parse_args): Fix comment. - -2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> - - * configure.tgt (mips*-dec-netbsd*): Delete alias for - mips*el-*-netbsd*. - (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. - - * configure.tgt (arm-*-netbsdelf*): Add target. - (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. - * emulparams/armelf_nbsd.sh: Added. - * Makefile.am: Add rules for earmelf_nbsd. - * Makefile.in: Regenerate. - -2001-12-19 Andreas Jaeger <aj@suse.de>, - Susanne Oberhauser <froh@suse.de> - - * configure.host: Add rules for x86_64-*linux-gnu. Change - s390x-linux entry to use gcc to report configuration, replace gcc - with $CC in s390-linux - -2001-12-19 Andreas Jaeger <aj@suse.de> - - * ld.texinfo (VERSION): Fix markup. - -2001-12-18 matthew green <mrg@eterna.com.au> - - * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. - (m68kelfnbsd.c): New rule. - * Makefile.in: Regenerate. - * configure.tgt (m68*-hp-netbsd*): Renamed to .. - (m68*-*-netbsd*4k*): .. this. - (m68*-*-netbsdelf*): New target. - (m68*-*-netbsd*): Also include ELF support. - (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. - * emulparams/m68kelfnbsd.sh: New emulation. - -2001-12-18 Jakub Jelinek <jakub@redhat.com> - - * ldgram.y (vers_node): Support anonymous version tags. - * ldlang.c (lang_register_vers_node): Ensure anonymous version - tag is not defined together with non-anonymous versions. - * ld.texinfo: Document it. - -2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> - - * po/tr.po: New file: Turkish translation. - * configure.in (ALL_LINGUAS): Add tr. - * configure: Regenerate. - -2001-12-17 Jason Thorpe <thorpej@wasabisystems.com> - - * Makefile.am: Add rules for eelf64alpha_nbsd. - * Makefile.in: Regenerate. - * configure.tgt (alpha*-*-netbsd*): Set - targ_emul to elf64alpha_nbsd. - * emulparams/elf64alpha_nbsd.sh: Added. - -2001-12-17 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust - section_tail when fiddling with section list. - (gld${EMULATION_NAME}_list_options): Ensure sentences aren't - broken into separate strings to make translation easier. - * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when - fiddling with section list. - * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. - -2001-12-16 Hans-Peter Nilsson <hp@bitrange.com> - - * scripttempl/mmo.sc: Add .debug_ranges to listed sections. - -2001-12-15 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Initialise link_info.eh_frame_hdr. - -2001-12-13 Jakub Jelinek <jakub@redhat.com> - - * emultempl/elf32.em (finish): Supply output_bfd - to bfd_elf*_discard_info. - (OPTION_EH_FRAME_HDR): Define. - (longopts): Add --eh-frame-hdr. - (parse_args): Handle it. - (list_options): Add --eh-frame-hdr to help. - * emultempl/hppaelf.em (finish): Supply output_bfd - to bfd_elf*_discard_info. - * scripttempl/elf.sc (.eh_frame_hdr): Add. - -2001-12-13 Alan Modra <amodra@bigpond.net.au> - - * lexsup.c (parse_args): Don't pass shortopts to second call to - getopt functions. Restore optind rather than decrementing before - second call. Remove errind as it now duplicates last_optind. - -2001-12-11 Christopher Faylor <cgf@redhat.com> - - * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. - -2001-12-07 Geoffrey Keating <geoffk@redhat.com> - Richard Henderson <rth@redhat.com> - - * Makefile.am: Add support for xstormy16. - * configure.tgt: Add support for xstormy16. - * Makefile.in: Regenerate. - * emulparams/elf32xstormy16.sh: New file. - * scripttempl/xstormy16.sc: New file. - -2001-10-01 Christopher Faylor <cgf@cygnus.com> - - * Makefile.in (LIB_PATH): Make configurable. - (GENSCRIPTS): Set LIB_PATH in environment. - * configure.in: Substitute LIB_PATH. - * configure: Regenerate. - * configure.tgt (*cygwin): Set LIB_PATH for cross build. - * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. - -2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> - - * lexsup.c (ld_options): Insert 'PROGRAM' into the text string - describing the -N option so that it is easier to translate into - foreign languages. - -2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> - - * emultempl/pe.em (..._list_options): Replace multiple fprintf - statements describing a single option with a single, newline - escaped fprintf. This allows better translation into other - languages. - - * ldmain.c (add_archive_element): Combine multiple strings - into a single string to permit better translation into other - languages. - -2001-12-05 Tom Rix <trix@redhat.com> - - * Makefile.am: Remove eaixppc64. - * Makefile.in: Regenerate. - -2001-12-04 Tom Rix <trix@redhat.com> - - * emultempl/aix.em (choose_target): Change default target to - OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler - warning. - (gld*_read_file): Fix typo. - (change_symbol_mode): Add prototype. - (is_syscall): Same. - - * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. - * emulparams/aixrs6.sh : Same. - * emulparams/ppcmacos.sh : Same. - * emulparams/aixppc64.sh : Delete file. - * emultempl/aix.em : Formatting changes. - -2001-12-04 Hans-Peter Nilsson <hp@axis.com> - - * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. - (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting - __Sbss. - (OTHER_END_SYMBOLS): Fix formatting. - * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. - (OTHER_END_SYMBOLS): Fix formatting. - -2001-12-04 Alan Modra <amodra@bigpond.net.au> - - * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. - -2001-12-02 Tom Rix <trix@redhat.com> - - * configure.tgt : Remove eaixppc64 emulations. - * Makefile.in : Remove eaixppc64.c - * ldemul.c (ldemul_choose_target): New parameters argc, argv. - (ldemul_default_target): Same. - * emultempl/gld960.em (gld960_choose_target): Same. - * emultempl/gld960c.em (gld960_choose_target): Same. - * scripttempl/aix.sc: Remove OUTPUT_FORMAT. - * emultempl/aix.em (is_syscall): syscall_mask now a variable. - * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. - * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. - * emultempl/aix.em (choose_target): New function. Handle emulation of - -b32 and -b64. - -2001-11-27 H.J. Lu <hjl@gnu.org> - - * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. - * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. - * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. - * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. - - * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} - is not empty. - (SDATA): Likewise. - (REL_SDATA): Likewise. - (REL_SBSS): Likewise. - (REL_SDATA2): Likewise. - (REL_SBSS2): Likewise. - (SBSS2): Define if ${NO_SMALL_DATA} is not empty. - (SDATA2): Likewise. - -2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and - destructor in rom. - * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. - -2001-11-22 H.J. Lu <hjl@gnu.org> - - * Makefile.in: Regenerated with automake based on automake - 1.4-8 in RedHat 7.1. - -2001-11-22 Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. - (config.status): Delete rule. - Add extra dependencies to cover sourced emulparams files. - * Makefile.in: Regenerate. - - * scripttempl/elf.sc: Order <section>, <section>.* and - corresponding linkonce sections as seen in input files. - Formatting fixes. Zero vma of all sections if not relocating. - (STACK): Define and insert if STACK_ADDR defined. - (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_END_SYMBOLS): Define. - (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. - (OTHER_READWRITE_SECTIONS): Likewise. - (OTHER_GOT_SECTIONS): Likewise. - (OTHER_SDATA_SECTIONS): Likewise. - (OTHER_BSS_SECTIONS): Likewise. - * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. - (OTHER_READWRITE_SECTIONS): Likewise. - * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. - (OTHER_READWRITE_SECTIONS): Likewise. - - * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. - (STACK_ADDR): Define. - * emulparams/armelf_oabi.sh: As for armelf.sh. - * emulparams/elf32mcore.sh: As for armelf.sh. - * emulparams/h8300elf.sh: As for armelf.sh. - * emulparams/mn10200.sh: As for armelf.sh. - * emulparams/shelf.sh: As for armelf.sh. - - * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_END_SYMBOLS): Define. - * emulparams/m32relf.sh: As for elf32fr30.sh. - * emulparams/h8300helf.sh: As for elf32fr30.sh. - * emulparams/h8300self.sh: As for elf32fr30.sh. - - * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol - defines with RELOCATING test. - (OTHER_SDATA_SECTIONS): Likewise. - (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. - (OTHER_END_SYMBOLS): ..this. - * emulparams/crislinux.sh: As for criself.sh. - - * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma - if not relocating. - (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. - (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order - normal and linkonce sections as seen in input files. - * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. - (TEXT_DYNAMIC): Likewise. - (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. - (OTHER_SDATA_SECTIONS): Likewise. - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. - * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. - * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. - (OTHER_PLT_RELOC_SECTIONS): Likewise. - (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce - sections as seen in input files. - * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. - * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma - if not relocating. - (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. - (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. - * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. - (OTHER_SECTIONS): Instead, use this.. - (OTHER_END_SYMBOLS): ..and this. - - * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. - * emulparams/elf32bsmip.sh: Likewise. - * emulparams/elf32btsmip.sh: Likewise. - * emulparams/elf32ebmip.sh: Likewise. - * emulparams/elf32lmip.sh: Likewise. - * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. - * emulparams/elf32lsmip.sh: Likewise. - * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. - * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. - * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. - * emulparams/elf64btsmip.sh: Likewise. - * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. - * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. - * emulparams/elf32ppclinux.sh: Likewise. - * emulparams/elf32ppcsim.sh: Likewise. - * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. - * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. - * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. - * emulparams/h8300self.sh: Likewise. - * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. - * emulparams/sh.sh: Comment. - * emulparams/shl.sh: Source sh.sh, remove duplicates. - * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. - * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. - -2001-11-21 David Heine <dlheine@tensilica.com> - Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (map_input_to_output_sections): Replace "break" - accidentally removed with 2001-08-03 change. - (lang_gc_sections_1): Likewise. - -2001-11-21 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. - -2001-11-20 Angela Marie Thomas <angela@redhat.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead - of false when calling lang_size_sections. - * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. - -2001-11-15 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this - function when LDEMUL_FINISH isn't set to the same name. Don't - call ${LDEMUL_FINISH}. - (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. - * emultempl/armelf.em (arm_elf_finish): Call - gld${EMULATION_NAME}_finish. - * emultempl/hppaelf.em (hppaelf_finish): Rename to - gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and - hppaelf_layout_sections_again if necessary. - (need_laying_out): New var. - (hppaelf_layaout_sections_again): Rename to - hppaelf_layout_sections_again. Clear need_laying_out. - (PARSE_AND_LIST_OPTIONS): Format text. - -2001-11-14 H.J. Lu <hjl@gnu.org> - - * emultempl/armelf.em (arm_elf_finish): Renamed from - gld${EMULATION_NAME}_finish. - (LDEMUL_FINISH): Set to arm_elf_finish. - -2001-11-14 Daniel Jacobowitz <drow@mvista.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. - (struct ld_emulation_xfer_struct): Use it. - -2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com> - - * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add - additional symbols referenced by newer crt0.o files from HP. - -2001-11-12 Anthony Green <green@redhat.com> - - * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. - -2001-11-12 Alfred M. Szmidt <ams@kemisten.nu> - - * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. - * Makefile.in: Regenerate. - -2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * ld.texinfo: Use @command for commands, @option for options. - * Makefile.am (POD2MAN): Use 'GNU Development Tools' for - the page man title. - * Makefile.in: Rebuild. - -2001-11-04 Chris Demetriou <cgd@broadcom.com> - - * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): - Add support for targets. - -2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.in (ALL_LINGUAS): Add "fr" and "sv" - * configure: Regernate. - * po/fr.po: New file. - * po/sv.po: New file. - -2001-11-01 NIIBE Yutaka <gniibe@m17n.org> - - * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls - as little endian default and to support big endian. - -2001-11-01 Chris Demetriou <cgd@broadcom.com> - - * ld.texinfo (Options): Document new option, -nostdlib. - * lexsup.c (OPTION_NOSTDLIB): New definition. - (ld_options): Add entry for "nostdlib". - (parse_args): Handle OPTIONS_NOSTDLIB. - * ldfile.c (ldfile_add_library_path): Don't add directories - to the search path if they weren't specified on the command line - and -nostdlib was specified. - * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. - -2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> - - * lexsup.c (parse_args): Prevent infinite parsing loop when - "-rpath.a" is specified on the command line. - Replace calls to fprintf with calls to einfo. - -2001-10-31 John Marshall <jmarshall@acm.org> - - * ld.texinfo: A historical requirement that MEMORY and SECTIONS - appear only once across all the linker scripts involved in a link - invocation no longer applies. Make the documentation reflect - that. - -2001-10-31 NIIBE Yutaka <gniibe@m17n.org> - - * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu - targets. - (sh-*-linux*): Added targ_extra_libpath. - -2001-10-31 David Heine <dlheine@tensilica.com> - - * ldlang.c (lang_size_sections): Keep a valid output_offset field - for padding statements. - -2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> - - * configure.tgt (mmix-*-*): New target. - * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. - Add dependencies to match. - * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, - emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, - scripttempl/mmo.sc: New files. - * gen-doc.texi: @set MMIX. - * ld.texinfo: Ditto. - [MMIX] Add MMIX node. - * Makefile.in: Regenerate. - -2001-10-29 Kazu Hirata <kazu@hxi.com> - - * ldlang.c: Fix a comment typo. - -2001-10-23 Alan Modra <amodra@bigpond.net.au> - - * configure.host: Move alpha*-*-linux-gnu* entry to generic - entries, and match *-*-linux*. - -2001-10-20 Alan Modra <amodra@bigpond.net.au> - - * ldgram.y (mri_script_command): Surround processing of INCLUDE - with ldlex_script, ldlex_popstate. - (ifile_p1): Likewise. - * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the - correct slot. - (lex_push_file): Save current lineno to lineno_stack. Set lineno - to 1. Don't BEGIN(SCRIPT). - (lex_redirect): Similarly. - * ldmain.c (main): Set yydebug non-zero if YYDEBUG. - -2001-10-20 Nick Clifton <nickc@cambridge.redhat.com> - - * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and - __EH_FRAME_END__ and accept eh frames into data section. - Add ctor and dtor sections. - -2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz> - - * pe-dll.c (autofilter_objectlist): Add gcrt0.o. - (auto-export): Fix indentation. - -2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz> - - * pe-dll.c (autofilter_objectlist): Add startup objects - for profiling. - (auto-export): Constify char * p. - Extract file basename and use strcmp rather than ststr - for object lookup. - -2001-10-18 Chris Demetriou <cgd@broadcom.com> - - * ldmain.c (get_emulation): Improve comment about the handling - of -mipsN options. - -2001-10-17 Alan Modra <amodra@bigpond.net.au> - - * po/POTFILES.in: Regenerate. - -2001-10-16 Vassili Karpov <malc@pulsesoft.com> - - * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from - -z nocopyreloc and -z nocombreloc usage strings. - -2001-10-12 Vassili Karpov <malc@pulsesoft.com> - - * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc - in usage. - -2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> - - * scripttempl/armaout.sc: Place .bss section after end of aligned - data section to match behaviour of aout code in constructrion of - header. - -2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> - - * pe-dll.c (autofilter_entry_type autofilter_liblist: Add - startup files for mingw32 dlls to list. - -2001-10-10 Chris Demetriou <cgd@broadcom.com> - - * emultempl/elf32.em: Fix shell 'if' usage for portability. - -2001-10-08 Aldy Hernandez <aldyh@redhat.com> - - * configure.tgt (targ): Add arm9e-*-elf. - -2001-10-05 H.J. Lu <hjl@gnu.org> - - * genscripts.sh: Fix a typo in the last change. - -2001-10-05 Jakub Jelinek <jakub@redhat.com> - - * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and - -z nocombreloc in usage. - -2001-10-03 Jim Blandy <jimb@redhat.com> - - * genscripts.sh: Include a comment at the top of each generated - script, explaining its purpose. - -2001-10-03 Vassili Karpov <malc@pulsesoft.com> - - * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. - * NEWS: Mention -z nocopyreloc. - * ld.texinfo (Options): Describe nocopyreloc. - -2001-10-03 Alan Modra <amodra@bigpond.net.au> - - * configure: Regenerate. - -2001-10-02 Alan Modra <amodra@bigpond.net.au> - - * ldver.h (ld_program_version): Remove declaration. - * lexsup.c (parse_args): Move printing of copyright message.. - * ldver.c (ldversion): .. to here. - Use BFD_VERSION_STRING in place of BFD_VERSION. - (ld_program_version): Remove. - * Makefile.am (Makefile): Depend on bfd/configure.in. - Run "make dep-am". - * Makefile.in: Regenerate. - -2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> - - * Makefile.am: Update dependencies with "make dep-am". - * Makefile.in: Regenerate. - -2001-09-29 John Reiser <jreiser@BitWagon.com> - - * ldlang.c (lang_common): Conditionally inhibit Common allocation. - * lexsup.c: Add --no-define-common commandline option. - * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. - * ldlex.l: Likewise. - * ld.h: Add command_line.inhibit_common_definition. - * ldmain.c (main): Initialize. - * ld.texinfo: Document. - -2001-09-29 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (section_already_linked): Remove assignment to kept_section. - -2001-09-26 Alan Modra <amodra@bigpond.net.au> - - * ldmisc.c (USE_STDARG): Remove. - (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. - (einfo): Likewise. - (minfo): Likewise. - (lfinfo): Likewise. - - * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi - declarations. Update copyright. - -2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c: Remove obsoleted declaration of - pe_get_data_import_dll_name. - (pe_create_import_fixup): Fix thinko. - - * ld.texinfo(enable-auto-import): Clarify the explanation. - -2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> - - * pe-dll.c (pe_create_import_fixup): Revert previous patch. - * emultemp/pe.em (pe_data_import_dll): Move definition outside of - DLL_SUPPORT controlled code. - -2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> - - * emultempl/pe.em(pe_data_import_dll): Make static. - (pe_get_data_import_dll_name): New accessor function. - * pe-dll.c(pe_create_import_fixup): call - pe_get_data_import_dll_name() from pe.em, instead of - directly accessing pe_data_import_dll variable from pe.em. - -2001-09-18 Bruno Haible <haible@clisp.cons.org> - - * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. - (def_file_add_directive): Use ISSPACE instead of isspace. - (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of - isdigit/isxdigit/isalpha/isalnum. - * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. - (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. - * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. - (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of - isalnum. - * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. - (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of - isupper/tolower. - * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. - (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. - * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. - (ctor_prio): Use ISDIGIT instead of isdigit. - * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. - (ldfile_open_file_search): Use ISALPHA instead of isalpha. - (ldfile_add_arch): Use ISUPPER/TOLOWER instead of - isupper/tolower. - * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. - (stricpy): Use TOLOWER instead of isupper/tolower. - (lang_leave_overlay_section): Use ISALNUM instead of isalnum. - * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. - (lex_warn_invalid): Use ISPRINT instead of isprint. - * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. - (main): For gettext, also set the LC_CTYPE locate facet. - (add_keepsyms_file): Use ISSPACE instead of isspace. - * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. - (is_num, parse_args): Use ISDIGIT instead of isdigit. - * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. - (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. - * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. - (gldppcmacos_read_file): Use ISSPACE instead of isspace. - * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. - (quoteput): Use ISSPACE instead of isspace. - (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM - instead of isalnum. - -2001-09-18 Alan Modra <amodra@bigpond.net.au> - - * deffilep.y (def_stash_module): Constify "name" param. - - * pe-dll.c: Replace CONST with const throughout. - (quick_symbol): Constify "n1", "n2", "n3" params. - (make_singleton_name_thunk): Constify "import" param. Make - "buffer_len" a size_t. - (make_import_fixup_entry): Constify "name", "fixup_name", - "dll_symname" params. - (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. - (pe_get32): Likewise. - (pe_implied_import_dll): Likewise. - - * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". - (sort_by_section_name): Likewise. - - * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. - (make_import_fixup): Cast printf arg, rel->address to long rather - than int. - (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. - -2001-09-15 Alan Modra <amodra@bigpond.net.au> - - * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX - defines BufferSize. Increase buffer size by one. - -2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de> - - * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. - -2001-09-14 Kevin Lo <kevlo@openbsd.org> - - * configure.tgt: Add arm-openbsd target. - -2001-09-12 H.J. Lu <hjl@gnu.org> - - * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and - eelf64lppc.o to ... - (ALL_64_EMULATIONS): Here. - * Makefile.in: Regenerated. - -2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> - - * emultempl/pe.em(make_import_fixup): change signature to - take asection as well as arelec; we need this for proper - error reporting. Only call pe_create_import_fixup() if - there is no attempt to add a constant addend to the reloc; - otherwise, report error condition. - * pe-dll.c(pe_walk_relocs_of_symbol): change signature, - since final argument is a pointer to make_import_fixup(). - Change call to cb() to match make_import_fixup() signature. - (make_import_fixup_mark): make buffer_len unsigned. - * pe-dll.h: change signature of pe_walk_relocs_of_symbol. - -2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> - - * ld.texinfo: add verbose documentation for auto-import - direct-addressing workaround, to compliment the terse - error message. - -2001-09-12 Andrew MacLeod <amacleod@redhat.com> - - * scripttempl/v850.sc: Add gcc_except_table sections. - -2001-09-11 Jeffrey A Law (law@cygnus.com) - - * emulparams/h8300helf.sh: Move stack to a much higher memory address. - * emulparams/h8300self.sh: Similarly. - -2001-09-05 Danny Smith <dannysmith@users.souceforge.net> - - * ld.texinfo (Options, --stack): Correct default value for stack - reserve. - -2001-09-05 Tom Rix <trix@redhat.com> - - * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. - -2001-09-03 Andreas Jaeger <aj@suse.de> - - * emultempl/beos.em: Declare prototypes for comparions functions, - adjust definitions. - -2001-09-02 Andreas Jaeger <aj@suse.de> - - * emultempl/aix.em: Add missing prototype. - * emultempl/lnk960.em: Likewise. - * emultempl/vanilla.em: Likewise. - * emultempl/armcoff.em: Likewise. - * emultempl/armelf_oabi.em: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/gld960c.em: Likewise. - * emultempl/gld960.em: Likewise. - - * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter - for prototype declaration. - -2001-08-31 Eric Christopher <echristo@redhat.com> - Jason Eckhardt <jle@redhat.com> - - * ldmain.c (get_emulation): Add support for -mips32 and -mips64. - -2001-08-31 Andreas Jaeger <aj@suse.de> - - * emultempl/pe.em: Add missing prototypes. - (gld_${EMULATION_NAME}_after_open): Remove extra args to - pe_find_data_imports. - (pr_sym): Add unused attribute. - -2001-08-29 Joel Sherrill <joel@OARcorp.com> - - * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change - default from coff to elf. - -2001-08-29 Jeff Law <law@redhat.com> - - * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update - ARCH specification. - * emulparams/h8300self.sh: Similarly. - -2001-08-28 J"orn Rennecke <amylaar@redhat.com> - - * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and - eh8300self.o . - (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. - * configure.tgt (h8300-*-elf*): New case. - * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. - * emulparams/h8300self.sh: New file. - * Makefile.in: Regenerated. - -2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> - - * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision - with macro name. - -2001-08-27 Linus Nordberg <linus@swox.com> - Alan Modra <amodra@bigpond.net.au> - - * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. - (eelf64ppc.c, eelf64lppc.c): Add make targets. - Run "make dep-am" - * Makefile.in: Regenerate. - * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj - entries to correct alphabetical position. - * emulparams/elf64ppc.sh: New. - * emulparams/elf64lppc.sh: New. - -2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> - - * ldmain.c (main): Declare BSIZE as static. - -2001-08-23 Jakub Jelinek <jakub@redhat.com> - - * emultempl/elf32.em (place_orphan): Place orphan .rel* sections - into .rel.dyn resp. .rela.dyn if combreloc. - (get_script): If .x linker script is equal to .xn, only put it - once into the binary. - Add .xc and .xsc scripts. - (parse_args): Handle -z combreloc and -z nocombreloc. - * scripttempl/elf.sc (.rela.sbss): Fix a typo. - For .xc and .xsc scripts put all .rel* or .rela* input sections - but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. - * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME - is elf. - Strip trailing whitespace from script. - Generate .xc and .xsc scripts if requested. - * ldmain.c (main): Initialize link_info.combreloc and - link_info.spare_dynamic_tags. - * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. - (ld_options): Add --spare-dynamic-tags option. - (parse_args): Likewise. - * ld.texinfo: Document -z combreloc and -z nocombreloc. - * ldint.texinfo: Document .xc and .xsc linker scripts. - * NEWS: Add notes about -z combreloc and SHF_MERGE. - -2001-08-22 H.J. Lu <hjl@gnu.org> - - * emulparams/elf32fr30.sh: Add a newline. - -2001-08-21 Andreas Jaeger <aj@suse.de> - - * deffilep.y: Add missing prototypes. - * pe-dll.c: Likewise. - -2001-08-20 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (insert_pad): Fix typos in last patch. - - * ldlang.c: When traversing lang_statement_union_type lists, - consistently use "header.next" rather than "next". - * mpw-eppcmac.c: Likewise. - * emultempl/beos.em: Likewise. - * emultempl/hppaelf.em: Likewise. - * emultempl/pe.em: Likewise. - * ldlang.h (union lang_statement_union): Remove "next" field. - - * ldlang.c (insert_pad): Use offsetof macro. - (lang_size_sections): Always neuter padding statements. - * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. - - * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param - passed to lang_size_sections. - (pe_exe_fill_sections): Likewise. - * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. - (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. - -2001-08-18 Alan Modra <amodra@bigpond.net.au> - - * emultempl/aix.em: Formatting fixes. - -2001-08-18 Alan Modra <amodra@bigpond.net.au> - - * ldlang.c (insert_pad): Make use of an existing pad statement if - available. Move code calculating alignment, adjusting section - alignment power, and adjusting dot to .. - (size_input_section): .. here. Remove unused relax param. - (lang_size_sections): Change boolean `relax' param to boolean *. - Adjust call to size_input_section. Make use of insert_pad to - place pad after the assignment statement. If relaxing, zap - padding statements. - (reset_memory_regions): Reset output_bfd section sizes too. - (relax_again): Move to.. - (lang_process): ..here. Adjust call to lang_size_sections, and - remove duplicated code. - * ldlang.h (lang_size_sections): Change `relax' param to boolean *. - -2001-08-17 Alan Modra <amodra@bigpond.net.au> - - * ld.texinfo: Document that fill values now use the four least - significant bytes. - * emulparams/elf32fr30.sh (NOP): Update. - * emulparams/elf32mcore.sh: Likewise. - * emulparams/elf64_s390.sh: Likewise. - * emulparams/elf_i386.sh: Likewise. - * emulparams/elf_i386_be.sh: Likewise. - * emulparams/elf_i386_chaos.sh: Likewise. - * emulparams/elf_i386_ldso.sh: Likewise. - * emulparams/elf_s390.sh: Likewise. - * emulparams/elf_x86_64.sh: Likewise. - * emulparams/i386moss.sh: Likewise. - * emulparams/i386nw.sh: Likewise. - * emulparams/m68kelf.sh: Likewise. - * scripttempl/elf.sc: Update NOP comment. - * scripttempl/elfi370.sc: Likewise. - * scripttempl/elfm68hc11.sc: Likewise. - * scripttempl/elfm68hc12.sc: Likewise. - * scripttempl/nw.sc: Likewise. - -2001-08-15 Tom Rix <trix@redhat.com> - - * ldgram.y (saved_script_handle): Initialize to NULL. - * ldmain.c (main): Change check on saved_script_handle. - -2001-08-14 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em: Formatting fixes. - (output_prev_sec_find): Test for bfd_ind_section too; do so by - looking at sec->owner. - (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. - (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove - unused code, and reorganize orphan section placement code. - - * ldlang.c (wild_doit): Rename to lang_add_section. - * ldlang.h: Here too. - * mpw-elfmips.c: And here. - * emultempl/beos.em: And here. - * emultempl/elf32.em: And here. - * emultempl/hppaelf.em: And here. - * emultempl/pe.em: And here. - -2001-08-13 Richard Henderson <rth@redhat.com> - - * emultempl/needrelax.em: New file. - * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. - * Makefile.am (eelf64_ia64.c): Depend on it. - * Makefile.in: Rebuild. - -2001-08-13 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that - output_section is set non-NULL. - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return - `true' for SEC_EXCLUDE sections so that the generic code doesn't - needlessly create an output_section_statement. Treat a correctly - named output_section_statement with NULL bfd_section as compatible. - -2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> - - * emultempl/generic.em: Support EXTRA_EM_FILE. - (ld_${EMULATION_NAME}_emulation): Support emulation parameters - LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, - LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, - LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, - LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, - LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, - LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, - LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, - LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, - LDEMUL_FIND_POTENTIAL_LIBRARIES. - -2001-08-12 Richard Henderson <rth@redhat.com> - - * scripttempl/elf.sc, scripttempl/elfd30v.sc, - scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, - scripttempl/v850.sc: Keep .jcr data. - -2001-08-12 H.J. Lu <hjl@gnu.org> - Andrew Haley <aph@cambridge.redhat.com> - Nick Clifton <nickc@redhat.com> - - * ldgram.y (had_script): Change name to saved_script_handle. - Change type to file handle. - * ld.h (had_script): Rename and retype. - * ldfile.c (ldfile_open_command_file): Save the file handle - used in saved_script_handle. - * lexsup.c (parse_args): Do not allow -c option to alter - saved_script_handle. - * ldmain.c (main): Print out the linker script used if - --verbose is given. Check saved_script_handle to obtain the - external linker script used, or if NULL, dump the builtin - script. - * ld.texinfo: Document that --verbose now dumps the linker - script used, regardless of whether it was an internal or an - external script. - -2001-08-10 Andreas Jaeger <aj@suse.de> - - * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes - to build warnings. - * configure: Regenerate. - -2001-08-09 Alan Modra <amodra@bigpond.net.au> - - * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. - - * scripttempl/elf.sc: Move non-text .dynamic section before - .plt/.got/.sdata* group. - (OTHER_GOT_SECTIONS): Move to immediately after .got. - (OTHER_SDATA_SECTIONS): Add. - * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than - OTHER_GOT_SECTIONS. - * emulparams/crislinux.sh: Likewise. - * emulparams/elf32b4300.sh: Likewise. - * emulparams/elf32bmip.sh: Likewise. - * emulparams/elf32bmipn32.sh: Likewise. - * emulparams/elf32bsmip.sh: Likewise. - * emulparams/elf32btsmip.sh: Likewise. - * emulparams/elf32ebmip.sh: Likewise. - * emulparams/elf32elmip.sh: Likewise. - * emulparams/elf32l4300.sh: Likewise. - * emulparams/elf32lmip.sh: Likewise. - * emulparams/elf32lsmip.sh: Likewise. - * emulparams/elf32ltsmip.sh: Likewise. - * emulparams/elf64bmip.sh: Likewise. - * emulparams/elf64btsmip.sh: Likewise. - * emulparams/elf64ltsmip.sh: Likewise. - -2001-08-08 Alan Modra <amodra@bigpond.net.au> - - * genscripts.sh: Source the emulparams script before each output - script is generated so that variables like `RELOCATING' may affect - variables defined in the emulparams script. - -2001-08-04 Alan Modra <amodra@bigpond.net.au> - - * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this - order. - - * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, - ie. iterate over wild_statement.section_list. - (gld${EMULATION_NAME}_place_orphan): Likewise. - -2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle - .fini[0-4] sections used by _exit - (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. - (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. - * scripttempl/elfm68hc11.sc: Likewise. - -2001-08-03 H.J. Lu <hjl@gnu.org> - - * emultempl/beos.em (init): Add the missing initialization. - -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): Change dependency 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 - different object formats. - -2001-06-19 Hans-Peter Nilsson <hp@axis.com> - - * ldlang.c (lang_check): Emit fatal error if relocatable link - between different object flavours with relocations in input. - -2001-06-19 H.J. Lu <hjl@gnu.org> - - * ld.texinfo (-E, --export-dynamic): Mention --version-script. - (--version-script): Mention the language support. - -2001-06-19 H.J. Lu <hjl@gnu.org> - - * ldlang.c (lang_check): Revert the change mode on 2001-06-15. - -2001-06-18 H.J. Lu <hjl@gnu.org> - - * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. - (diststuff): Add $(MANS). - * Makefile.in: Regenerated. - - * ld.1: Removed. - -2001-06-18 Hans-Peter Nilsson <hp@axis.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): - Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. - * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. - * ld.h (args_type): Remove member export_dynamic. All users - changed to use struct bfd_link_info member. - - * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on - $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. - * Makefile.in: Regenerate. - -2001-06-18 H.J. Lu <hjl@gnu.org> - - * ldlang.c (init_os): Add the newline to the einfo call. - (lang_check): Likewise. - (lang_do_version_exports_section): Likewise. - -2001-06-15 H.J. Lu <hjl@gnu.org> - - * lexsup.c (parse_args); Save optind to report unrecognized - option. - -2001-06-15 Hans-Peter Nilsson <hp@axis.com> - - * ldlang.c (lang_check): Emit fatal error if relocatable link - between different object flavours. - - * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: - Set new link_info member export_dynamic. - * ldmain.c (main): Initialize new link_info member export_dynamic. - -2001-06-12 Nick Clifton <nickc@cambridge.redhat.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): Change 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> - - * ldlang.c (record_bfd_errors): Remove. - - * emultempl/aix.em: Fix copyright dates. - -2001-06-07 Andreas Jaeger <aj@suse.de> - - * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. - (TEXT_START_ADDR): Likewise. - -2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. - -2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> - - * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. - -2001-05-31 H.J. Lu <hjl@gnu.org> - - * ldlang.c (open_input_bfds): Don't change the bfd error - handler whilst loading symbols. - -2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> - - * configure.tgt: Remove i370-mvs architecture, it is not currently - supported. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK - like emulparams/aixppc.sh. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move - setting of output_filename after bfd_scan_arch. - * emultempl/pe.em: Likewise. - -2001-05-25 H.J. Lu <hjl@gnu.org> - - * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK - like emulparams/aixppc.sh. - - * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed - instead of ${srcdir}/emultempl/stringify.sed. - -2001-05-25 Timothy Wall <twall@oculustech.com> - - * emulparams/elf64_aix.sh: Change settings to match IBM linker - output. - -2001-05-25 Alan Modra <amodra@one.net.au> - - * configure.host: Replace linuxoldld with linux*oldld. - * configure.tgt: Likewise. - -2001-05-24 H.J. Lu <hjl@gnu.org> - - * emultempl/stringify.sed: Removed again. - -2001-05-24 H.J. Lu <hjl@gnu.org> - - * emultempl/aix.em (OUTPUT_ARCH): Defined. - (gld${EMULATION_NAME}_before_parse): Initialize - ldfile_output_architecture, ldfile_output_machine and - ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. - * emultempl/beos.em: Likewise. - * emultempl/elf32.em: Likewise. - * emultempl/linux.em: Likewise. - * emultempl/mipsecoff.em: Likewise. - * emultempl/pe.em: Likewise. - * emultempl/sunos.em: Likewise. - -2001-05-24 Tom Rix <trix@redhat.com> - - * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) - udate import file format. - (change_symbol_mode) New, same - (is_syscall) New, same - * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK - * emulparams/aixppc64.sh : same - * emulparams/aixrs6.sh : same - * emulparams/ppcmacos.sh : same - * emultempl/aix.em : use strtoull to parse options - * Makefile.am : add eaixppc64 emulation for xcoff64 - * Makefile.in : same - * configure.tgt : same - - * scripttempl/aix.sc : default text section offset to 0x10000000 - default data section offset to 0x20000000 - add .sv3264 and .sv64 pseudo sections - loader and debug sections use the currect section offset. - - * emultempl/aix.em : Add xcoff64 support - Add -binitfini support - (gld${EMULATION_NAME}_before_parse) -binitfini - (gld${EMULATION_NAME}_parse_args) same - (gld${EMULATION_NAME}_before_allocation) format change for special - sections - - * emulparams/aixppc64.sh : New file for xcoff64 support - -2001-05-23 Alexandre Oliva <aoliva@redhat.com> - - * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new - variable to avoid non-portable shell construct. - -2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ldmain.c (get_emulation): Add -mips5 command line argument. - -2001-05-22 Alexandre Oliva <aoliva@redhat.com> - - * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. - (ELF_INTERPRETER_NAME): Define it. - * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use - it. - * configure.tgt (targ_emul, targ_extra_emuls) - [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso - as primary, elf_i386 as extra. - * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. - (eelf_i386_ldso.c): New rule. - * Makefile.in: Rebuilt. - -2001-05-22 Nick Clifton <nickc@redhat.com> - - * lexsup.c (ld_options): Allow -I to be an alias for - --dynamic-linker. This is for Solaris compatability. - * ld.texinfo: Document that -I can be used. - * ld.1: Regenerate. - -2001-05-16 Alan Modra <amodra@one.net.au> - - * ldlang.c (wild_doit): Use linker_has_input to reliably determine - whether an input section is the first one assigned to an output - section. - Assorted formatting fixes. - -2001-05-14 DJ Delorie <dj@delorie.com> - - * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. - * Makefile.in: Ditto. - -2001-05-11 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put - .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* - output sections. - * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. - -2001-05-11 Jakub Jelinek <jakub@redhat.com> - - * ldlang.c (lang_process): Call bfd_merge_sections. - -2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ldgram.y: Fix typo. - -2001-05-03 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em: Include "libiberty.h". - (gld${EMULATION_NAME}_vercheck): Call basename () to get the - basename of the bfd filename. - (gld${EMULATION_NAME}_stat_needed): Likewise. - (gld${EMULATION_NAME}_try_needed): Likewise. - (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. - -2001-05-02 H.J. Lu <hjl@gnu.org> - - * emultempl/pe.em: Include <ctype.h>. - -2001-05-02 Johan Rydberg <jrydberg@opencores.org> - - * emulparams/elf32openrisc.sh: New file. - - * Makefile.am: Add OpenRISC target. - * Makefile.in: Regenerated. - - * configure.tgt: Add openrisc-*-* mapping. - -2001-05-02 Nick Clifton <nickc@redhat.com> - - * emultempl/aix.em: Replace buystring with xstrdup. - * emultempl/beos.em: Replace buystring with xstrdup. - -2001-05-02 H.J. Lu <hjl@gnu.org> - - * ldfile.c: Include "libiberty.h". - * ldlex.l: Likewise. - - * ldmisc.c (buystring): Removed. - * ldmisc.h: Likewise. - - * ldfile.c: Replace buystring with xstrdup. - * ldlang.c: Likewise. - * ldlex.l: Likewise. - * ldmain.c: Likewise. - * ldmisc.c: Likewise. - * lexsup.c: Likewise. - * mpw-eppcmac.c: Likewise. - -2001-04-30 Andreas Jaeger <aj@suse.de> - - * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. - -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. - -2001-04-27 Sean McNeil <sean@mcneil.com> - - * configure.tgt: Add arm-vxworks target. - * scripttempl/armcoff.sc: Support .text or .data as a section name - prefix. - Define _etext. - -2001-04-13 J.T. Conklin <jtc@redback.com> - - * ld.texinfo: Document --fatal-warnings. - * ld.1: Regenerate. - - * ldmisc.c (vfinfo): Set flag to inhibit making executable if - warnings have been turned into errors. - * lexsup.c (OPTION_WARN_FATAL): Define. - (ld_options): Entry for --fatal-warnings. - (parse_args): Handle OPTION_WARN_FATAL. - * ld.h (ld_config_type): Add fatal_warnings field. - -2001-04-13 Jakub Jelinek <jakub@redhat.com> - - * ldmain.c (main): Default to discard_sec_merge. - * lexsup.c (OPTION_DISCARD_NONE): Define. - (ld_options): Add --discard-none. - (parse_args): Handle OPTION_DISCARD_NONE. - * ldlang.c (wild_doit): SEC_MERGE should be set in the output - section only if SEC_MERGE and SEC_STRINGS flags and entsize of - all its input sections match. - -2001-04-05 Steven J. Hill <sjhill@cotw.com> - - * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. - (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. - (eelf32ltsmip.c): New target. - (eelf64btsmip.c): Likewise. - (eelf64ltsmip.c): Likewise. - * Makefile.in: Regenerated. - - * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS - target. - (mips*-*-linux-gnu*): Likewise. - - * emulparams/elf32ltsmip.sh: New. Traditional little endian - MIPS taget. - * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian - target. - * emulparams/elf64ltsmip.sh: New. Traditional 64bit little - endian target. - -2001-04-05 Hans-Peter Nilsson <hp@axis.com> - - * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide - correct value of __Stext here. - (TEXT_START_SYMBOLS): Define; always define __Stext, to start of - .startup section. - - * emulparams/crislinux.sh: Remove FIXME. - -2001-04-02 Alan Modra <alan@linuxcare.com.au> - - * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. - (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. - -2001-03-27 Hans-Peter Nilsson <hp@axis.com> - - * configure.tgt (cris-*-*): Change default emulation to criself. - (cris-*-*aout*): New rule. - -2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> - - * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. - (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. - -2001-03-26 Andreas Jaeger <aj@suse.de> - - * ld.texinfo (Overview): Fix syntax in texi code. - -2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * ld.texinfo: Put @c man indications to generate the ld man page. - When generating man, define all the variables. Define SEEALSO - and SYNOPSIS. Re-organize some lines to avoid the cross references. - * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. - (ld.1): Generate from ld.texinfo. - * Makefile.in: Regenerate. - -2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' - and '-fdata-sections'. Set the VMA of STABS sections to zero. - -2001-03-17 Ulrich Drepper <drepper@redhat.com> - - * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME - is an absolute path look only for this file and not along the path. - -2001-03-17 Ulrich Drepper <drepper@redhat.com> - - * emultempl/elf32.em (OPTION_GROUP): New macro. - Add new option Bgroup to longopts. - (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. - (gld*_list_options): Add -Bgroup and -z defs. - * ld.1: Document -Bgroup and -z defs. - * ld.texinfo: Likewise. - -2001-03-07 Michael Meissner <meissner@redhat.com> - - * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal - with sections created by -fdata-sections. - (.dynbss,.bss): Ditto. - -2001-03-05 Alan Modra <alan@linuxcare.com.au> - - * emultempl/m68kelf.em (m68k_elf_after_allocation): Call - after_allocation_default, not gld..._before_allocation. - -2001-02-27 Alan Modra <alan@linuxcare.com.au> - - * configure.in (BFD_VERSION): New. - (AM_INIT_AUTOMAKE): Use $BFD_VERSION. - * configure: Regenerate. - * Makefile.am: Run "make dep-am" - * Makefile.in: Regenerate. - -2001-02-26 Timothy Wall <twall@cygnus.com> - - * emulparams/elf64_aix.sh: Add additional read-only sections; - uncomment lines which are now required. - -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. - -2001-02-22 Timothy Wall <twall@cygnus.com> - - * configure.host: Add configuration for ia64-*-aix*. - * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. - Add dependencies for eelf64_aix.c. - * Makefile.in: Regenerate. - * configure.tgt: Add ia64-*-aix* mapping. - * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. - -2001-02-20 H.J. Lu <hjl@gnu.org> - - * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to - false if we found the file. - -2001-02-18 David O'Brien <obrien@FreeBSD.org> - - * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, - FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. - -2001-02-18 lars brinkhoff <lars@nocrew.org> - - * Makefile.am: Add PDP-11 target. - * configure.tgt: Likewise. - * emulparams/pdp11.sh: New file. - -2001-02-17 David O'Brien <obrien@FreeBSD.org> - - * configure.host: Add a generic FreeBSD configuration entry such that - all [modern] FreeBSD systems on all platforms will look the same. - -2001-02-14 H.J. Lu <hjl@gnu.org> - - * configure.tgt: Remove mention of earmelf_linux26. - -2001-02-13 Richard Henderson <rth@redhat.com> - - * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. - -2001-02-13 H.J. Lu <hjl@gnu.org> - - * ldexp.h (node_type): Add etree_provided. - * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node - type to etree_provided if defined by PROVIDE. Allow updating - for etree_provided. - (exp_print_tree): Handle etree_provided. - * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle - etree_provided. - -2001-02-09 David Mosberger <davidm@hpl.hp.com> - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add - .IA_64.unwind.* pattern to unwind table section and - .IA_64.unwind_info* pattern to unwind info section. - -2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * Makefile.am: Add linux target for S/390. - * Makefile.in: Likewise. - * configure.host: Likewise. - * configure.tgt: Likewise. - * emulparams/elf64_s390.sh: New file. - * emulparams/elf_s390.sh: New file. - -2001-02-09 Jakub Jelinek <jakub@redhat.com> - - * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into - targ_extra_libpath. - (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. - -2001-02-06 Philip Blundell <philb@gnu.org> - - * Makefile.am: Remove mention of earmelf_linux26. - * Makefile.in: Regenerate. - -2001-02-04 Philip Blundell <philb@gnu.org> - - * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. - * emulparams/armelf_linux26.sh: Delete. - * configure.tgt: Remove mention of armelf_linux26 emulation. - -2001-02-01 Nick Clifton <nickc@redhat.com> - - * ld.1: Replace occurances of -oformat with --oformat. - -2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> - - * ldlang.c (lang_leave_overlay): Don't set lma_region when - load_base is specified. - -2001-01-24 Hans-Peter Nilsson <hp@axis.com> - - * emultempl/elf32.em: Correct spelling in comments and listed - options. - -2001-01-23 Alan Modra <alan@linuxcare.com.au> - - * ldlang.c (lang_leave_overlay): Only set lma_region from the - default for the first section of a group of overlay sections. - -2001-01-22 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am (GENSCRIPTS): Pass exec_prefix. - * Makefile.in: Regenerate. - * genscripts.sh: Use exec_prefix parameter to specify tool lib. - Check for null tool_dir. - -2001-01-16 Jim Wilson <wilson@redhat.com> - - * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind - and IA_64.unwind.info. - -2001-01-16 H.J. Lu <hjl@gnu.org> - - * ldlang.c (lang_check): Merge the private data only if the - input file has contents. - -2001-01-14 Alan Modra <alan@linuxcare.com.au> - - * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. - - * emultempl/hppaelf.em (hppaelf_after_parse): New function, - enabling search for libmilli. On a relocatable link, make .text - sections unique. - (LDEMUL_AFTER_PARSE): Define. - (hppaelf_finish): Correct spelling of relocatable in comments. - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - rummage through the script for sections on the unique list. - Correct length of strncmp for ".note". - (gld${EMULATION_NAME}_check_needed): Rearrange function. - - * ldlang.c (unique_section_list): New var. - (unique_section_p): New function. - (walk_wild_section): Don't match sections on unique_section_list. - (lang_add_unique): New function. - Correct spelling of relocatable in comments. - - * ldlang.h (struct unique_sections): Declare. - (unique_section_list): Declare. - (unique_section_p): Declare. - (lang_add_unique): Declare. - - * lexsup.c (ld_options): Allow --unique to take an optional arg. - (parse_args [OPTION_UNIQUE]): Call lang_add_unique. - - * ld.texinfo (--unique): Update. - -2001-01-13 Nick Clifton <nickc@redhat.com> - - * lexsup.c (parse_args): Remove spurious white space. - -2001-01-12 Nick Clifton <nickc@redhat.com> - - * lexsup.c (parse_args): Update copyright date. - -2001-01-12 Philip Blundell <pb@futuretv.com> - - * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. - -2001-01-10 Kazu Hirata <kazu@hxi.com> - - * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. - * scripttempl/h8300h.sc: Fix formatting. - * scripttempl/h8300s.sc: Likewise. - * scripttempl/h8500.sc: Likewise. - * scripttempl/h8500b.sc: Likewise. - * scripttempl/h8500c.sc: Likewise. - * scripttempl/h8500m.sc: Likewise. - * scripttempl/h8500s.sc: Likewise. - -2000-01-07 David O'Brien <obrien@BSDi.com> - - * emultempl/elf32.em: Only perform Linux ld hints processing when - targeting Linux. - -2001-01-07 Philip Blundell <philb@gnu.org> - - * ld.texinfo (Bug Reporting): Update email address for reports. - -2000-12-31 Nick Clifton <nickc@redhat.com> - - * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long - options by checking for a return value of '?' not -1. - -2000-12-28 Nick Clifton <nickc@redhat.com> - - * lexsup.c (struct ld_option): Add new enum value: - EXACTLY_TWO_DASHES. - (ld_options[]): Change -omagic, -output and -oformat options - to be EXACTLY_TWO_DASHES. - (OUTPUT_COUNT): Use ARRAY_SIZE. - (parse_args): Change parameter 'argc' to unsigned. - Place EXACTLY_TWO_DASHES options into new really_longopts - array. - If getopt_long_only fails, try calling getopt_long using the - really_longopts array. - (help): Print a double dash for both EXACTLY_TWO_DASHES and - TWO_DASHES options. - - * ldlex.h: Fix prototype of parse_args. - - * ld.texinfo: Document that long options starting with 'o' - must be preceeded by two dashes. Change example of a single - dashed long option from -oformat to -trace-symbol. - -2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> - - * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. - (longopts[]): New --no-default-excludes option. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse_args): Handle. - -2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * ldlang.c (new_stat): Revert the last beautification with "innocent" - whitespace, it breaks the K&R C preprocessor. - -2000-12-11 DJ Delorie <dj@redhat.com> - - * ld.texinfo: Add notes about --whole-archive and gcc. - -2000-11-18 Fred Fish <fnf@be.com> - - * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. - (ld_options): Entry for --allow-shlib-undefined. - (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. - * ldmain.c (main): Initialize link_info.allow_shlib_undefined - to false. - * ld.texinfo: Document new command line switch. - -2000-12-12 Geoffrey Keating <geoffk@redhat.com> - - * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): - .fixup is actually read/write. - * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. - * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. - -2000-12-11 Jan Hubicka <jh@suse.cz> - - * NEWS: Add note about x86_64 architecture. - -2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. - Set DWARF2 sections to a VMA of zero. - -2000-12-01 Joel Sherrill <joel@OARcorp.com> - - * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): - New targets. - (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. - (sparc*-*-rtems*): Switched from a.out to ELF. - -2000-11-30 Jan Hubicka <jh@suse.cz> - - * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o - (eelf_x86_64.c): New. - * Makefile.in: Regenerate. - * configure.tgt: Add support for x86_64-*-linux-gnu*. - * emulparams/elf_x86_64.sh: New. - -2000-11-30 Hans-Peter Nilsson <hp@axis.com> - - * emulparams/crislinux.sh (ENTRY): Change back to _start. - (TEXT_START_SYMBOLS): Remove conditional setting of __start. - - * scripttempl/crisaout.sc: Change all RELOCATING not related to - merging non-a.out sections into CONSTRUCTING. - -2000-11-28 Nick Clifton <nickc@redhat.com> - - * ld.1 (COPYING): Mention that the GNU Free Documentation - License is present in the sources, but not the output, and - also available from the GNU website. - (GNU Free Documentation License): Comment out this section. - -2000-11-28 David O'Brien <obrien@dragon.nuxi.com> - - * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF - does not use them. - -2000-11-25 David O'Brien <obrien@FreeBSD.org> - - * ld.1: Remove old date so it does not give the impression the manpage - is way out of date. - -2000-11-24 Nick Clifton <nickc@redhat.com> - - * configure.tgt (xscale-coff): Add target. - (xscale-elf): Add target. - -2000-11-24 Fred Fish <fnf@be.com> - - * ldmain.c (main): Remove redundant init of config.make_executable - to true. - -2000-11-15 Richard Henderson <rth@redhat.com> - - * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. - -2000-11-14 Kazu Hirata <kazu@hxi.com> - - * scripttempl/h8300.sc: Fix formatting. - * scripttempl/h8300h.sc: Likewise. - * scripttempl/h8300s.sc: Likewise. - -2000-11-14 Denis Chertykov <denisc@overta.ru> - - * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. - -2000-11-09 Philip Blundell <pb@futuretv.com> - - * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME - around orphan sections whose names can be represented in C. - -2000-11-07 Jim Wilson <wilson@redhat.com> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local - hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. - -2000-11-06 Nick Clifton <nickc@redhat.com> - - * ld.texinfo: Add GNU Free Documentation License. - * ldint.texinfo: Add GNU Free Documentation License. - * ld.1: Add GNU Free Documentation License. - -2000-11-05 Alan Modra <alan@linuxcare.com.au> - - * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, - yy_is_interactive, yy_at_bol, and yy_fill_buffer. - - * Makefile.am (DISTCLEANFILES): Add stringify.sed. - Move 2000-11-02 Makefile.in changes to this file. - * Makefile.in: Regenerate. - -2000-11-03 Nick Clifton <nickc@redhat.com> - - * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose - constructors and destructors. - * scripttempl/h8300h.sc: Ditto. - * scripttempl/h8300s.sc: Ditto. - * scripttempl/h8500.sc: Ditto. - * scripttempl/h8500b.sc: Ditto. - * scripttempl/h8500c.sc: Ditto. - * scripttempl/h8500m.sc: Ditto. - * scripttempl/h8500s.sc: Ditto. - * scripttempl/v850.sc: Ditto. - * scripttempl/w65.sc: Ditto. - * scripttempl/z8000.sc: Ditto. - -2000-11-02 Per Lundberg <plundis@chaosdev.org> - - * Makefile.in (e_i386_chaos.c): New rule. - (ALL_EMULATIONS): Added e_i386_chaos.o. - * emulparams/elf_i386_chaos.sh: New file. - * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. - -2000-10-20 Jakub Jelinek <jakub@redhat.com> - - * emulparams/elf64_sparc.sh (TEXT_START_ADDR, - NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. - Fix sed invocation, so that it coped with '/' in Solaris 64bit - library path suffix. - Based on patch by Andrew Macleod <amacleod@cygnus.com>. - -2000-10-18 Hans-Peter Nilsson <hp@axis.com> - - * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), - for consecutive sections. - -2000-10-17 Chandrakala Chavva <cchavva@redhat.com> - - * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific - options. - * ld.texinfo: Added notes about this new option. - -2000-10-16 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (_after_open): Add tests of return values from - bfd functions. Emit appropriate error messages if necessary. - -2000-10-13 Nick Clifton <nickc@redhat.com> - - * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' - local variables - they are not used, but leave in the call to - bfd_canonicalize_symtab. - (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of - pe_dll_search_prefix. - -2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> - - * emultempl/pe.em (pe_dll_search_prefix): New variable, - (longopts): New --dll-search-prefix option. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse_args): Handle. - (gld_${EMULATION_NAME}_open_dynamic_archive): When linking - dynamically, search for a dll named '<prefix><basename>.dll' - in preference to 'lib<basename>.dll' if --dll-search-prefix - is specified. - -2000-10-12 Alan Modra <alan@linuxcare.com.au> - - * ldlang.c (section_already_linked): Set kept_section instead of - sec->comdat->sec. - -2000-10-10 Kazu Hirata <kazu@hxi.com> - - * deffile.h: Fix formatting. - * lexsup.c: Likewise. - * mri.c: Likewise. - -2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> - - * pe-dll.c (make_one): Do not generate code thunk for DATA - exports. - (process_def_file): deduce DATA flag for auto-export sumbols. - -2000-10-09 Kazu Hirata <kazu@hxi.com> - - * ld.h: Fix formatting. - * ldcref.c: Likewise. - * ldctor.h: Likewise. - * ldemul.c: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * ldmain.c: Likewise. - * pe-dll.c: Likewise. - - * pe-dll.c: Revert some formatting fixes. - -2000-10-08 Kazu Hirata <kazu@hxi.com> - - * pe-dll.c: Fix formatting. - -2000-10-05 Kazu Hirata <kazu@hxi.com> - - * ldlang.c: Fix formatting. - -2000-10-03 DJ Delorie <dj@redhat.com> - - * pe-dll.c (fill_edata): initialize entire block - (make_one): fill in correct section. - -2000-10-03 Kazu Hirata <kazu@hxi.com> - - * ldexp.c: Fix formatting. - -2000-10-02 DJ Delorie <dj@redhat.com> - - * emultempl/pe.em (gld_*_after_open): detect case where there two - import libraries for same dll; rename one to ensure proper link - order. - - * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix - typo - (generate_edata): fix typo - -2000-09-29 Hans-Peter Nilsson <hp@axis.com> - - * scripttempl/crisaout.sc (ENTRY): Now __start. - (.text): Add default setting for __start. - Remove CONSTRUCTORS handling. - (/DISCARD/): Add .gnu.warning.*. - * emulparams/crislinux.sh (ENTRY): Now __start. - (TEXT_START_SYMBOLS): New; provide __Stext and __start default. - * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. - (ENTRY): Now __start. - (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. - (EXECUTABLE_SYMBOLS): Add default setting for __start. - -2000-09-29 Kazu Hirata <kazu@hxi.com> - - * deffile.h: Fix formatting. - * ld.h: Likewise. - * ldcref.c: Likewise. - * ldctor.c: Likewise. - * ldctor.h: Likewise. - * ldemul.c: Likewise. - * ldemul.h: Likewise. - * ldexp.c: Likewise. - * ldexp.h: Likewise. - * ldfile.c: Likewise. - * ldfile.h: Likewise. - * ldlang.c: Likewise. - * ldlang.h: Likewise. - * lexsup.c: Likewise. - * mri.c: Likewise. - * pe-dll.c: Likewise. - -2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> - - * pe-dll.c (process_def_file): Uninitialized data wasn't - exported with --export-all-symbols switch. - -2000-09-28 DJ Delorie <dj@redhat.com> - - * pe-dll.c (fill_edata): rearrange the data so that ordinals and - noname work properly. - -2000-09-28 Alan Modra <alan@linuxcare.com.au> - - * ld.texinfo (HPPA ELF32): New section. - - * emultempl/hppaelf.em (group_size): New. - (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. - (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. - (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate - options to prevent abbreviations matching. - (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. - (PARSE_AND_LIST_ARGS_CASES): Handle it. - -2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * emultempl/m68kelf.em: Conditionalise the embedded relocs feature - on the m68*-*-elf target. Make it support COFF input objects. - -2000-09-21 Kazu Hirata <kazu@hxi.com> - - * ldmain.c: Fix formatting. - * ldmisc.c: Likewise. - * ldver.c: Likewise. - * ldwrite.c: Likewise. - -2000-09-21 Alan Modra <alan@linuxcare.com.au> - - * ldwrite.c (clone_section): Silence gcc warnings. - -2000-09-20 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle - out of memory failure. - - * ldwrite.c (ldwrite): Remove unnecessary einfo arg. - (clone_section): Handle out of memory failures. Rename var to - avoid c++ reserved word. - -2000-09-18 Alan Modra <alan@linuxcare.com.au> - - * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename - stub_name param to stub_sec_name. - (hppaelf_finish): Modify call to elf32_hppa_size_stubs. - -2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * emultempl/m68kelf.em: New file. - * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. - * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. - * Makefile.in: Regenerate. - -2000-09-15 Alan Modra <alan@linuxcare.com.au> - - * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ - only as needed. - -2000-09-13 Nick Clifton <nickc@redhat.com> - - * ldmain.c (multiple_definition): Disable relaxation if - multiple symbol definitions are encountered - otherwise the - linker could abort with an assertion failure. - -2000-09-10 Nick Clifton <nickc@redhat.com> - - * mri.c: Fix formatting. - -2000-09-07 H.J. Lu <hjl@gnu.org> - - * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. - * configure: Rebuild. - -2000-09-07 H.J. Lu <hjl@gnu.org> - - * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. - * Makefile.in: Rebuild. - -2000-09-07 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix - broken list handling. Create __start_SECNAME and __stop_SECNAME - when no place-holder. Add some comments. Test both SEC_CODE and - SEC_READONLY for hold_text to prevent .rodata orphan poisoning. - Handle case where no output section statement created. - -2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> - - * configure.tgt (sh-*-linux*): Added. - * Makefile.am: Added eshelf_linux and eshlelf_linux. - * Makefile.in: Rebuilt. - * emulparams/shelf_linux.sh: New file. - * emulparams/shlelf_linux.sh: New file. - -2000-09-06 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - try shuffling sections when the orphan happens to be the place - holder. Keep count of unique section names generated so we speed - the search for a new name. - -2000-09-06 Alexandre Oliva <aoliva@redhat.com> - - * configure: Rebuilt with new libtool.m4. - -2000-09-05 Nick Clifton <nickc@redhat.com> - - * Makefile.in: Regenerate. - * aclocal.m4: Regenerate. - * configure: Regenerate. - * config.in: Regenerate. - * po/ld.pot: Regenerate. - - * ldint.texinfo: Remove CVS revision marker - it foils local - comparisons. - - * emultempl/ticoff.em: Remove extraneous comma. - -2000-09-05 Alan Modra <alan@linuxcare.com.au> - - * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC - to stub section flags. - (hppa_for_each_input_file_wrapper): New. - (hppa_lang_for_each_input_file): New. - (lang_for_each_input_file): Define to call above. - (multi_subspace): New. - (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (hppaelf_finish): Call elf32_hppa_set_gp. - (hppaelf_set_output_arch): Remove. - (LDEMUL_SET_OUTPUT_ARCH): Remove. - - * emulparams/hppalinux.sh (ELFSIZE): Define. - (MACHINE): Define. - (OTHER_READONLY_SECTIONS): Define. - (DATA_PLT): Define. - (GENERATE_SHLIB_SCRIPT): Define. - - * ldlang.c: Add missing prototypes, and tidy others. Change CONST - to const throughout. Change `void *' to `PTR' throughout. - (lang_memory_default): Function is local to file, add `static'. - - * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. - (ehppalinux.c): Likewise. - (earmelf.c): Likewise. - (earmelf_linux.c): Likewise. - (earmelf_linux26.c): Likewise. - * Makefile.in: Regenerate. - - * ld.h (ld_config_type): Add unique_orphan_sections. - * lexsup.c (OPTION_UNIQUE): Define. - (ld_options): Add "--unique". - (parse_args): Handle it. - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't - search for an existing output section if unique_orphan_sections is - set. Make use of bfd_get_unique_section_name rather than - duplicating code here. - * ld.texinfo: Describe --unique. - - * lexsup.c (ld_options): Make split-by-reloc arg optional. Add - optional arg to split-by-file. - (parse_args): Handle them. - * ld.texinfo: Update description of these options. - * ldwrite.c (clone_section): Pass in the section name. Replace - local code with bfd_get_unique_section_name. - (split_sections): Tidy code and comments. Use a list traversal - more appropriate to the list construction. Handle cooked section - sizes. Split when split_by_reloc reached rather than exceeded. - Track section size and split when split_by_file reached. Fix - link_order_tail (even though it's not used). - (ldwrite): Modify condition for calling split_sections to suit - changed split_by_reloc and split_by_file. - * ldmain.c (main): Init config.split_by_reloc and - config.split_by_file to -1. - * ld.h (ld_config_type): Change split_by_reloc to unsigned. - Change split_by_file to bfd_size_type. - -2000-09-02 Nick Clifton <nickc@redhat.com> - - * configure.in: Increase version number to 2.10.91. - * NEWS: Mention new ability to support removal of duplicate DWARF2 - debug information. - * configure: Regenerate. - * aclocal.m4: Regenerate. - * config.in: Regenerate. - -2000-09-02 Daniel Berlin <dberlin@redhat.com> - - * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info - sections. - * scripttempl/elf32avr.sc: Ditto. - * scripttempl/elfd10v.sc: Ditto. - * scripttempl/elfd30v.sc: Ditto. - * scripttempl/elfi370.sc: Ditto. - * scripttempl/elfm68hc11.sc: Ditto. - * scripttempl/elfm68hc12.sc: Ditto. - * scripttempl/elfi386beos.sc: Ditto. - * scripttempl/v850.sc: Ditto. - -2000-08-31 Alexandre Oliva <aoliva@redhat.com> - - * acinclude.m4: Include libtool and gettext macros from the - top level. - * aclocal.m4, configure: Rebuilt. - -2000-08-25 Nick Clifton <nickc@redhat.com> - - * ldlang.c (open_output): When choosing the target for a - particular endianness, do nothing if the target is not - supported. - -2000-08-25 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't - check -rpath nor LD_RUN_PATH for cross link. - * ld.texinfo: Document the change. - -2000-08-24 Hans-Peter Nilsson <hp@axis.com> - - * NEWS: Mention support for CRIS. - -2000-08-23 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get - the current runpath list from bfd_elf_get_runpath_list () - before search. - -2000-08-22 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search - the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after - LD_LIBRARY_PATH for native linker. Display the needed DSO if - trace_file_tries is non-zero. - (gld${EMULATION_NAME}_try_needed): Report the needed DSO found - if trace_file_tries is non-zero. - - * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. - * NEWS: Mention it. - -2000-08-14 Jason Eckhardt <jle@cygnus.com> - - * NEWS: Mention i860 support. - -2000-08-14 Andreas Schwab <schwab@suse.de> - - * scripttempl/elf.sc: Fix last change to use correct comment - syntax. - -2000-08-10 Geoff Keating <geoffk@cygnus.com> - - * scripttempl/elf.sc: Add a comment giving the correspondence - between sections, per-datum sections, and linkonce sections. Make - the comment true even for .bss, .sdata, .sdata2, .sbss, and - .sbss2. - -2000-08-10 Jason Eckhardt <jle@cygnus.com> - - * emulparams/elf32_i860.sh: New file. - * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. - * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. - (eelf32_i860.c): New rule. - * Makefile.in: Regenerate. - -2000-08-10 Nick Clifton <nickc@cygnus.com> - - * emulparams/mipspe.sh (ENTRY): Add definition. - -2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> - - * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath - in error message. - -2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate - the final size of .bss section. - * scripttempl/elfm68hc12.sc: Likewise. - -2000-08-04 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to - gld${EMULATION_NAME}_parse_args for consistency. Combine - lastoptind and prevoptind vars, and keep track of last optind. - (gld_${EMULATION_NAME}_list_options): Rename to - gld${EMULATION_NAME}_list_options. - -2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> - - * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 - (i586-sco-sysv5uw7.1.0). - -2000-07-27 H.J. Lu <hjl@gnu.org> - - * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. - (PARSE_AND_LIST_PROLOGUE): New. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - (PARSE_AND_LIST_EPILOGUE): Likewise. - -2000-07-28 Alan Modra <alan@linuxcare.com.au> - - * emultempl/armelf.em: Elide functions common to elf32.em, - ie. most of the file. - (arm_elf_after_open): New. Do arm specific things then call - gld${EMULATION_NAME}_after_open. - (arm_elf_before_allocation): New. Call - gld${EMULATION_NAME}_before_allocation then do arm specifics. - (PARSE_AND_LIST_PROLOGUE): Define. - (PARSE_AND_LIST_SHORTOPTS): Define. - (PARSE_AND_LIST_LONGOPTS): Define. - (PARSE_AND_LIST_OPTIONS): Define. - (PARSE_AND_LIST_ARGS_CASES): Define. - (LDEMUL_AFTER_OPEN): Define. - (LDEMUL_BEFORE_ALLOCATION): Define. - (LDEMUL_BEFORE_PARSE): Define. - (LDEMUL_FINISH): Define. - - * emultempl/hppaelf.em: Similarly zap most of this file. - (hppaelf_add_stub_section): Prototype. - (hppaelf_layaout_sections_again): Prototype. - (hook_in_stub): Prototype. - (LDEMUL_SET_OUTPUT_ARCH): Define. - (LDEMUL_FINISH): Define. - (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. - - * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. - (EXTRA_EM_FILE): New. - * emulparams/armelf_linux.sh: Likewise. - * emulparams/armelf_linux26.sh: Likewise. - * emulparams/hppalinux.sh: Likewise. - * emulparams/hppaelf.sh: Likewise. - (NOP): Define. - - * emultempl/elf32.em: Fix formatting. - (EXTRA_EM_FILE): Source it. - (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, - LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, - LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, - LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, - LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, - LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, - LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, - LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, - LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to - allow functions in this file to be overridden. - (PARSE_AND_LIST_SHORTOPTS): Handle it. - - * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. - - * emultempl/elf32.em: Reorganize file. - -2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> - - * emulparams/elf64alpha.sh: Implement "-taso" emulation - specific option to fit 64-bit executable in the lower - 31-bit address range. This is done by changing start - address of .interp (the very first section of executable) - and then setting EF_ALPHA_32BIT elf header flag. - -2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * emultempl/m68kcoff.em: New file. - * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. - * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than - generic.em. - * Makefile.in: Regenerate. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" - and "disable-new-dtags" to stop getopt from treating -d/-e as - abbreviations for these options. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * ld.texinfo: Add documentation for --disable-new-dtags and - --enable-new-dtags. - - * ldmain.c (main): Initialize link_info.new_dtags to false. - - * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add - --disable-new-dtags and --enable-new-dtags. - (gld_${EMULATION_NAME}_list_options): Likewise. - -2000-07-05 Kenneth Block <krblock@computer.org> - - * lexsup.c: Add optional style to demangle switch - * ld.texinfo: Document optional style to demangle switch. - -2000-07-20 Hans-Peter Nilsson <hp@axis.com> - - * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, - ecrislinux.o. - (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. - Regenerate dependencies. - * Makefile.in: Rebuild. - * configure.tgt (cris-*-*): New target. - * emulparams/crisaout.sh, emulparams/criself.sh, - emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. - * po/POTFILES.in, po/ld.pot: Regenerate. - -2000-07-20 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): - Print out ignored -z options. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. - (PARSE_AND_LIST_PROLOGUE): New. - (PARSE_AND_LIST_LONGOPTS): Likewise. - (PARSE_AND_LIST_OPTIONS): Likewise. - (PARSE_AND_LIST_ARGS_CASES): Likewise. - - * ldmain.c (main): Clear link_info.flags and link_info.flags_1. - - * lexsup.c (ld_options): Comment out 'z'. - (parse_args): Likewise. - - * emultempl/elf32.em: Include "elf/common.h". - (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z - options. - (gld_${EMULATION_NAME}_list_options): Likewise. - - * ld.texinfo: Add documentation for the recognized -z options. - -2000-07-19 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call - bfd_elf_set_dt_needed_soname (). - -2000-07-18 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (pe_dll_id_target): check object target name also - -2000-07-18 Hans-Peter Nilsson <hp@axis.com> - - * scripttempl/elf.sc (.init): Only do ${INIT_START} and - ${INIT_END} if relocating. - (.fini): Likewise ${FINI_START} and ${FINI_END}. - -2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> - - * emultempl/pe.em (gld_*_open_dynamic_archive): New search - order for dynamic library '-lfoo' on pei386: libfoo.dll.a, - foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility - errors introduced by the old dynamic lib search order. - -2000-07-17 DJ Delorie <dj@cygnus.com> - - * pe-dll.c (process_def_file): auto-export data items also - (pe_process_import_defs): also see if _imp_ form needed - -2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> - - * pe-dll.c (make_one): fix a typo in the __imp_ name decoration - for dll import libraries - -2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Support the g++ attribute init_priority in - gcc 2.95.2 and later. - -2000-07-11 Kazu Hirata <kazu@hxi.com> - - * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error - message. - -2000-07-10 Alan Modra <alan@linuxcare.com.au> - - * ldemul.h (struct lang_input_statement_struct): Remove forward - declaration. - (struct search_dirs): Likewise. - * ldfile.h (struct lang_input_statement_struct): Likewise. - Protect file from multiple inclusion. - * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain - declaration from macro to file scope. - - * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. - * ldgram.y: Likewise here. - * ldlang.c: And here. - * ldmain.c: And here. - * mpw-elfmips.c: And here. - * mpw-eppcmac.c: And here. - * emultempl/aix.em: And here. - * emultempl/armcoff.em: And here. - * emultempl/armelf.em: And here. - * emultempl/armelf_oabi.em: And here. - * emultempl/beos.em: And here. - * emultempl/elf32.em: And here. - * emultempl/hppaelf.em: And here. - * emultempl/linux.em: And here. - * emultempl/lnk960.em: And here. - * emultempl/pe.em: And here. - * emultempl/sunos.em: And here. - * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. - * mpw-idtmips.c: Ditto. - * emultempl/generic.em: Ditto. - * emultempl/gld960.em: Ditto. - * emultempl/gld960c.em: Ditto. - * emultempl/mipsecoff.em: Ditto. - * emultempl/ticoff.em: Ditto. - * emultempl/vanilla.em: Ditto. - - * pe-dll.c: Include ldfile.h - * ldver.c: Include ldexp.h, ldlang.h, ldfile.h - - * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing - arguments to bfd_elf32_size_dynamic_sections call. - (gldelf32ebmip_place_orphan): Add missing arguments to - lang_leave_output_section_statement call. - -2000-07-10 H.J. Lu <hjl@gnu.org> - - * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with - DLL_SUPPORT. - (strhash): Likewise. - (compute_dll_image_base): Likewise. - (pe_undef_found_sym): Likewise. - (pe_undef_cdecl_match): Likewise. - (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the - argument "arch" with ATTRIBUTE_UNUSED. - -2000-07-10 Alan Modra <alan@linuxcare.com.au> - - * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. - - From Ryan Bradetich <rbradetich@uswest.net> - * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. - -2000-07-09 Alan Modra <alan@linuxcare.com.au> - - Changes to create multiple linker stubs, positioned immediately - before the section where they are required. - * emultempl/hppaelf.em: Include elf32-hppa.h. - (stub_sec, file_chain): Delete. - (hppaelf_create_output_section_statements): Don't make a stub - section here. - (hook_stub_info): New struct. - (hook_in_stub): New function. - (hppaelf_add_stub_section): New function. - (hppaelf_finish): Do nothing for relocateable links. Modify the - call to elf32_hppa_size_stubs. Move code for updating section - layout from here... - (hppaelf_layaout_sections_again): ..to here, a new function. - - * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix - broken list handling. Pass in a pointer to the list. - (hppaelf_finish): Update call to hppaelf_delete_padding_statements - for above changes. - (hppaelf_before_parse): Prototype. - (hppaelf_set_output_arch): Prototype. - (hppaelf_create_output_section_statements): Prototype. - (hppaelf_delete_padding_statements): Prototype. - (hppaelf_finish): Prototype. - - Merge from elf32.em - * emultempl/hppaelf.em: Include ctype.h. - (struct orphan_save): New. - (gld${EMULATION_NAME}_place_orphan): New. - (output_rel_find): New. - (hppaelf_get_script): Update from elf32.em. - (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. - Change emulation_name field to "${EMULATION_NAME}". Add - gld${EMULATION_NAME}_place_orphan. - - * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add - ehppalinux.o, sort it. Regenerate dependencies. - (ehppalinux.c): Depend on hppaelf.em - * Makefile.in: Regenerate. - - * configure.tgt: targ_emul=hppalinux for hppa*linux - - * emulparams/hppalinux.sh: New. - * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. - -2000-07-08 Alan Modra <alan@linuxcare.com.au> - - * lexsup.c (parse_args): Copy section name. - -2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> - - * emultempl/pe.em: institute the following search order for - dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import - libs), libfoo.dll, foo.dll (link direct to dll). Fall back to - static lib (libfoo.a) if none of the above are found. - -2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> - - * emultempl/pe.em (pe_enable_auto_image_base): New variable. - (longopts): New --{enable,disable}-auto-image-base options. - (gld_${EMULATION_NAME}_list_options): Document. - (gld_${EMULATION_NAME}_parse): Handle. - (strhash): New static function. - (compute_dll_image_base): New static function. - (gld_${EMULATION_NAME}_set_symbols): Use. - -2000-07-05 DJ Delorie <dj@redhat.com> - - * MAINTAINERS: new - -2000-07-01 Koundinya K <kk@ddeorg.soft.net> - - * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. - * emulparams/elf32btsmip.sh: New file. - * Makefile.am: Add traditional mips target. - * Makefile.in: Rebuild. - -2000-07-01 H.J. Lu <hjl@gnu.org> - - * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for - automake to use YLWRAP. - * Makefile.in: Rebuild. - -2000-07-01 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed - (CLEANFILES): Add DEPA. - * Makefile.in: Regenerate. - -2000-06-30 Timothy Wall <twall@ppc> - - * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode - the page in the upper octet of the address. - -2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> - - * emulparams/avrmega161.sh (ARCH): Change to avr:5. - -2000-06-24 Alan Modra <alan@linuxcare.com.au> - - * NEWS: arm-elf does --gc-sections too. - -2000-06-22 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we - find one. - * Makefile.in: Regenerate. - -2000-06-21 H.J. Lu <hjl@gnu.org> - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-20 H.J. Lu <hjl@gnu.org> - - * Makefile.am: Rebuild dependency. - * Makefile.in: Rebuild. - -2000-06-20 Timothy Wall <twall@cygnus.com> - - * scripttempl/tic54xcoff.sc: New. - * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. - * gen-doc.texi: Add flag for TI COFF. - * ld.texinfo: Add documentation for TI COFF handling switches. - * emultempl/ticoff.em: New. TI COFF handling. - * configure.tgt: Add tic54x target. - * Makefile.am: Add tic54x target. - * Makefile.in: Ditto. - -2000-06-20 Alan Modra <alan@linuxcare.com.au> - - * ldmain.c (set_scripts_dir): Correct pointer comparison when - checking for backslashes. - -2000-06-19 Alan Modra <alan@linuxcare.com.au> - - * NEWS: Move entries not in 2.10 above "Changes in version 2.10". - -2000-06-18 Alan Modra <alan@linuxcare.com.au> - - * NEWS: Update list of targets supporting --gc-sections. - - * scripttempl/elf.sc: KEEP .eh_frame contents. - * scripttempl/elfd30v.sc: Same here. - -2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> - - * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 - and m68hc11 (elf). - * Makefile.in: Rebuild. - * configure.tgt: Recognize m68hc12 and m68hc11. - * scripttempl/elfm68hc12.sc: New file. - * emulparams/m68hc12elfb: New emulation. - * emulparams/m68hc12elf: New emulation. - * emulparams/m68hc11elfb.sh: New file. User configurable emulation - (includes a memory.x script to define the ROM and RAM banks). - * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: - New configuration files for support of Motorola 68hc11 - -2000-06-15 Alan Modra <alan@linuxcare.com.au> - - * ldmain.c (main): Only change SEC_READONLY for final link. - -2000-06-13 H.J. Lu <hjl@gnu.org> - - * configure: Regenerate. - -2000-06-08 David O'Brien <obrien@FreeBSD.org> - - * configure.in (VERSION): Update to show this is the CVS mainline. - -2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> - - * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all - input objects to be ECOFF. - (check_sections): einfo takes %B, not %P, to print a BFD name. - -2000-06-05 Michael Matz <matz@ifh.de> - - * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in - version scripts. - - * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. - -2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> - - * emulparams/avr1200.sh (STACK): Define as 0. - * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. - * emulparams/avr4433.sh (STACK): Likewise. - * emulparams/avr44x4.sh (STACK): Likewise. - * emulparams/avr85xx.sh (STACK): Likewise. - * emulparams/avrmega103.sh (STACK): Likewise. - * emulparams/avrmega161.sh (STACK): Likewise. - * emulparams/avrmega603.sh (STACK): Likewise. - * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. - (__stack): Define from ${STACK} for main(). - -2000-05-26 Alan Modra <alan@linuxcare.com.au> - - * Makefile.am: Update dependencies with "make dep-am" - * Makefile.in: Regenerate. - -2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> - - * ldmain.c: Include filenames.h. - (set_scripts_dir): Support backslashes in program name. - -2000-05-22 Igor Shevlyakov <igor@windriver.com> - - * ldmain.c (main): When deciding if ".text" section should be - read-only, don't forget to reset SEC_READONLY because it - could be already set. - -2000-05-22 Thomas de Lellis <tdel@windriver.com> - - * ld.1: Add documentation for new command line option: - --section-start <sectionname>=<sectionorg> - This is a generic version of -Ttext etc. which accepts - any section name as a parameter instead of just text/data/ - bss. - * ld.texinfo: More docs. - * NEWS: More docs. - * lexsup.c: (parse_args): Recognize new command line option. - (ld_options): Add new option. - -2000-05-18 H.J. Lu <hjl@gnu.org> - - * lexsup.c (parse_args): `i' == `r', not `q'. - -2000-05-18 Jeffrey A Law (law@cygnus.com) - - * configure.tgt (hppa*64*-*-*): Enable PA64 target. - -2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> - Rick Gorton <gorton@scrugs.lkg.dec.com> - - Add support for '-q' == '--emit-relocs' switch. - * ldmain.c (main): Default to false. - * lexsup.c (parse_args): Turn on emitrelocations flag if set. - * NEWS: Describe the emitrelocations switch. - * ld.texinfo: Describe the emitrelocations switch. - -2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> - - * emultempl/pe.em (_open_dynamic_archive): New function: Search - the library path for "foo.dll" and "libfoo.dll" dynamic libraries - before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' - link options. - -2000-05-15 David O'Brien <obrien@FreeBSD.org> - - * lexsup.c (parse_args): Update the year in the copyright notice. - -2000-05-13 Alan Modra <alan@linuxcare.com.au> - - * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): - Replace defines with those from intl/libgettext.h to quieten gcc - warnings. - -2000-05-10 H.J. Lu <hjl@gnu.org> - - * ldlang.c (open_input_bfds): Don't load the same file within - a group again if the whole archive has been loaded already. - -2000-05-03 Alan Modra <alan@linuxcare.com.au> - - From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> - * lexsup.c (set_section_start): Use bfd_scan_vma rather than - strtoul. - -2000-05-01 Jim Wilson <wilson@cygnus.com> - - * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. - - * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - host "ia64-*-linux-gnu*". - -2000-04-29 Andreas Jaeger <aj@suse.de> - - * ld.h: Correctly check GCC version. - -2000-04-25 Jeffrey A Law (law@cygnus.com) - - * Makefile.am: Add PA64 support. Add missing dependencies for - PA32 elf support. - * Makefile.in: Rebuilt. - * configure.tgt: Add PA64 support (currently disabled). - -2000-04-25 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. - (output_rel_find): New function. - (hold_section, hold_use): Delete. - (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, - hold_interp): Make local to place_orphan. - (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find - rather than place_section to find possible previous use of orphan. - Similarly find the place-holder output sections. Use returned - value from lang_enter_output_section_statement rather than calling - lang_output_section_statement_lookup. - * emultempl/armelf.em: Same here. - * emultempl/pe.em: Similar to above, but no need for output_rel_find. - - * ldlang.c (lang_enter_output_section_statement): Return output - section statement. - * ldlang.h (lang_enter_output_section_statement): Change - declaration too. - - * ldlang.h (lang_output_section_statement): Export it. - * ldlang.c (lang_output_section_statement): Ditto. - -2000-04-24 Nick Clifton <nickc@cygnus.com> - - * ld.texinfo (Output Section Data): Add note that section data - commands cannot appear outside of section directives. - -2000-04-2 Matthew Green <mrg@cygnus.com> - - * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. - -2000-04-21 Richard Henderson <rth@cygnus.com> - David Mosberger <davidm@hpl.hp.com> - - * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. - (eelf64_ia64.c): New rule. - * Makefile.in: Rebuild. - * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. - * emulparams/elf64_ia64.sh: New file. - -2000-04-21 Richard Henderson <rth@cygnus.com> - - * scripttempl/elfd30v.sc: Place .gcc_except_table. - -2000-04-19 Alan Modra <alan@linuxcare.com.au> - - * dep-in.sed: Match space at start of file name, not at end. - -2000-04-18 H.J. Lu <hjl@gnu.org> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call - lang_leave_output_section_statement () after calling - lang_enter_output_section_statement (). - * emultempl/armelf.em: Likewise. - -2000-04-18 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (struct orphan_save): Add section field. - (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in - better order, and place first orphan section as we did before the - 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. - Don't call make_bfd_section here, let wild_doit do the job for us. - Don't build a statement list when we'll only throw it away. - * emultempl/armelf.em: Ditto. - * emultempl/pe.em: Similarly. - -2000-04-14 Geoff Keating <geoffk@cygnus.com> - - * scripttempl/elfppc.sc: Remove. - * emulparams/elf32ppc.sh: Use elf.sc. - * emulparams/elf32lppc.sh: Use elf.sc. - * emulparams/elf32ppclinux.sh: Use elf.sc. - * emulparams/elf32ppcsim.sh: New file. - * emulparams/elf32lppcsim.sh: New file. - * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. - (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. - * Makefile.in: Regenerate. - * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. - -2000-04-14 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process - ~SEC_ALLOC sections too. Init start address of debug sections. - * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. - * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. - Also set all relocateable section start addresses. - -2000-04-13 Geoff Keating <geoffk@cygnus.com> - - * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. - Add new BSS_PLT variable for when .plt need not be contained in - the file. Move _etext so that it is also after .fini, and provide - both etext and _etext with a leading underscore. Mark the start - and end of .sbss. - -2000-04-12 Alan Modra <alan@linuxcare.com.au> - - * emultempl/elf32.em (struct orphan_save): New. - (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, - hold_interp): Make them struct orphan_save. - (gld${EMULATION_NAME}_place_section): Modify for new hold_*. - (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to - the end of the relevant section list. Also add associated section - statements to the end of any previous orphan statements. - * emultempl/armelf.em: Similarly. - * emultempl/pe.em: Similarly. - -2000-04-11 Alan Modra <alan@linuxcare.com.au> - - * ld.texinfo (Simple Example): Remove extraneous paragraph. - -2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> - - * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add - --enable-build-warnings option. - * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. - * Makefile.in, configure: Re-generate. - -2000-04-04 Alan Modra <alan@linuxcare.com.au> - - * po/ld.pot: Regenerate. - - * lexsup.c (help): Restore translated part of bug string. - - * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. - (DEP): Quote when passing vars to sub-make. Add warning message - to end. - (DEP1): Rewrite for "gcc -MM". - (CLEANFILES): Add DEP2. - Update dependencies. - * Makefile.in: Regenerate. - -2000-04-03 Alan Modra <alan@linuxcare.com.au> - - * ld.h: #include "bin-bugs.h" - * lexsup.c (help): Use REPORT_BUGS_TO. - -2000-03-27 Denis Chertykov <denisc@overta.ru> - - * configure.tgt (avr-*-*): New target support. - * Makefile.am: Likewise. - * scripttempl/elf32avr.sc: New script file. - * emulparams/avr1200.sh: New file. - * emulparams/avr23xx.sh: New file. - * emulparams/avr4433.sh New file. - * emulparams/avr44x4.sh New file. - * emulparams/avr85xx.sh New file. - * emulparams/avrmega103.sh New file. - * emulparams/avrmega161.sh New file. - * emulparams/avrmega603.sh New file. - * Makefile.in: Regenerate. - -2000-03-09 Andreas Jaeger <aj@suse.de> - - * Makefile.am (check-DEJAGNU): Also unset LANG. - * Makefile.in: Rebuild. - -2000-03-06 Ian Lance Taylor <ian@zembu.com> - - * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty - archive. - -2000-03-02 H.J. Lu <hjl@gnu.org> - - * emulparams/elf32mcore.sh: Include "getopt.h". - -2000-03-01 Ian Lance Taylor <ian@zembu.com> - - * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. - -2000-03-01 H.J. Lu <hjl@gnu.org> - - * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. - * emulparams/shpe.sh: Likewise. - -2000-03-01 Nick Clifton <nickc@cygnus.com> - - * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED - to unused parameters. - - * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static - functions only used by DLL code. - (_place_orphan): Initialise 'dollar'. - -2000-03-01 H.J. Lu <hjl@gnu.org> - - * ldmain.c (undefined_symbol): Take one more arg, fatal, to - indicate if the undefined symbol is a fatal error or not. - Don't delete the output file if "fatal" is false. - -2000-02-29 H.J. Lu <hjl@gnu.org> - - * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". - Set LC_COLLATE and LC_ALL to null and export them. It is for - sort which expects the C locale. - Add $(LIBS) to all $(HOSTING_LIBS). - * Makefile.in: Rebuild. - -2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> - - * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, - beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, - linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} - (ld_emulation_xfer_struct): Add missing NULL initialiser for - find_potential_libraries. - -2000-02-28 Jim Blandy <jimb@redhat.com> - - * ldgram.y (exclude_name_list): Don't require a comma to separate - list entries; the lexer considers commas to be valid part of a - filename, so in something like `foo, bar' the comma is considered - part of the first filename, `foo,'. - * ld.texinfo: Update section on EXCLUDE_FILE lists. - -2000-02-27 Loren J. Rittle <ljrittle@acm.org> - - * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for - host "i[3456]86-*-freebsdelf*". - -2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> - - * scripttempl/i386go32.sc: Move misplaced semicolons. - -2000-02-25 Ian Lance Taylor <ian@zembu.com> - - * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. - (ALL_64_EMULATIONS): Remove eelf64hppa.o. - (eelf64hppa.c, ehppaelf.c): Remove targets. - * Makefile.in: Rebuild. - -2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> - - * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on - GNU/Linux/sparc, but keep the default as 32. - - * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make - it default if sparcv9 or sparc64. - -2000-02-24 Nick Clifton <nickc@cygnus.com> - - * Makefile.am: Add rules to build emipspe.o and earmpe.o. - * Makefile.in: Regenerate. - * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. - - * ldemul.h (ld_emulation_xfer_struct): Add new field: - find_potential_libraries. - * ldemul.c (ldemul_find_potential_libraries): New function. - - * ldfile.c (ldfile_open_file_search): Allow function to be - exported. - (ldfile_open_file): Call ldemul_find_potential_libraries. - * ldfile.h: Add prototype for ldfile_open_file_search. - - * pe-dll.c: Add support for ARM, MIPS and SH targets. - - * emulparams/mipspe.sh: New file. Parameters for mips-pe target. - * emulparams/shpe.sh: New file. Parameters for sh-pe target. - - * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. - (gld_X_find_potential_libraries): New function. Search for - libraries called "*.lib". - - * scripttempl/pe.sc: Add .pdata section. - -2000-02-23 Richard Henderson <rth@cygnus.com> - - * scripttempl/elfd10v.sc: Remove dynamic linking hooks. - Add and use memory regions. - -2000-02-23 Linas Vepstas (linas@linas.org) - - * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. - - * Makefile.am: Add support for Linux/IBM 370. - * configure.tgt: Likewise. - - * Makefile.in: Regenerate. - -2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> - - * ldlang.c (print_input_section, print_data_statement, - print_reloc_statement, print_padding_statement, insert_pad, - size_input_section, lang_check_section_addresses, - lang_size_sections, lang_do_assignments, lang_set_startof, - lang_one_common): Change `opb' to unsigned. - (lang_do_assignments): Also change `size' to unsigned. - -2000-02-16 Richard Henderson <rth@cygnus.com> - - * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. - -2000-02-16 Timothy Wall <twall@cygnus.com> - - * mri.c (mri_draw_tree): Add default LMA region argument to call - to lang_leave_output_section_statement. - * ldlang.h: Update prototypes with LMA region arguments. - * ldlang.c (lang_size_sections): Encapsulate region bounds - checking in os_check_region call. - (os_check_region): New function. - (lang_output_section_statement_lookup): Initialize lma_region. - (lang_leave_output_section_statement): Add LMA region argument. - (lang_leave_overlay): Ditto. - * ldgram.y: Handle LMA region syntax. - * ld.texinfo (Output Section Description): Describe LMA region usage. - * emultempl/armelf.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - * emultempl/elf32.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - * emultempl/pe.em (gld$place_orphan): Add default value for - lma region in call to lang_leave_output_section_statement. - - -2000-02-04 Timothy Wall <twall@redhat.com> - - * ldlang.c (lang_check_section_addresses): Use bytes instead of - octets when calculating section end addresses. - -2000-02-04 Timothy Wall <twall@redhat.com> - - * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. - -2000-02-03 Timothy Wall <twall@redhat.com> - - * ldexp.c (fold_name): Make SIZEOF operator return byte count, not - octet count. - * ldlang.c (print_input_section, print_data_statement, - print_reloc_statement, print_padding_statement): Print target - address values and section sizes as bytes, not octets. - (insert_pad) Calculate padding size in octets, and adjust "dot" - by bytes. - (size_input_section) Always adjust "dot" by bytes, not octets. - (lang_check_section_addresses, lang_do_assignments) Adjust - "dot" by bytes, not octets. Use the larger of the directive size - or octets_per_byte for the number of octets actually allocated in - the output section. - (lang_set_startof) Make sure STARTOF returns a target address. - (lang_one_common) Record size changes in octets. - (lang_abs_symbol_at_end_of) Section end symbol's value is - recorded in target bytes. - * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. - to be clear about behavior when an octet is smaller than one byte. - -2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> - - * ldcref.c (output_cref): Don't pass message strings to printf - as format arg. - Update copyright. - - * ldmisc.c (vfinfo): Same here. - Update copyright. - -2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> - - * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, - generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, - mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): - Add missing NULL initialisers, and comments. - -2000-01-21 Nick Clifton <nickc@cygnus.com> - - * ldlang.c (lang_size_sections): Fix typo in comment. - -2000-01-18 H.J. Lu <hjl@gnu.org> - - * ldlang.c (lang_size_sections): Also update the current - address of a region if the SEC_NEVER_LOAD bit is not set. - -2000-01-10 Philip Blundell <pb@futuretv.com> - - * configure.tgt (arm*-*-conix*): New target. - -2000-01-07 Nick Clifton <nickc@cygnus.com> - - * ld.texinfo (Options): Remind users to preceed linker command - line switches with -Wl, (or whatever is appropriate) if it is - being invoked by a comnpiler driver program. - Fix description of the behaviour of the -n command line switch. - -2000-01-05 Catherine Moore <clm@cygnus.com> - - * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. - (name_list): New. - * ld.texinfo (EXCLUDE_FILE): Update documentation. - * ldgram.y (wildcard_spec): Support a list of excluded_files. - (exclude_name_list): New. - ldlang.c (walk_wild_section): Support list of excluded files. - (print_wild_statement): Likewise. - (lang_add_wild): Likewise. - * ldlang.h (lang_wild_statement_type): Likewise. - * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. - -2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> - - * pe-dll.c (pe_dll_warn_dup_exports): New variable. - (process_def_file): Use. - (pe_dll_compat_implib): New variable. - (make_one): Use. - - * pe-dll.h: Add exports of pe_dll_warn_dup_exports and - pe_dll_compat_implib. - - * emultempl/pe.em (longopts): Add warn-duplicate-exports and - compat-implib options. - (gld_${EMULATION_NAME}_list_options): List new options. - (gld_${EMULATION_NAME}_parse_args): Handle. - - * pe-dll.c (pe_dll_generate_implib): Use the correct name for output - dll. - - * deffilep.y (opt_name): Allow "." in name. - -For older changes see ChangeLog-9899 +For older changes see ChangeLog-0203 Local Variables: mode: change-log diff --git a/ld/ChangeLog-0001 b/ld/ChangeLog-0001 new file mode 100644 index 0000000..9183afe --- /dev/null +++ b/ld/ChangeLog-0001 @@ -0,0 +1,3376 @@ +2001-12-21 Tom Rix <trix@redhat.com> + + (gld*_create_output_section_statements): New function. + For -binitfini support. + * emultempl/aix.em (gld*_before_parse): Fix comment. + * emultempl/aix.em (gld*_parse_args): Fix comment. + +2001-12-20 Jason Thorpe <thorpej@wasabisystems.com> + + * configure.tgt (mips*-dec-netbsd*): Delete alias for + mips*el-*-netbsd*. + (sparc64-*-netbsd*): Add elf32_sparc to targ_extra_emuls. + + * configure.tgt (arm-*-netbsdelf*): Add target. + (arm-*-netbsd*): Add armelf and armelf_nbsd to targ_extra_emuls. + * emulparams/armelf_nbsd.sh: Added. + * Makefile.am: Add rules for earmelf_nbsd. + * Makefile.in: Regenerate. + +2001-12-19 Andreas Jaeger <aj@suse.de>, + Susanne Oberhauser <froh@suse.de> + + * configure.host: Add rules for x86_64-*linux-gnu. Change + s390x-linux entry to use gcc to report configuration, replace gcc + with $CC in s390-linux + +2001-12-19 Andreas Jaeger <aj@suse.de> + + * ld.texinfo (VERSION): Fix markup. + +2001-12-18 matthew green <mrg@eterna.com.au> + + * Makefile.am (ALL_EMULATIONS): Add m68kelfnbsd.o. + (m68kelfnbsd.c): New rule. + * Makefile.in: Regenerate. + * configure.tgt (m68*-hp-netbsd*): Renamed to .. + (m68*-*-netbsd*4k*): .. this. + (m68*-*-netbsdelf*): New target. + (m68*-*-netbsd*): Also include ELF support. + (m68*-*-netbsdaout*): New alias for m68*-*-netbsd*. + * emulparams/m68kelfnbsd.sh: New emulation. + +2001-12-18 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (vers_node): Support anonymous version tags. + * ldlang.c (lang_register_vers_node): Ensure anonymous version + tag is not defined together with non-anonymous versions. + * ld.texinfo: Document it. + +2001-12-18 Nick Clifton <nickc@cambridge.redhat.com> + + * po/tr.po: New file: Turkish translation. + * configure.in (ALL_LINGUAS): Add tr. + * configure: Regenerate. + +2001-12-17 Jason Thorpe <thorpej@wasabisystems.com> + + * Makefile.am: Add rules for eelf64alpha_nbsd. + * Makefile.in: Regenerate. + * configure.tgt (alpha*-*-netbsd*): Set + targ_emul to elf64alpha_nbsd. + * emulparams/elf64alpha_nbsd.sh: Added. + +2001-12-17 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust + section_tail when fiddling with section list. + (gld${EMULATION_NAME}_list_options): Ensure sentences aren't + broken into separate strings to make translation easier. + * emultempl/mmo.em (mmo_place_orphan): Adjust section_tail when + fiddling with section list. + * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise. + +2001-12-16 Hans-Peter Nilsson <hp@bitrange.com> + + * scripttempl/mmo.sc: Add .debug_ranges to listed sections. + +2001-12-15 Alan Modra <amodra@bigpond.net.au> + + * ldmain.c (main): Initialise link_info.eh_frame_hdr. + +2001-12-13 Jakub Jelinek <jakub@redhat.com> + + * emultempl/elf32.em (finish): Supply output_bfd + to bfd_elf*_discard_info. + (OPTION_EH_FRAME_HDR): Define. + (longopts): Add --eh-frame-hdr. + (parse_args): Handle it. + (list_options): Add --eh-frame-hdr to help. + * emultempl/hppaelf.em (finish): Supply output_bfd + to bfd_elf*_discard_info. + * scripttempl/elf.sc (.eh_frame_hdr): Add. + +2001-12-13 Alan Modra <amodra@bigpond.net.au> + + * lexsup.c (parse_args): Don't pass shortopts to second call to + getopt functions. Restore optind rather than decrementing before + second call. Remove errind as it now duplicates last_optind. + +2001-12-11 Christopher Faylor <cgf@redhat.com> + + * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Fix typo. + +2001-12-07 Geoffrey Keating <geoffk@redhat.com> + Richard Henderson <rth@redhat.com> + + * Makefile.am: Add support for xstormy16. + * configure.tgt: Add support for xstormy16. + * Makefile.in: Regenerate. + * emulparams/elf32xstormy16.sh: New file. + * scripttempl/xstormy16.sc: New file. + +2001-10-01 Christopher Faylor <cgf@cygnus.com> + + * Makefile.in (LIB_PATH): Make configurable. + (GENSCRIPTS): Set LIB_PATH in environment. + * configure.in: Substitute LIB_PATH. + * configure: Regenerate. + * configure.tgt (*cygwin): Set LIB_PATH for cross build. + * configure.host (*cygwin): Add /usr/lib/w32api to NATIVE_LIB_DIRS. + +2001-12-07 Nick Clifton <nickc@cambridge.redhat.com> + + * lexsup.c (ld_options): Insert 'PROGRAM' into the text string + describing the -N option so that it is easier to translate into + foreign languages. + +2001-12-05 Nick Clifton <nickc@cambridge.redhat.com> + + * emultempl/pe.em (..._list_options): Replace multiple fprintf + statements describing a single option with a single, newline + escaped fprintf. This allows better translation into other + languages. + + * ldmain.c (add_archive_element): Combine multiple strings + into a single string to permit better translation into other + languages. + +2001-12-05 Tom Rix <trix@redhat.com> + + * Makefile.am: Remove eaixppc64. + * Makefile.in: Regenerate. + +2001-12-04 Tom Rix <trix@redhat.com> + + * emultempl/aix.em (choose_target): Change default target to + OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler + warning. + (gld*_read_file): Fix typo. + (change_symbol_mode): Add prototype. + (is_syscall): Same. + + * emulparams/aixppc.sh (SYSCALL_MASK, SYMBOL_MODE_MASK): Delete. + * emulparams/aixrs6.sh : Same. + * emulparams/ppcmacos.sh : Same. + * emulparams/aixppc64.sh : Delete file. + * emultempl/aix.em : Formatting changes. + +2001-12-04 Hans-Peter Nilsson <hp@axis.com> + + * emulparams/criself.sh (NO_SMALL_DATA): Set, to yes. + (OTHER_BSS_END_SYMBOLS): Don't refer to .sbss when setting + __Sbss. + (OTHER_END_SYMBOLS): Fix formatting. + * emulparams/crislinux.sh (NO_SMALL_DATA): Set, to yes. + (OTHER_END_SYMBOLS): Fix formatting. + +2001-12-04 Alan Modra <amodra@bigpond.net.au> + + * ldexp.c (exp_print_token): Correct "table" entry for RSHIFT. + +2001-12-02 Tom Rix <trix@redhat.com> + + * configure.tgt : Remove eaixppc64 emulations. + * Makefile.in : Remove eaixppc64.c + * ldemul.c (ldemul_choose_target): New parameters argc, argv. + (ldemul_default_target): Same. + * emultempl/gld960.em (gld960_choose_target): Same. + * emultempl/gld960c.em (gld960_choose_target): Same. + * scripttempl/aix.sc: Remove OUTPUT_FORMAT. + * emultempl/aix.em (is_syscall): syscall_mask now a variable. + * emultempl/aix.em (gld*_read_file): symbol_mode_mask now a variable. + * emultempl/aix.em (gld*_parse_args): Handle -b32 -b64 emulation. + * emultempl/aix.em (choose_target): New function. Handle emulation of + -b32 and -b64. + +2001-11-27 H.J. Lu <hjl@gnu.org> + + * emulparams/elf_i386.sh (NO_SMALL_DATA): Set to yes. + * emulparams/elf_i386_be.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_i386_chaos.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_i386_ldso.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf_x86_64.sh (NO_SMALL_DATA): Likewise. + * emulparams/m68kelf.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf32_sparc.sh (NO_SMALL_DATA): Likewise. + * emulparams/elf64_sparc.sh (NO_SMALL_DATA): Likewise. + + * scripttempl/elf.sc (SBSS): New. Define if ${NO_SMALL_DATA} + is not empty. + (SDATA): Likewise. + (REL_SDATA): Likewise. + (REL_SBSS): Likewise. + (REL_SDATA2): Likewise. + (REL_SBSS2): Likewise. + (SBSS2): Define if ${NO_SMALL_DATA} is not empty. + (SDATA2): Likewise. + +2001-11-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * scripttempl/elfm68hc11.sc (CTOR, DTOR): Put constructor and + destructor in rom. + * scripttempl/elfm68hc12.sc (CTOR, DTOR): Likewise. + +2001-11-22 H.J. Lu <hjl@gnu.org> + + * Makefile.in: Regenerated with automake based on automake + 1.4-8 in RedHat 7.1. + +2001-11-22 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define. + (config.status): Delete rule. + Add extra dependencies to cover sourced emulparams files. + * Makefile.in: Regenerate. + + * scripttempl/elf.sc: Order <section>, <section>.* and + corresponding linkonce sections as seen in input files. + Formatting fixes. Zero vma of all sections if not relocating. + (STACK): Define and insert if STACK_ADDR defined. + (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_END_SYMBOLS): Define. + (OTHER_READONLY_SECTIONS): Always insert, not just when relocating. + (OTHER_READWRITE_SECTIONS): Likewise. + (OTHER_GOT_SECTIONS): Likewise. + (OTHER_SDATA_SECTIONS): Likewise. + (OTHER_BSS_SECTIONS): Likewise. + * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. + (OTHER_READWRITE_SECTIONS): Likewise. + * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. + (OTHER_READWRITE_SECTIONS): Likewise. + + * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. + (STACK_ADDR): Define. + * emulparams/armelf_oabi.sh: As for armelf.sh. + * emulparams/elf32mcore.sh: As for armelf.sh. + * emulparams/h8300elf.sh: As for armelf.sh. + * emulparams/mn10200.sh: As for armelf.sh. + * emulparams/shelf.sh: As for armelf.sh. + + * emulparams/elf32fr30.sh (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_END_SYMBOLS): Define. + * emulparams/m32relf.sh: As for elf32fr30.sh. + * emulparams/h8300helf.sh: As for elf32fr30.sh. + * emulparams/h8300self.sh: As for elf32fr30.sh. + + * emulparams/criself.sh (OTHER_READONLY_SECTIONS): Protect symbol + defines with RELOCATING test. + (OTHER_SDATA_SECTIONS): Likewise. + (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. + (OTHER_END_SYMBOLS): ..this. + * emulparams/crislinux.sh: As for criself.sh. + + * emulparams/elf32bmipn32.sh (OTHER_SDATA_SECTIONS): Zero vma + if not relocating. + (OTHER_RELOCATING_SECTIONS): Delete, replacing with.. + (OTHER_SECTIONS): ..this. Zero vma if not relocating. Order + normal and linkonce sections as seen in input files. + * emulparams/elf32bmip.sh (DATA_ADDR): Don't define if EMBEDDED. + (TEXT_DYNAMIC): Likewise. + (INITIAL_READONLY_SECTIONS): Zero vma if not relocating. + (OTHER_SDATA_SECTIONS): Likewise. + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/shlelf_linux.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf64alpha.sh (OTHER_READONLY_SECTIONS): Likewise. + * emulparams/hppalinux.sh (OTHER_READONLY_SECTIONS): Likewise. + * emulparams/elf64_aix.sh (OTHER_GOT_SECTIONS): Likewise. + (OTHER_PLT_RELOC_SECTIONS): Likewise. + (OTHER_READONLY_SECTIONS): Likewise. Order normal and linkonce + sections as seen in input files. + * emulparams/elf64_ia64.sh: As for emulparams/elf64_aix.sh. + * emulparams/hppa64linux.sh (OTHER_READONLY_SECTIONS): Zero vma + if not relocating. + (OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS): Likewise. + (OTHER_BSS_END_SYMBOLS): Merge from elf64hppa.sh. + * emulparams/elf64mmix.sh (OTHER_RELOCATING_SECTIONS): Delete. + (OTHER_SECTIONS): Instead, use this.. + (OTHER_END_SYMBOLS): ..and this. + + * emulparams/elf32b4300.sh: Source elf32bmip.sh, remove duplicates. + * emulparams/elf32bsmip.sh: Likewise. + * emulparams/elf32btsmip.sh: Likewise. + * emulparams/elf32ebmip.sh: Likewise. + * emulparams/elf32lmip.sh: Likewise. + * emulparams/elf32elmip.sh: Source elf32lmip.sh, remove duplicates. + * emulparams/elf32lsmip.sh: Likewise. + * emulparams/elf32ltsmip.sh: Source elf32btsmip.sh, remove duplicates. + * emulparams/elf32l4300.sh: Source elf32b4300.sh, remove duplicates. + * emulparams/elf64bmip.sh: Source elf32bmipn32.sh, remove duplicates. + * emulparams/elf64btsmip.sh: Likewise. + * emulparams/elf64ltsmip.sh: Source elf64btsmip.sh, remove duplicates. + * emulparams/elf32lppc.sh: Source elf32ppc.sh, remove duplicates. + * emulparams/elf32ppclinux.sh: Likewise. + * emulparams/elf32ppcsim.sh: Likewise. + * emulparams/elf32lppcsim.sh: Source elf32lppc.sh, remove duplicates. + * emulparams/elf64hppa.sh: Source hppa64linux.sh, remove duplicates. + * emulparams/h8300helf.sh: Source h8300elf.sh, remove duplicates. + * emulparams/h8300self.sh: Likewise. + * emulparams/mn10300.sh: Source mn10200.sh, remove duplicates. + * emulparams/sh.sh: Comment. + * emulparams/shl.sh: Source sh.sh, remove duplicates. + * emulparams/shlelf.sh: Source shelf.sh, remove duplicates. + * emulparams/shelf_linux.sh: Source shlelf_linux.sh, remove duplicates. + +2001-11-21 David Heine <dlheine@tensilica.com> + Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (map_input_to_output_sections): Replace "break" + accidentally removed with 2001-08-03 change. + (lang_gc_sections_1): Likewise. + +2001-11-21 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (walk_wild_section): Move sec == NULL case out of loop. + +2001-11-20 Angela Marie Thomas <angela@redhat.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Use NULL instead + of false when calling lang_size_sections. + * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. + +2001-11-15 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Only emit this + function when LDEMUL_FINISH isn't set to the same name. Don't + call ${LDEMUL_FINISH}. + (ld_${EMULATION_NAME}_emulation): Call $LDEMUL_FINISH if defined. + * emultempl/armelf.em (arm_elf_finish): Call + gld${EMULATION_NAME}_finish. + * emultempl/hppaelf.em (hppaelf_finish): Rename to + gld${EMULATION_NAME}_finish. Call bfd_elf32_discard_info and + hppaelf_layout_sections_again if necessary. + (need_laying_out): New var. + (hppaelf_layaout_sections_again): Rename to + hppaelf_layout_sections_again. Clear need_laying_out. + (PARSE_AND_LIST_OPTIONS): Format text. + +2001-11-14 H.J. Lu <hjl@gnu.org> + + * emultempl/armelf.em (arm_elf_finish): Renamed from + gld${EMULATION_NAME}_finish. + (LDEMUL_FINISH): Set to arm_elf_finish. + +2001-11-14 Daniel Jacobowitz <drow@mvista.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): New. + (struct ld_emulation_xfer_struct): Use it. + +2001-11-13 Ross Alexander <ross.alexander@uk.neceur.com> + + * emulparams/elf64hppa.sh (OTHER_BSS_END_SYMBOLS): Add + additional symbols referenced by newer crt0.o files from HP. + +2001-11-12 Anthony Green <green@redhat.com> + + * emulparams/armelf.sh (DATA_START_SYMBOLS): New symbol. + +2001-11-12 Alfred M. Szmidt <ams@kemisten.nu> + + * Makefile.am (GENSCRIPTS): Quote ${exec_prefix}. + * Makefile.in: Regenerate. + +2001-11-02 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * ld.texinfo: Use @command for commands, @option for options. + * Makefile.am (POD2MAN): Use 'GNU Development Tools' for + the page man title. + * Makefile.in: Rebuild. + +2001-11-04 Chris Demetriou <cgd@broadcom.com> + + * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): + Add support for targets. + +2001-11-02 Nick Clifton <nickc@cambridge.redhat.com> + + * configure.in (ALL_LINGUAS): Add "fr" and "sv" + * configure: Regernate. + * po/fr.po: New file. + * po/sv.po: New file. + +2001-11-01 NIIBE Yutaka <gniibe@m17n.org> + + * configure.tgt (sh-*-linux): Set targ_emul, targ_extra_emuls + as little endian default and to support big endian. + +2001-11-01 Chris Demetriou <cgd@broadcom.com> + + * ld.texinfo (Options): Document new option, -nostdlib. + * lexsup.c (OPTION_NOSTDLIB): New definition. + (ld_options): Add entry for "nostdlib". + (parse_args): Handle OPTIONS_NOSTDLIB. + * ldfile.c (ldfile_add_library_path): Don't add directories + to the search path if they weren't specified on the command line + and -nostdlib was specified. + * ld.h (ld_config_type): New member only_cmd_line_lib_dirs. + +2001-10-31 Nick Clifton <nickc@cambridge.redhat.com> + + * lexsup.c (parse_args): Prevent infinite parsing loop when + "-rpath.a" is specified on the command line. + Replace calls to fprintf with calls to einfo. + +2001-10-31 John Marshall <jmarshall@acm.org> + + * ld.texinfo: A historical requirement that MEMORY and SECTIONS + appear only once across all the linker scripts involved in a link + invocation no longer applies. Make the documentation reflect + that. + +2001-10-31 NIIBE Yutaka <gniibe@m17n.org> + + * configure.tgt: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu + targets. + (sh-*-linux*): Added targ_extra_libpath. + +2001-10-31 David Heine <dlheine@tensilica.com> + + * ldlang.c (lang_size_sections): Keep a valid output_offset field + for padding statements. + +2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> + + * configure.tgt (mmix-*-*): New target. + * Makefile.am (ALL_EMULATIONS): Add eelf64mmix.o and emmo.o. + Add dependencies to match. + * emulparams/mmo.sh, emulparams/elf64mmix.sh, emultempl/mmo.em, + emultempl/mmix-elfnmmo.em, emultempl/mmixelf.em, + scripttempl/mmo.sc: New files. + * gen-doc.texi: @set MMIX. + * ld.texinfo: Ditto. + [MMIX] Add MMIX node. + * Makefile.in: Regenerate. + +2001-10-29 Kazu Hirata <kazu@hxi.com> + + * ldlang.c: Fix a comment typo. + +2001-10-23 Alan Modra <amodra@bigpond.net.au> + + * configure.host: Move alpha*-*-linux-gnu* entry to generic + entries, and match *-*-linux*. + +2001-10-20 Alan Modra <amodra@bigpond.net.au> + + * ldgram.y (mri_script_command): Surround processing of INCLUDE + with ldlex_script, ldlex_popstate. + (ifile_p1): Likewise. + * ldlex.l (EOF): Don't BEGIN(SCRIPT). Restore lineno from the + correct slot. + (lex_push_file): Save current lineno to lineno_stack. Set lineno + to 1. Don't BEGIN(SCRIPT). + (lex_redirect): Similarly. + * ldmain.c (main): Set yydebug non-zero if YYDEBUG. + +2001-10-20 Nick Clifton <nickc@cambridge.redhat.com> + + * scripttempl/armcoff.sc: Define __EH_FRAME_BEGIN__ and + __EH_FRAME_END__ and accept eh frames into data section. + Add ctor and dtor sections. + +2001-10-19 Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * pe-dll.c (autofilter_objectlist): Add gcrt0.o. + (auto-export): Fix indentation. + +2001-10-18 Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * pe-dll.c (autofilter_objectlist): Add startup objects + for profiling. + (auto-export): Constify char * p. + Extract file basename and use strcmp rather than ststr + for object lookup. + +2001-10-18 Chris Demetriou <cgd@broadcom.com> + + * ldmain.c (get_emulation): Improve comment about the handling + of -mipsN options. + +2001-10-17 Alan Modra <amodra@bigpond.net.au> + + * po/POTFILES.in: Regenerate. + +2001-10-16 Vassili Karpov <malc@pulsesoft.com> + + * emultempl/elf32.em (gld*_list_options): Remove extra '\t' from + -z nocopyreloc and -z nocombreloc usage strings. + +2001-10-12 Vassili Karpov <malc@pulsesoft.com> + + * emultempl/elf32.em (gld*_list_options): Include -z nocopyreloc + in usage. + +2001-10-11 Aleksey Romanov <aromanov@ennovatenetworks.com> + + * scripttempl/armaout.sc: Place .bss section after end of aligned + data section to match behaviour of aout code in constructrion of + header. + +2001-10-11 Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * pe-dll.c (autofilter_entry_type autofilter_liblist: Add + startup files for mingw32 dlls to list. + +2001-10-10 Chris Demetriou <cgd@broadcom.com> + + * emultempl/elf32.em: Fix shell 'if' usage for portability. + +2001-10-08 Aldy Hernandez <aldyh@redhat.com> + + * configure.tgt (targ): Add arm9e-*-elf. + +2001-10-05 H.J. Lu <hjl@gnu.org> + + * genscripts.sh: Fix a typo in the last change. + +2001-10-05 Jakub Jelinek <jakub@redhat.com> + + * emultempl/elf32.em (gld_*_list_options): Include -z combreloc and + -z nocombreloc in usage. + +2001-10-03 Jim Blandy <jimb@redhat.com> + + * genscripts.sh: Include a comment at the top of each generated + script, explaining its purpose. + +2001-10-03 Vassili Karpov <malc@pulsesoft.com> + + * emultempl/elf32.em (parse_args): Handle -z nocopyreloc. + * NEWS: Mention -z nocopyreloc. + * ld.texinfo (Options): Describe nocopyreloc. + +2001-10-03 Alan Modra <amodra@bigpond.net.au> + + * configure: Regenerate. + +2001-10-02 Alan Modra <amodra@bigpond.net.au> + + * ldver.h (ld_program_version): Remove declaration. + * lexsup.c (parse_args): Move printing of copyright message.. + * ldver.c (ldversion): .. to here. + Use BFD_VERSION_STRING in place of BFD_VERSION. + (ld_program_version): Remove. + * Makefile.am (Makefile): Depend on bfd/configure.in. + Run "make dep-am". + * Makefile.in: Regenerate. + +2001-09-30 Hans-Peter Nilsson <hp@bitrange.com> + + * Makefile.am: Update dependencies with "make dep-am". + * Makefile.in: Regenerate. + +2001-09-29 John Reiser <jreiser@BitWagon.com> + + * ldlang.c (lang_common): Conditionally inhibit Common allocation. + * lexsup.c: Add --no-define-common commandline option. + * ldgram.y: Add INHIBIT_COMMON_ALLOCATION script command. + * ldlex.l: Likewise. + * ld.h: Add command_line.inhibit_common_definition. + * ldmain.c (main): Initialize. + * ld.texinfo: Document. + +2001-09-29 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (section_already_linked): Remove assignment to kept_section. + +2001-09-26 Alan Modra <amodra@bigpond.net.au> + + * ldmisc.c (USE_STDARG): Remove. + (info_msg): Define using VPARAMS, VA_OPEN, VA_FIXEDARG, VA_CLOSE. + (einfo): Likewise. + (minfo): Likewise. + (lfinfo): Likewise. + + * ldmisc.h: Remove #ifdef ANSI_PROTOTYPES and non-ansi + declarations. Update copyright. + +2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> + + * pe-dll.c: Remove obsoleted declaration of + pe_get_data_import_dll_name. + (pe_create_import_fixup): Fix thinko. + + * ld.texinfo(enable-auto-import): Clarify the explanation. + +2001-09-24 Nick Clifton <nickc@cambridge.redhat.com> + + * pe-dll.c (pe_create_import_fixup): Revert previous patch. + * emultemp/pe.em (pe_data_import_dll): Move definition outside of + DLL_SUPPORT controlled code. + +2001-09-24 Charles Wilson <cwilson@ece.gatech.edu> + + * emultempl/pe.em(pe_data_import_dll): Make static. + (pe_get_data_import_dll_name): New accessor function. + * pe-dll.c(pe_create_import_fixup): call + pe_get_data_import_dll_name() from pe.em, instead of + directly accessing pe_data_import_dll variable from pe.em. + +2001-09-18 Bruno Haible <haible@clisp.cons.org> + + * deffilep.y: Include "safe-ctype.h" instead of <ctype.h>. + (def_file_add_directive): Use ISSPACE instead of isspace. + (def_lex): Use ISDIGIT/ISXDIGIT/ISALPHA/ISALNUM instead of + isdigit/isxdigit/isalpha/isalnum. + * emultempl/aix.em: Include "safe-ctype.h" instead of <ctype.h>. + (gld${EMULATION_NAME}_read_file): Use ISSPACE instead of isspace. + * emultempl/elf32.em: Include "safe-ctype.h" instead of <ctype.h>. + (gld${EMULATION_NAME}_place_orphan): Use ISALNUM instead of + isalnum. + * emultempl/gld960c.em: Include "safe-ctype.h" instead of <ctype.h>. + (gld960_set_output_arch): Use ISUPPER/TOLOWER instead of + isupper/tolower. + * emultempl/sunos.em: Include "safe-ctype.h" instead of <ctype.h>. + (gld${EMULATION_NAME}_search_dir): Use ISDIGIT instead of isdigit. + * ldctor.c: Include "safe-ctype.h" instead of <ctype.h>. + (ctor_prio): Use ISDIGIT instead of isdigit. + * ldfile.c: Include "safe-ctype.h" instead of <ctype.h>. + (ldfile_open_file_search): Use ISALPHA instead of isalpha. + (ldfile_add_arch): Use ISUPPER/TOLOWER instead of + isupper/tolower. + * ldlang.c: Include "safe-ctype.h" instead of <ctype.h>. + (stricpy): Use TOLOWER instead of isupper/tolower. + (lang_leave_overlay_section): Use ISALNUM instead of isalnum. + * ldlex.l: Include "safe-ctype.h" instead of <ctype.h>. + (lex_warn_invalid): Use ISPRINT instead of isprint. + * ldmain.c: Include "safe-ctype.h" instead of <ctype.h>. + (main): For gettext, also set the LC_CTYPE locate facet. + (add_keepsyms_file): Use ISSPACE instead of isspace. + * lexsup.c: Include "safe-ctype.h" instead of <ctype.h>. + (is_num, parse_args): Use ISDIGIT instead of isdigit. + * mpw-elfmips.c: Include "safe-ctype.h" instead of <ctype.h>. + (gldelf32ebmip_place_orphan): Use ISALNUM instead of isalnum. + * mpw-eppcmac.c: Include "safe-ctype.h" instead of <ctype.h>. + (gldppcmacos_read_file): Use ISSPACE instead of isspace. + * pe-dll.c: Include "safe-ctype.h" instead of <ctype.h>. + (quoteput): Use ISSPACE instead of isspace. + (pe_dll_generate_implib, pe_process_import_defs): Use ISALNUM + instead of isalnum. + +2001-09-18 Alan Modra <amodra@bigpond.net.au> + + * deffilep.y (def_stash_module): Constify "name" param. + + * pe-dll.c: Replace CONST with const throughout. + (quick_symbol): Constify "n1", "n2", "n3" params. + (make_singleton_name_thunk): Constify "import" param. Make + "buffer_len" a size_t. + (make_import_fixup_entry): Constify "name", "fixup_name", + "dll_symname" params. + (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. + (pe_get32): Likewise. + (pe_implied_import_dll): Likewise. + + * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". + (sort_by_section_name): Likewise. + + * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. + (make_import_fixup): Cast printf arg, rel->address to long rather + than int. + (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int. + +2001-09-15 Alan Modra <amodra@bigpond.net.au> + + * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX + defines BufferSize. Increase buffer size by one. + +2001-09-14 Ralf Habacker <Ralf.Habacker@freenet.de> + + * pe-dll.c (pe_walk_relocs_of_symbol): Fix memory leak. + +2001-09-14 Kevin Lo <kevlo@openbsd.org> + + * configure.tgt: Add arm-openbsd target. + +2001-09-12 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and + eelf64lppc.o to ... + (ALL_64_EMULATIONS): Here. + * Makefile.in: Regenerated. + +2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> + + * emultempl/pe.em(make_import_fixup): change signature to + take asection as well as arelec; we need this for proper + error reporting. Only call pe_create_import_fixup() if + there is no attempt to add a constant addend to the reloc; + otherwise, report error condition. + * pe-dll.c(pe_walk_relocs_of_symbol): change signature, + since final argument is a pointer to make_import_fixup(). + Change call to cb() to match make_import_fixup() signature. + (make_import_fixup_mark): make buffer_len unsigned. + * pe-dll.h: change signature of pe_walk_relocs_of_symbol. + +2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> + + * ld.texinfo: add verbose documentation for auto-import + direct-addressing workaround, to compliment the terse + error message. + +2001-09-12 Andrew MacLeod <amacleod@redhat.com> + + * scripttempl/v850.sc: Add gcc_except_table sections. + +2001-09-11 Jeffrey A Law (law@cygnus.com) + + * emulparams/h8300helf.sh: Move stack to a much higher memory address. + * emulparams/h8300self.sh: Similarly. + +2001-09-05 Danny Smith <dannysmith@users.souceforge.net> + + * ld.texinfo (Options, --stack): Correct default value for stack + reserve. + +2001-09-05 Tom Rix <trix@redhat.com> + + * emultempl/aix.em : Handle import file XMC_XO and syscall symbols. + +2001-09-03 Andreas Jaeger <aj@suse.de> + + * emultempl/beos.em: Declare prototypes for comparions functions, + adjust definitions. + +2001-09-02 Andreas Jaeger <aj@suse.de> + + * emultempl/aix.em: Add missing prototype. + * emultempl/lnk960.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/gld960.em: Likewise. + + * emulparams/elf64alpha.sh (PARSE_AND_LIST_PROLOGUE): Add parameter + for prototype declaration. + +2001-08-31 Eric Christopher <echristo@redhat.com> + Jason Eckhardt <jle@redhat.com> + + * ldmain.c (get_emulation): Add support for -mips32 and -mips64. + +2001-08-31 Andreas Jaeger <aj@suse.de> + + * emultempl/pe.em: Add missing prototypes. + (gld_${EMULATION_NAME}_after_open): Remove extra args to + pe_find_data_imports. + (pr_sym): Add unused attribute. + +2001-08-29 Joel Sherrill <joel@OARcorp.com> + + * configure.tgt (i[3456]86-*-rtems*, m68*-*-rtems*): Change + default from coff to elf. + +2001-08-29 Jeff Law <law@redhat.com> + + * emulparams/h8300helf.sh: Resync with h8300elf.sh. Update + ARCH specification. + * emulparams/h8300self.sh: Similarly. + +2001-08-28 J"orn Rennecke <amylaar@redhat.com> + + * Makefile.am (ALL_EMULATIONS): Add eh8300elf.o, eh8300elf.o and + eh8300self.o . + (eh8300elf.c, eh8300helf.c, eh8300self.c): New targets. + * configure.tgt (h8300-*-elf*): New case. + * emulparams/h8300elf.sh, emulparams/h8300helf.sh: New files. + * emulparams/h8300self.sh: New file. + * Makefile.in: Regenerated. + +2001-08-28 Nick Clifton <nickc@cambridge.redhat.com> + + * ldmain.c (main): Rename BSIZE to BufferSize to avoid collision + with macro name. + +2001-08-27 Linus Nordberg <linus@swox.com> + Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (ALL_EMULATIONS): Add eelf64ppc.o and eelf64lppc.o. + (eelf64ppc.c, eelf64lppc.c): Add make targets. + Run "make dep-am" + * Makefile.in: Regenerate. + * configure.tgt: Add powerpc64 support. Move pdp11, pjl, pj + entries to correct alphabetical position. + * emulparams/elf64ppc.sh: New. + * emulparams/elf64lppc.sh: New. + +2001-08-27 Nick Clifton <nickc@cambridge.redhat.com> + + * ldmain.c (main): Declare BSIZE as static. + +2001-08-23 Jakub Jelinek <jakub@redhat.com> + + * emultempl/elf32.em (place_orphan): Place orphan .rel* sections + into .rel.dyn resp. .rela.dyn if combreloc. + (get_script): If .x linker script is equal to .xn, only put it + once into the binary. + Add .xc and .xsc scripts. + (parse_args): Handle -z combreloc and -z nocombreloc. + * scripttempl/elf.sc (.rela.sbss): Fix a typo. + For .xc and .xsc scripts put all .rel* or .rela* input sections + but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. + * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME + is elf. + Strip trailing whitespace from script. + Generate .xc and .xsc scripts if requested. + * ldmain.c (main): Initialize link_info.combreloc and + link_info.spare_dynamic_tags. + * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. + (ld_options): Add --spare-dynamic-tags option. + (parse_args): Likewise. + * ld.texinfo: Document -z combreloc and -z nocombreloc. + * ldint.texinfo: Document .xc and .xsc linker scripts. + * NEWS: Add notes about -z combreloc and SHF_MERGE. + +2001-08-22 H.J. Lu <hjl@gnu.org> + + * emulparams/elf32fr30.sh: Add a newline. + +2001-08-21 Andreas Jaeger <aj@suse.de> + + * deffilep.y: Add missing prototypes. + * pe-dll.c: Likewise. + +2001-08-20 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (insert_pad): Fix typos in last patch. + + * ldlang.c: When traversing lang_statement_union_type lists, + consistently use "header.next" rather than "next". + * mpw-eppcmac.c: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/pe.em: Likewise. + * ldlang.h (union lang_statement_union): Remove "next" field. + + * ldlang.c (insert_pad): Use offsetof macro. + (lang_size_sections): Always neuter padding statements. + * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Delete. + + * pe-dll.c (pe_dll_fill_sections): Correct type of "relax" param + passed to lang_size_sections. + (pe_exe_fill_sections): Likewise. + * emultempl/pe.em (output_prev_sec_find): Copied from elf32.em. + (gld_${EMULATION_NAME}_place_orphan): Merge from elf32.em. + +2001-08-18 Alan Modra <amodra@bigpond.net.au> + + * emultempl/aix.em: Formatting fixes. + +2001-08-18 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (insert_pad): Make use of an existing pad statement if + available. Move code calculating alignment, adjusting section + alignment power, and adjusting dot to .. + (size_input_section): .. here. Remove unused relax param. + (lang_size_sections): Change boolean `relax' param to boolean *. + Adjust call to size_input_section. Make use of insert_pad to + place pad after the assignment statement. If relaxing, zap + padding statements. + (reset_memory_regions): Reset output_bfd section sizes too. + (relax_again): Move to.. + (lang_process): ..here. Adjust call to lang_size_sections, and + remove duplicated code. + * ldlang.h (lang_size_sections): Change `relax' param to boolean *. + +2001-08-17 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Document that fill values now use the four least + significant bytes. + * emulparams/elf32fr30.sh (NOP): Update. + * emulparams/elf32mcore.sh: Likewise. + * emulparams/elf64_s390.sh: Likewise. + * emulparams/elf_i386.sh: Likewise. + * emulparams/elf_i386_be.sh: Likewise. + * emulparams/elf_i386_chaos.sh: Likewise. + * emulparams/elf_i386_ldso.sh: Likewise. + * emulparams/elf_s390.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + * emulparams/i386moss.sh: Likewise. + * emulparams/i386nw.sh: Likewise. + * emulparams/m68kelf.sh: Likewise. + * scripttempl/elf.sc: Update NOP comment. + * scripttempl/elfi370.sc: Likewise. + * scripttempl/elfm68hc11.sc: Likewise. + * scripttempl/elfm68hc12.sc: Likewise. + * scripttempl/nw.sc: Likewise. + +2001-08-15 Tom Rix <trix@redhat.com> + + * ldgram.y (saved_script_handle): Initialize to NULL. + * ldmain.c (main): Change check on saved_script_handle. + +2001-08-14 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em: Formatting fixes. + (output_prev_sec_find): Test for bfd_ind_section too; do so by + looking at sec->owner. + (output_rel_find): Move function inside LDEMUL_PLACE_ORPHAN test. + (gld${EMULATION_NAME}_place_orphan): Add a few comments. Remove + unused code, and reorganize orphan section placement code. + + * ldlang.c (wild_doit): Rename to lang_add_section. + * ldlang.h: Here too. + * mpw-elfmips.c: And here. + * emultempl/beos.em: And here. + * emultempl/elf32.em: And here. + * emultempl/hppaelf.em: And here. + * emultempl/pe.em: And here. + +2001-08-13 Richard Henderson <rth@redhat.com> + + * emultempl/needrelax.em: New file. + * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Reference it. + * Makefile.am (eelf64_ia64.c): Depend on it. + * Makefile.in: Rebuild. + +2001-08-13 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em: For SEC_EXCLUDE sections, ensure that + output_section is set non-NULL. + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Return + `true' for SEC_EXCLUDE sections so that the generic code doesn't + needlessly create an output_section_statement. Treat a correctly + named output_section_statement with NULL bfd_section as compatible. + +2001-08-13 Hans-Peter Nilsson <hp@bitrange.com> + + * emultempl/generic.em: Support EXTRA_EM_FILE. + (ld_${EMULATION_NAME}_emulation): Support emulation parameters + LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, + LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, + LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, + LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, + LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, + LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, + LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, + LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, + LDEMUL_FIND_POTENTIAL_LIBRARIES. + +2001-08-12 Richard Henderson <rth@redhat.com> + + * scripttempl/elf.sc, scripttempl/elfd30v.sc, + scripttempl/elfm68hc11.sc, scripttempl/elfm68hc12.sc, + scripttempl/v850.sc: Keep .jcr data. + +2001-08-12 H.J. Lu <hjl@gnu.org> + Andrew Haley <aph@cambridge.redhat.com> + Nick Clifton <nickc@redhat.com> + + * ldgram.y (had_script): Change name to saved_script_handle. + Change type to file handle. + * ld.h (had_script): Rename and retype. + * ldfile.c (ldfile_open_command_file): Save the file handle + used in saved_script_handle. + * lexsup.c (parse_args): Do not allow -c option to alter + saved_script_handle. + * ldmain.c (main): Print out the linker script used if + --verbose is given. Check saved_script_handle to obtain the + external linker script used, or if NULL, dump the builtin + script. + * ld.texinfo: Document that --verbose now dumps the linker + script used, regardless of whether it was an internal or an + external script. + +2001-08-10 Andreas Jaeger <aj@suse.de> + + * configure.in: Add -Wstrict-prototypes and -Wmissing-prototypes + to build warnings. + * configure: Regenerate. + +2001-08-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (output_prev_sec_find): Add missing prototype. + + * scripttempl/elf.sc: Move non-text .dynamic section before + .plt/.got/.sdata* group. + (OTHER_GOT_SECTIONS): Move to immediately after .got. + (OTHER_SDATA_SECTIONS): Add. + * emulparams/criself.sh: Use OTHER_SDATA_SECTIONS rather than + OTHER_GOT_SECTIONS. + * emulparams/crislinux.sh: Likewise. + * emulparams/elf32b4300.sh: Likewise. + * emulparams/elf32bmip.sh: Likewise. + * emulparams/elf32bmipn32.sh: Likewise. + * emulparams/elf32bsmip.sh: Likewise. + * emulparams/elf32btsmip.sh: Likewise. + * emulparams/elf32ebmip.sh: Likewise. + * emulparams/elf32elmip.sh: Likewise. + * emulparams/elf32l4300.sh: Likewise. + * emulparams/elf32lmip.sh: Likewise. + * emulparams/elf32lsmip.sh: Likewise. + * emulparams/elf32ltsmip.sh: Likewise. + * emulparams/elf64bmip.sh: Likewise. + * emulparams/elf64btsmip.sh: Likewise. + * emulparams/elf64ltsmip.sh: Likewise. + +2001-08-08 Alan Modra <amodra@bigpond.net.au> + + * genscripts.sh: Source the emulparams script before each output + script is generated so that variables like `RELOCATING' may affect + variables defined in the emulparams script. + +2001-08-04 Alan Modra <amodra@bigpond.net.au> + + * emultempl/aix.em: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this + order. + + * emultempl/beos.em (sort_sections): Modify for 2001-08-03 change, + ie. iterate over wild_statement.section_list. + (gld${EMULATION_NAME}_place_orphan): Likewise. + +2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * scripttempl/elfm68hc12.sc (FINISH_CODE, FINISH_RELOC): New to handle + .fini[0-4] sections used by _exit + (CTOR, DTOR): Export ctor/dtor symbols; move them to ROM. + (*.text,*.data,*.bss): Take into account .text.*, .data.*, .bss.*. + * scripttempl/elfm68hc11.sc: Likewise. + +2001-08-03 H.J. Lu <hjl@gnu.org> + + * emultempl/beos.em (init): Add the missing initialization. + +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): Change dependency 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 + different object formats. + +2001-06-19 Hans-Peter Nilsson <hp@axis.com> + + * ldlang.c (lang_check): Emit fatal error if relocatable link + between different object flavours with relocations in input. + +2001-06-19 H.J. Lu <hjl@gnu.org> + + * ld.texinfo (-E, --export-dynamic): Mention --version-script. + (--version-script): Mention the language support. + +2001-06-19 H.J. Lu <hjl@gnu.org> + + * ldlang.c (lang_check): Revert the change mode on 2001-06-15. + +2001-06-18 H.J. Lu <hjl@gnu.org> + + * Makefile.am (ld.1): Remove the prefix `$(srcdir)/'. + (diststuff): Add $(MANS). + * Makefile.in: Regenerated. + + * ld.1: Removed. + +2001-06-18 Hans-Peter Nilsson <hp@axis.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): + Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. + * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. + * ld.h (args_type): Remove member export_dynamic. All users + changed to use struct bfd_link_info member. + + * Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on + $(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em. + * Makefile.in: Regenerate. + +2001-06-18 H.J. Lu <hjl@gnu.org> + + * ldlang.c (init_os): Add the newline to the einfo call. + (lang_check): Likewise. + (lang_do_version_exports_section): Likewise. + +2001-06-15 H.J. Lu <hjl@gnu.org> + + * lexsup.c (parse_args); Save optind to report unrecognized + option. + +2001-06-15 Hans-Peter Nilsson <hp@axis.com> + + * ldlang.c (lang_check): Emit fatal error if relocatable link + between different object flavours. + + * lexsup.c (parse_args) <case OPTION_EXPORT_DYNAMIC, case 'E'>: + Set new link_info member export_dynamic. + * ldmain.c (main): Initialize new link_info member export_dynamic. + +2001-06-12 Nick Clifton <nickc@cambridge.redhat.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): Change 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> + + * ldlang.c (record_bfd_errors): Remove. + + * emultempl/aix.em: Fix copyright dates. + +2001-06-07 Andreas Jaeger <aj@suse.de> + + * elf_x86_64.sh (NONPAGED_TEXT_START_ADDR): Increase. + (TEXT_START_ADDR): Likewise. + +2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. + +2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. + +2001-05-31 H.J. Lu <hjl@gnu.org> + + * ldlang.c (open_input_bfds): Don't change the bfd error + handler whilst loading symbols. + +2001-05-28 Nick Clifton <nickc@cambridge.redhat.com> + + * configure.tgt: Remove i370-mvs architecture, it is not currently + supported. + +2001-05-25 H.J. Lu <hjl@gnu.org> + + * emulparams/ppcmacos.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + +2001-05-25 H.J. Lu <hjl@gnu.org> + + * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Move + setting of output_filename after bfd_scan_arch. + * emultempl/pe.em: Likewise. + +2001-05-25 H.J. Lu <hjl@gnu.org> + + * emulparams/aixrs6.sh: Add SYSCALL_MASK and SYMBOL_MODE_MASK + like emulparams/aixppc.sh. + + * emultempl/aix.em (sc): Use ${srcdir}/emultempl/ostring.sed + instead of ${srcdir}/emultempl/stringify.sed. + +2001-05-25 Timothy Wall <twall@oculustech.com> + + * emulparams/elf64_aix.sh: Change settings to match IBM linker + output. + +2001-05-25 Alan Modra <amodra@one.net.au> + + * configure.host: Replace linuxoldld with linux*oldld. + * configure.tgt: Likewise. + +2001-05-24 H.J. Lu <hjl@gnu.org> + + * emultempl/stringify.sed: Removed again. + +2001-05-24 H.J. Lu <hjl@gnu.org> + + * emultempl/aix.em (OUTPUT_ARCH): Defined. + (gld${EMULATION_NAME}_before_parse): Initialize + ldfile_output_architecture, ldfile_output_machine and + ldfile_output_machine_name from ${OUTPUT_ARCH} if possible. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sunos.em: Likewise. + +2001-05-24 Tom Rix <trix@redhat.com> + + * emultempl/aix.em : (gld${EMULATION_NAME}_read_file) + udate import file format. + (change_symbol_mode) New, same + (is_syscall) New, same + * emulparams/aixppc.sh : add SYSCALL_MASK and SYMBOL_MODE_MASK + * emulparams/aixppc64.sh : same + * emulparams/aixrs6.sh : same + * emulparams/ppcmacos.sh : same + * emultempl/aix.em : use strtoull to parse options + * Makefile.am : add eaixppc64 emulation for xcoff64 + * Makefile.in : same + * configure.tgt : same + + * scripttempl/aix.sc : default text section offset to 0x10000000 + default data section offset to 0x20000000 + add .sv3264 and .sv64 pseudo sections + loader and debug sections use the currect section offset. + + * emultempl/aix.em : Add xcoff64 support + Add -binitfini support + (gld${EMULATION_NAME}_before_parse) -binitfini + (gld${EMULATION_NAME}_parse_args) same + (gld${EMULATION_NAME}_before_allocation) format change for special + sections + + * emulparams/aixppc64.sh : New file for xcoff64 support + +2001-05-23 Alexandre Oliva <aoliva@redhat.com> + + * emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new + variable to avoid non-portable shell construct. + +2001-05-23 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ldmain.c (get_emulation): Add -mips5 command line argument. + +2001-05-22 Alexandre Oliva <aoliva@redhat.com> + + * emulparams/elf_i386_ldso.sh: New, copied from elf_i386.sh. + (ELF_INTERPRETER_NAME): Define it. + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Use + it. + * configure.tgt (targ_emul, targ_extra_emuls) + [i[3456]86-*-solaris2*, i[3456]86-*-solaris*]: Use elf_i386_ldso + as primary, elf_i386 as extra. + * Makefile.am (ALL_EMULATIONS): Added eelf_i386_ldso.o. + (eelf_i386_ldso.c): New rule. + * Makefile.in: Rebuilt. + +2001-05-22 Nick Clifton <nickc@redhat.com> + + * lexsup.c (ld_options): Allow -I to be an alias for + --dynamic-linker. This is for Solaris compatability. + * ld.texinfo: Document that -I can be used. + * ld.1: Regenerate. + +2001-05-16 Alan Modra <amodra@one.net.au> + + * ldlang.c (wild_doit): Use linker_has_input to reliably determine + whether an input section is the first one assigned to an output + section. + Assorted formatting fixes. + +2001-05-14 DJ Delorie <dj@delorie.com> + + * Makefile.am (ld.dvi): Search bfd/doc for texinfo files. + * Makefile.in: Ditto. + +2001-05-11 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put + .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* + output sections. + * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise. + +2001-05-11 Jakub Jelinek <jakub@redhat.com> + + * ldlang.c (lang_process): Call bfd_merge_sections. + +2001-05-07 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ldgram.y: Fix typo. + +2001-05-03 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em: Include "libiberty.h". + (gld${EMULATION_NAME}_vercheck): Call basename () to get the + basename of the bfd filename. + (gld${EMULATION_NAME}_stat_needed): Likewise. + (gld${EMULATION_NAME}_try_needed): Likewise. + (gld${EMULATION_NAME}_open_dynamic_archive): Likewise. + +2001-05-02 H.J. Lu <hjl@gnu.org> + + * emultempl/pe.em: Include <ctype.h>. + +2001-05-02 Johan Rydberg <jrydberg@opencores.org> + + * emulparams/elf32openrisc.sh: New file. + + * Makefile.am: Add OpenRISC target. + * Makefile.in: Regenerated. + + * configure.tgt: Add openrisc-*-* mapping. + +2001-05-02 Nick Clifton <nickc@redhat.com> + + * emultempl/aix.em: Replace buystring with xstrdup. + * emultempl/beos.em: Replace buystring with xstrdup. + +2001-05-02 H.J. Lu <hjl@gnu.org> + + * ldfile.c: Include "libiberty.h". + * ldlex.l: Likewise. + + * ldmisc.c (buystring): Removed. + * ldmisc.h: Likewise. + + * ldfile.c: Replace buystring with xstrdup. + * ldlang.c: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmisc.c: Likewise. + * lexsup.c: Likewise. + * mpw-eppcmac.c: Likewise. + +2001-04-30 Andreas Jaeger <aj@suse.de> + + * emulparms/elf_x86_64.sh (MAXPAGESIZE): Fix value. + +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. + +2001-04-27 Sean McNeil <sean@mcneil.com> + + * configure.tgt: Add arm-vxworks target. + * scripttempl/armcoff.sc: Support .text or .data as a section name + prefix. + Define _etext. + +2001-04-13 J.T. Conklin <jtc@redback.com> + + * ld.texinfo: Document --fatal-warnings. + * ld.1: Regenerate. + + * ldmisc.c (vfinfo): Set flag to inhibit making executable if + warnings have been turned into errors. + * lexsup.c (OPTION_WARN_FATAL): Define. + (ld_options): Entry for --fatal-warnings. + (parse_args): Handle OPTION_WARN_FATAL. + * ld.h (ld_config_type): Add fatal_warnings field. + +2001-04-13 Jakub Jelinek <jakub@redhat.com> + + * ldmain.c (main): Default to discard_sec_merge. + * lexsup.c (OPTION_DISCARD_NONE): Define. + (ld_options): Add --discard-none. + (parse_args): Handle OPTION_DISCARD_NONE. + * ldlang.c (wild_doit): SEC_MERGE should be set in the output + section only if SEC_MERGE and SEC_STRINGS flags and entsize of + all its input sections match. + +2001-04-05 Steven J. Hill <sjhill@cotw.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32ltsmip.o. + (ALL_64_EMULATIONS): Add eelf64btsmip.o and eelf64ltsmip.o. + (eelf32ltsmip.c): New target. + (eelf64btsmip.c): Likewise. + (eelf64ltsmip.c): Likewise. + * Makefile.in: Regenerated. + + * configure.tgt (mips*el-*-linux-gnu): Uses traditional MIPS + target. + (mips*-*-linux-gnu*): Likewise. + + * emulparams/elf32ltsmip.sh: New. Traditional little endian + MIPS taget. + * emulparams/elf64btsmip.sh: New. Traditional 64bit big endian + target. + * emulparams/elf64ltsmip.sh: New. Traditional 64bit little + endian target. + +2001-04-05 Hans-Peter Nilsson <hp@axis.com> + + * emulparams/criself.sh (EXECUTABLE_SYMBOLS): Cannot provide + correct value of __Stext here. + (TEXT_START_SYMBOLS): Define; always define __Stext, to start of + .startup section. + + * emulparams/crislinux.sh: Remove FIXME. + +2001-04-02 Alan Modra <alan@linuxcare.com.au> + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 64k. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Likewise. + +2001-03-27 Hans-Peter Nilsson <hp@axis.com> + + * configure.tgt (cris-*-*): Change default emulation to criself. + (cris-*-*aout*): New rule. + +2001-03-27 Matthew Wilcox <willy@ldl.fc.hp.com> + + * emulparams/hppalinux.sh (MAXPAGESIZE): Set to 0x4000. + (TEXT_START_ADDR, TARGET_PAGE_SIZE): Ditto. + +2001-03-26 Andreas Jaeger <aj@suse.de> + + * ld.texinfo (Overview): Fix syntax in texi code. + +2001-03-25 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * ld.texinfo: Put @c man indications to generate the ld man page. + When generating man, define all the variables. Define SEEALSO + and SYNOPSIS. Re-organize some lines to avoid the cross references. + * Makefile.am (MANCONF, TEXI2POD, POD2MAN): New variables. + (ld.1): Generate from ld.texinfo. + * Makefile.in: Regenerate. + +2001-03-23 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Support the GCC flags '-ffunction-sections' + and '-fdata-sections'. Set the VMA of STABS sections to zero. + +2001-03-17 Ulrich Drepper <drepper@redhat.com> + + * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME + is an absolute path look only for this file and not along the path. + +2001-03-17 Ulrich Drepper <drepper@redhat.com> + + * emultempl/elf32.em (OPTION_GROUP): New macro. + Add new option Bgroup to longopts. + (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. + (gld*_list_options): Add -Bgroup and -z defs. + * ld.1: Document -Bgroup and -z defs. + * ld.texinfo: Likewise. + +2001-03-07 Michael Meissner <meissner@redhat.com> + + * scripttempl/elfd10v.sc (.rodata,.rodata1,.data1,.sdata): Deal + with sections created by -fdata-sections. + (.dynbss,.bss): Ditto. + +2001-03-05 Alan Modra <alan@linuxcare.com.au> + + * emultempl/m68kelf.em (m68k_elf_after_allocation): Call + after_allocation_default, not gld..._before_allocation. + +2001-02-27 Alan Modra <alan@linuxcare.com.au> + + * configure.in (BFD_VERSION): New. + (AM_INIT_AUTOMAKE): Use $BFD_VERSION. + * configure: Regenerate. + * Makefile.am: Run "make dep-am" + * Makefile.in: Regenerate. + +2001-02-26 Timothy Wall <twall@cygnus.com> + + * emulparams/elf64_aix.sh: Add additional read-only sections; + uncomment lines which are now required. + +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. + +2001-02-22 Timothy Wall <twall@cygnus.com> + + * configure.host: Add configuration for ia64-*-aix*. + * Makefile.am (ALL_64_EMULATIONS): Add emulation for ia64-*-aix*. + Add dependencies for eelf64_aix.c. + * Makefile.in: Regenerate. + * configure.tgt: Add ia64-*-aix* mapping. + * emulparams/elf64_aix.sh: Add settings for elf64 on aix5. + +2001-02-20 H.J. Lu <hjl@gnu.org> + + * ldfile.c (ldfile_open_file): Set entry->search_dirs_flag to + false if we found the file. + +2001-02-18 David O'Brien <obrien@FreeBSD.org> + + * configure.tgt: Add FreeBSD/Alpha, FreeBSD/x86-64, FreeBSD/ia64, + FreeBSD/PowerPC, FreeBSD/arm, and FreeBSD/sparc64 entries. + +2001-02-18 lars brinkhoff <lars@nocrew.org> + + * Makefile.am: Add PDP-11 target. + * configure.tgt: Likewise. + * emulparams/pdp11.sh: New file. + +2001-02-17 David O'Brien <obrien@FreeBSD.org> + + * configure.host: Add a generic FreeBSD configuration entry such that + all [modern] FreeBSD systems on all platforms will look the same. + +2001-02-14 H.J. Lu <hjl@gnu.org> + + * configure.tgt: Remove mention of earmelf_linux26. + +2001-02-13 Richard Henderson <rth@redhat.com> + + * emulparams/elf64_ia64.sh (OTHER_GOT_SYMBOLS): Remove. + +2001-02-13 H.J. Lu <hjl@gnu.org> + + * ldexp.h (node_type): Add etree_provided. + * ldexp.c (exp_fold_tree): Handle etree_provided. Set the node + type to etree_provided if defined by PROVIDE. Allow updating + for etree_provided. + (exp_print_tree): Handle etree_provided. + * mpw-elfmips.c (gldelf32ebmip_find_exp_assignment): Handle + etree_provided. + +2001-02-09 David Mosberger <davidm@hpl.hp.com> + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add + .IA_64.unwind.* pattern to unwind table section and + .IA_64.unwind_info* pattern to unwind info section. + +2001-02-09 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * Makefile.am: Add linux target for S/390. + * Makefile.in: Likewise. + * configure.host: Likewise. + * configure.tgt: Likewise. + * emulparams/elf64_s390.sh: New file. + * emulparams/elf_s390.sh: New file. + +2001-02-09 Jakub Jelinek <jakub@redhat.com> + + * configure.tgt (sparc64-*-linux-gnu*): Add elf32_sparc into + targ_extra_libpath. + (sparc-*-linux-gnu*): Add elf64_sparc into targ_extra_libpath. + +2001-02-06 Philip Blundell <philb@gnu.org> + + * Makefile.am: Remove mention of earmelf_linux26. + * Makefile.in: Regenerate. + +2001-02-04 Philip Blundell <philb@gnu.org> + + * emulparams/armelf_linux.sh (TEXT_START_ADDR): Set to 0x8000. + * emulparams/armelf_linux26.sh: Delete. + * configure.tgt: Remove mention of armelf_linux26 emulation. + +2001-02-01 Nick Clifton <nickc@redhat.com> + + * ld.1: Replace occurances of -oformat with --oformat. + +2001-01-25 Jim Driftmyer <jdrift@stny.rr.com> + + * ldlang.c (lang_leave_overlay): Don't set lma_region when + load_base is specified. + +2001-01-24 Hans-Peter Nilsson <hp@axis.com> + + * emultempl/elf32.em: Correct spelling in comments and listed + options. + +2001-01-23 Alan Modra <alan@linuxcare.com.au> + + * ldlang.c (lang_leave_overlay): Only set lma_region from the + default for the first section of a group of overlay sections. + +2001-01-22 Alan Modra <alan@linuxcare.com.au> + + * Makefile.am (GENSCRIPTS): Pass exec_prefix. + * Makefile.in: Regenerate. + * genscripts.sh: Use exec_prefix parameter to specify tool lib. + Check for null tool_dir. + +2001-01-16 Jim Wilson <wilson@redhat.com> + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Add IA_64.unwind + and IA_64.unwind.info. + +2001-01-16 H.J. Lu <hjl@gnu.org> + + * ldlang.c (lang_check): Merge the private data only if the + input file has contents. + +2001-01-14 Alan Modra <alan@linuxcare.com.au> + + * emulparams/hppalinux.sh (OUTPUT_FORMAT): Set to elf32-hppa-linux. + + * emultempl/hppaelf.em (hppaelf_after_parse): New function, + enabling search for libmilli. On a relocatable link, make .text + sections unique. + (LDEMUL_AFTER_PARSE): Define. + (hppaelf_finish): Correct spelling of relocatable in comments. + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + rummage through the script for sections on the unique list. + Correct length of strncmp for ".note". + (gld${EMULATION_NAME}_check_needed): Rearrange function. + + * ldlang.c (unique_section_list): New var. + (unique_section_p): New function. + (walk_wild_section): Don't match sections on unique_section_list. + (lang_add_unique): New function. + Correct spelling of relocatable in comments. + + * ldlang.h (struct unique_sections): Declare. + (unique_section_list): Declare. + (unique_section_p): Declare. + (lang_add_unique): Declare. + + * lexsup.c (ld_options): Allow --unique to take an optional arg. + (parse_args [OPTION_UNIQUE]): Call lang_add_unique. + + * ld.texinfo (--unique): Update. + +2001-01-13 Nick Clifton <nickc@redhat.com> + + * lexsup.c (parse_args): Remove spurious white space. + +2001-01-12 Nick Clifton <nickc@redhat.com> + + * lexsup.c (parse_args): Update copyright date. + +2001-01-12 Philip Blundell <pb@futuretv.com> + + * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. + +2001-01-10 Kazu Hirata <kazu@hxi.com> + + * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. + * scripttempl/h8300h.sc: Fix formatting. + * scripttempl/h8300s.sc: Likewise. + * scripttempl/h8500.sc: Likewise. + * scripttempl/h8500b.sc: Likewise. + * scripttempl/h8500c.sc: Likewise. + * scripttempl/h8500m.sc: Likewise. + * scripttempl/h8500s.sc: Likewise. + +2000-01-07 David O'Brien <obrien@BSDi.com> + + * emultempl/elf32.em: Only perform Linux ld hints processing when + targeting Linux. + +2001-01-07 Philip Blundell <philb@gnu.org> + + * ld.texinfo (Bug Reporting): Update email address for reports. + +2000-12-31 Nick Clifton <nickc@redhat.com> + + * lexsup.c (parse_args): Set opterr to 0 and detect unparsed long + options by checking for a return value of '?' not -1. + +2000-12-28 Nick Clifton <nickc@redhat.com> + + * lexsup.c (struct ld_option): Add new enum value: + EXACTLY_TWO_DASHES. + (ld_options[]): Change -omagic, -output and -oformat options + to be EXACTLY_TWO_DASHES. + (OUTPUT_COUNT): Use ARRAY_SIZE. + (parse_args): Change parameter 'argc' to unsigned. + Place EXACTLY_TWO_DASHES options into new really_longopts + array. + If getopt_long_only fails, try calling getopt_long using the + really_longopts array. + (help): Print a double dash for both EXACTLY_TWO_DASHES and + TWO_DASHES options. + + * ldlex.h: Fix prototype of parse_args. + + * ld.texinfo: Document that long options starting with 'o' + must be preceeded by two dashes. Change example of a single + dashed long option from -oformat to -trace-symbol. + +2000-12-26 Danny Smith <danny_r_smith_2001@yahoo.co.nz> + + * emultempl/pe.em (OPTION_NO_DEFAULT_EXCLUDES): Define. + (longopts[]): New --no-default-excludes option. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse_args): Handle. + +2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * ldlang.c (new_stat): Revert the last beautification with "innocent" + whitespace, it breaks the K&R C preprocessor. + +2000-12-11 DJ Delorie <dj@redhat.com> + + * ld.texinfo: Add notes about --whole-archive and gcc. + +2000-11-18 Fred Fish <fnf@be.com> + + * lexsup.c (OPTION_ALLOW_SHLIB_UNDEFINED): Define. + (ld_options): Entry for --allow-shlib-undefined. + (parse_args): Handle OPTION_ALLOW_SHLIB_UNDEFINED. + * ldmain.c (main): Initialize link_info.allow_shlib_undefined + to false. + * ld.texinfo: Document new command line switch. + +2000-12-12 Geoffrey Keating <geoffk@redhat.com> + + * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): + .fixup is actually read/write. + * emulparams/elf32lppc.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf32ppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. + * emulparams/elf32lppcsim.sh (OTHER_READWRITE_SECTIONS): Likewise. + +2000-12-11 Jan Hubicka <jh@suse.cz> + + * NEWS: Add note about x86_64 architecture. + +2000-12-06 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Use PROVIDE with _etext, _edata, _end. + Set DWARF2 sections to a VMA of zero. + +2000-12-01 Joel Sherrill <joel@OARcorp.com> + + * configure.tgt (arm-*-rtems*, a29k-*rtems*, h8300-*-rtems*): + New targets. + (sparc*-*-rtemself*, sparc*-*-rtemsaout*): New targets. + (sparc*-*-rtems*): Switched from a.out to ELF. + +2000-11-30 Jan Hubicka <jh@suse.cz> + + * Makefile.am (ALL_EMULATIONS): Add eelf_x86_64.o + (eelf_x86_64.c): New. + * Makefile.in: Regenerate. + * configure.tgt: Add support for x86_64-*-linux-gnu*. + * emulparams/elf_x86_64.sh: New. + +2000-11-30 Hans-Peter Nilsson <hp@axis.com> + + * emulparams/crislinux.sh (ENTRY): Change back to _start. + (TEXT_START_SYMBOLS): Remove conditional setting of __start. + + * scripttempl/crisaout.sc: Change all RELOCATING not related to + merging non-a.out sections into CONSTRUCTING. + +2000-11-28 Nick Clifton <nickc@redhat.com> + + * ld.1 (COPYING): Mention that the GNU Free Documentation + License is present in the sources, but not the output, and + also available from the GNU website. + (GNU Free Documentation License): Comment out this section. + +2000-11-28 David O'Brien <obrien@dragon.nuxi.com> + + * emulparams/elf64alpha.sh (ENTRY): Remove leading underscore as ELF + does not use them. + +2000-11-25 David O'Brien <obrien@FreeBSD.org> + + * ld.1: Remove old date so it does not give the impression the manpage + is way out of date. + +2000-11-24 Nick Clifton <nickc@redhat.com> + + * configure.tgt (xscale-coff): Add target. + (xscale-elf): Add target. + +2000-11-24 Fred Fish <fnf@be.com> + + * ldmain.c (main): Remove redundant init of config.make_executable + to true. + +2000-11-15 Richard Henderson <rth@redhat.com> + + * emulparams/elf64alpha.sh (MAXPAGESIZE): Typo -- 64k, not 1M. + +2000-11-14 Kazu Hirata <kazu@hxi.com> + + * scripttempl/h8300.sc: Fix formatting. + * scripttempl/h8300h.sc: Likewise. + * scripttempl/h8300s.sc: Likewise. + +2000-11-14 Denis Chertykov <denisc@overta.ru> + + * scripttempl/elf32avr.sc: Fix bug in .eeprom segment. + +2000-11-09 Philip Blundell <pb@futuretv.com> + + * emultempl/pe.em: Define ___start_SECNAME and ___stop_SECNAME + around orphan sections whose names can be represented in C. + +2000-11-07 Jim Wilson <wilson@redhat.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): New local + hold_sdata. If SEC_SMALL_DATA set, set place to hold_sdata. + +2000-11-06 Nick Clifton <nickc@redhat.com> + + * ld.texinfo: Add GNU Free Documentation License. + * ldint.texinfo: Add GNU Free Documentation License. + * ld.1: Add GNU Free Documentation License. + +2000-11-05 Alan Modra <alan@linuxcare.com.au> + + * ldlex.l (yy_create_string_buffer): Init yy_is_our_buffer, + yy_is_interactive, yy_at_bol, and yy_fill_buffer. + + * Makefile.am (DISTCLEANFILES): Add stringify.sed. + Move 2000-11-02 Makefile.in changes to this file. + * Makefile.in: Regenerate. + +2000-11-03 Nick Clifton <nickc@redhat.com> + + * scripttempl/h8300.sc: Use ${CONSTRUCTING...} to enclose + constructors and destructors. + * scripttempl/h8300h.sc: Ditto. + * scripttempl/h8300s.sc: Ditto. + * scripttempl/h8500.sc: Ditto. + * scripttempl/h8500b.sc: Ditto. + * scripttempl/h8500c.sc: Ditto. + * scripttempl/h8500m.sc: Ditto. + * scripttempl/h8500s.sc: Ditto. + * scripttempl/v850.sc: Ditto. + * scripttempl/w65.sc: Ditto. + * scripttempl/z8000.sc: Ditto. + +2000-11-02 Per Lundberg <plundis@chaosdev.org> + + * Makefile.in (e_i386_chaos.c): New rule. + (ALL_EMULATIONS): Added e_i386_chaos.o. + * emulparams/elf_i386_chaos.sh: New file. + * configure.tgt: Recognise i[3456]86-chaosdev-storm-chaos. + +2000-10-20 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf64_sparc.sh (TEXT_START_ADDR, + NONPAGED_TEXT_START_ADDR): Set to 4GB for Solaris targets. + Fix sed invocation, so that it coped with '/' in Solaris 64bit + library path suffix. + Based on patch by Andrew Macleod <amacleod@cygnus.com>. + +2000-10-18 Hans-Peter Nilsson <hp@axis.com> + + * scripttempl/crisaout.sc (.text, .data): Pad, with ALIGN (32), + for consecutive sections. + +2000-10-17 Chandrakala Chavva <cchavva@redhat.com> + + * lexsup.c: New option OPTION_TARGET_HELP. Prints all target specific + options. + * ld.texinfo: Added notes about this new option. + +2000-10-16 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em (_after_open): Add tests of return values from + bfd functions. Emit appropriate error messages if necessary. + +2000-10-13 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em (_after_open): Delete 'is2' and 'nsyms' + local variables - they are not used, but leave in the call to + bfd_canonicalize_symtab. + (_open_dynamic_archive): Add #ifdef DLL_SUPPORT around use of + pe_dll_search_prefix. + +2000-10-12 Charles Wilson <cwilson@ece.gatech.edu> + + * emultempl/pe.em (pe_dll_search_prefix): New variable, + (longopts): New --dll-search-prefix option. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse_args): Handle. + (gld_${EMULATION_NAME}_open_dynamic_archive): When linking + dynamically, search for a dll named '<prefix><basename>.dll' + in preference to 'lib<basename>.dll' if --dll-search-prefix + is specified. + +2000-10-12 Alan Modra <alan@linuxcare.com.au> + + * ldlang.c (section_already_linked): Set kept_section instead of + sec->comdat->sec. + +2000-10-10 Kazu Hirata <kazu@hxi.com> + + * deffile.h: Fix formatting. + * lexsup.c: Likewise. + * mri.c: Likewise. + +2000-10-09 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> + + * pe-dll.c (make_one): Do not generate code thunk for DATA + exports. + (process_def_file): deduce DATA flag for auto-export sumbols. + +2000-10-09 Kazu Hirata <kazu@hxi.com> + + * ld.h: Fix formatting. + * ldcref.c: Likewise. + * ldctor.h: Likewise. + * ldemul.c: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldmain.c: Likewise. + * pe-dll.c: Likewise. + + * pe-dll.c: Revert some formatting fixes. + +2000-10-08 Kazu Hirata <kazu@hxi.com> + + * pe-dll.c: Fix formatting. + +2000-10-05 Kazu Hirata <kazu@hxi.com> + + * ldlang.c: Fix formatting. + +2000-10-03 DJ Delorie <dj@redhat.com> + + * pe-dll.c (fill_edata): initialize entire block + (make_one): fill in correct section. + +2000-10-03 Kazu Hirata <kazu@hxi.com> + + * ldexp.c: Fix formatting. + +2000-10-02 DJ Delorie <dj@redhat.com> + + * emultempl/pe.em (gld_*_after_open): detect case where there two + import libraries for same dll; rename one to ensure proper link + order. + + * pe-dll.c (process_def_file): compare ordinals to -1, not 0; fix + typo + (generate_edata): fix typo + +2000-09-29 Hans-Peter Nilsson <hp@axis.com> + + * scripttempl/crisaout.sc (ENTRY): Now __start. + (.text): Add default setting for __start. + Remove CONSTRUCTORS handling. + (/DISCARD/): Add .gnu.warning.*. + * emulparams/crislinux.sh (ENTRY): Now __start. + (TEXT_START_SYMBOLS): New; provide __Stext and __start default. + * emulparams/criself.sh (OUTPUT_FORMAT): Now elf32-us-cris. + (ENTRY): Now __start. + (INITIAL_READONLY_SECTIONS): Add KEEP for .startup. + (EXECUTABLE_SYMBOLS): Add default setting for __start. + +2000-09-29 Kazu Hirata <kazu@hxi.com> + + * deffile.h: Fix formatting. + * ld.h: Likewise. + * ldcref.c: Likewise. + * ldctor.c: Likewise. + * ldctor.h: Likewise. + * ldemul.c: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * lexsup.c: Likewise. + * mri.c: Likewise. + * pe-dll.c: Likewise. + +2000-09-28 Paul Sokolovsky <Paul.Sokolovsky@technologist.com> + + * pe-dll.c (process_def_file): Uninitialized data wasn't + exported with --export-all-symbols switch. + +2000-09-28 DJ Delorie <dj@redhat.com> + + * pe-dll.c (fill_edata): rearrange the data so that ordinals and + noname work properly. + +2000-09-28 Alan Modra <alan@linuxcare.com.au> + + * ld.texinfo (HPPA ELF32): New section. + + * emultempl/hppaelf.em (group_size): New. + (hppaelf_finish): Pass group_size to elf32_hppa_size_stubs. + (PARSE_AND_LIST_PROLOGUE): Add OPTION_STUBGROUP_SIZE. + (PARSE_AND_LIST_LONGOPTS): Add --stub-group-size. Duplicate + options to prevent abbreviations matching. + (PARSE_AND_LIST_OPTIONS): Describe the above. Reformat. + (PARSE_AND_LIST_ARGS_CASES): Handle it. + +2000-09-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * emultempl/m68kelf.em: Conditionalise the embedded relocs feature + on the m68*-*-elf target. Make it support COFF input objects. + +2000-09-21 Kazu Hirata <kazu@hxi.com> + + * ldmain.c: Fix formatting. + * ldmisc.c: Likewise. + * ldver.c: Likewise. + * ldwrite.c: Likewise. + +2000-09-21 Alan Modra <alan@linuxcare.com.au> + + * ldwrite.c (clone_section): Silence gcc warnings. + +2000-09-20 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Handle + out of memory failure. + + * ldwrite.c (ldwrite): Remove unnecessary einfo arg. + (clone_section): Handle out of memory failures. Rename var to + avoid c++ reserved word. + +2000-09-18 Alan Modra <alan@linuxcare.com.au> + + * emultempl/hppaelf.em (hppaelf_add_stub_section): Rename + stub_name param to stub_sec_name. + (hppaelf_finish): Modify call to elf32_hppa_size_stubs. + +2000-09-10 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * emultempl/m68kelf.em: New file. + * emulparams/m68kelf.sh (EXTRA_EM_FILE): Use it. + * Makefile.am (em68kelf.c): Add dependency on m68kelf.em. + * Makefile.in: Regenerate. + +2000-09-15 Alan Modra <alan@linuxcare.com.au> + + * emulparams/hppalinux.sh (DATA_START_SYMBOLS): Provide $global$ + only as needed. + +2000-09-13 Nick Clifton <nickc@redhat.com> + + * ldmain.c (multiple_definition): Disable relaxation if + multiple symbol definitions are encountered - otherwise the + linker could abort with an assertion failure. + +2000-09-10 Nick Clifton <nickc@redhat.com> + + * mri.c: Fix formatting. + +2000-09-07 H.J. Lu <hjl@gnu.org> + + * configure.in (AC_ISC_POSIX): Put after AC_CANONICAL_SYSTEM. + * configure: Rebuild. + +2000-09-07 H.J. Lu <hjl@gnu.org> + + * Makefile.am (lexsup.o): Also depend on $(INCDIR)/demangle.h. + * Makefile.in: Rebuild. + +2000-09-07 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Fix + broken list handling. Create __start_SECNAME and __stop_SECNAME + when no place-holder. Add some comments. Test both SEC_CODE and + SEC_READONLY for hold_text to prevent .rodata orphan poisoning. + Handle case where no output section statement created. + +2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com> + + * configure.tgt (sh-*-linux*): Added. + * Makefile.am: Added eshelf_linux and eshlelf_linux. + * Makefile.in: Rebuilt. + * emulparams/shelf_linux.sh: New file. + * emulparams/shlelf_linux.sh: New file. + +2000-09-06 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + try shuffling sections when the orphan happens to be the place + holder. Keep count of unique section names generated so we speed + the search for a new name. + +2000-09-06 Alexandre Oliva <aoliva@redhat.com> + + * configure: Rebuilt with new libtool.m4. + +2000-09-05 Nick Clifton <nickc@redhat.com> + + * Makefile.in: Regenerate. + * aclocal.m4: Regenerate. + * configure: Regenerate. + * config.in: Regenerate. + * po/ld.pot: Regenerate. + + * ldint.texinfo: Remove CVS revision marker - it foils local + comparisons. + + * emultempl/ticoff.em: Remove extraneous comma. + +2000-09-05 Alan Modra <alan@linuxcare.com.au> + + * emultempl/hppaelf.em (hppaelf_add_stub_section): Add SEC_RELOC + to stub section flags. + (hppa_for_each_input_file_wrapper): New. + (hppa_lang_for_each_input_file): New. + (lang_for_each_input_file): Define to call above. + (multi_subspace): New. + (hppaelf_finish): Pass multi_subspace to elf32_hppa_size_stubs. + (PARSE_AND_LIST_PROLOGUE): Define. + (PARSE_AND_LIST_LONGOPTS): Define. + (PARSE_AND_LIST_OPTIONS): Define. + (PARSE_AND_LIST_ARGS_CASES): Define. + (hppaelf_finish): Call elf32_hppa_set_gp. + (hppaelf_set_output_arch): Remove. + (LDEMUL_SET_OUTPUT_ARCH): Remove. + + * emulparams/hppalinux.sh (ELFSIZE): Define. + (MACHINE): Define. + (OTHER_READONLY_SECTIONS): Define. + (DATA_PLT): Define. + (GENERATE_SHLIB_SCRIPT): Define. + + * ldlang.c: Add missing prototypes, and tidy others. Change CONST + to const throughout. Change `void *' to `PTR' throughout. + (lang_memory_default): Function is local to file, add `static'. + + * Makefile.am (ehppaelf.c): Depend on emultempl/elf32.em. + (ehppalinux.c): Likewise. + (earmelf.c): Likewise. + (earmelf_linux.c): Likewise. + (earmelf_linux26.c): Likewise. + * Makefile.in: Regenerate. + + * ld.h (ld_config_type): Add unique_orphan_sections. + * lexsup.c (OPTION_UNIQUE): Define. + (ld_options): Add "--unique". + (parse_args): Handle it. + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't + search for an existing output section if unique_orphan_sections is + set. Make use of bfd_get_unique_section_name rather than + duplicating code here. + * ld.texinfo: Describe --unique. + + * lexsup.c (ld_options): Make split-by-reloc arg optional. Add + optional arg to split-by-file. + (parse_args): Handle them. + * ld.texinfo: Update description of these options. + * ldwrite.c (clone_section): Pass in the section name. Replace + local code with bfd_get_unique_section_name. + (split_sections): Tidy code and comments. Use a list traversal + more appropriate to the list construction. Handle cooked section + sizes. Split when split_by_reloc reached rather than exceeded. + Track section size and split when split_by_file reached. Fix + link_order_tail (even though it's not used). + (ldwrite): Modify condition for calling split_sections to suit + changed split_by_reloc and split_by_file. + * ldmain.c (main): Init config.split_by_reloc and + config.split_by_file to -1. + * ld.h (ld_config_type): Change split_by_reloc to unsigned. + Change split_by_file to bfd_size_type. + +2000-09-02 Nick Clifton <nickc@redhat.com> + + * configure.in: Increase version number to 2.10.91. + * NEWS: Mention new ability to support removal of duplicate DWARF2 + debug information. + * configure: Regenerate. + * aclocal.m4: Regenerate. + * config.in: Regenerate. + +2000-09-02 Daniel Berlin <dberlin@redhat.com> + + * scripttempl/elf.sc: Add .gnu.linkonce.wi.* to .debug_info + sections. + * scripttempl/elf32avr.sc: Ditto. + * scripttempl/elfd10v.sc: Ditto. + * scripttempl/elfd30v.sc: Ditto. + * scripttempl/elfi370.sc: Ditto. + * scripttempl/elfm68hc11.sc: Ditto. + * scripttempl/elfm68hc12.sc: Ditto. + * scripttempl/elfi386beos.sc: Ditto. + * scripttempl/v850.sc: Ditto. + +2000-08-31 Alexandre Oliva <aoliva@redhat.com> + + * acinclude.m4: Include libtool and gettext macros from the + top level. + * aclocal.m4, configure: Rebuilt. + +2000-08-25 Nick Clifton <nickc@redhat.com> + + * ldlang.c (open_output): When choosing the target for a + particular endianness, do nothing if the target is not + supported. + +2000-08-25 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't + check -rpath nor LD_RUN_PATH for cross link. + * ld.texinfo: Document the change. + +2000-08-24 Hans-Peter Nilsson <hp@axis.com> + + * NEWS: Mention support for CRIS. + +2000-08-23 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Get + the current runpath list from bfd_elf_get_runpath_list () + before search. + +2000-08-22 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Search + the DT_RPATH/DT_RUNPATH entries for DT_NEEDED after + LD_LIBRARY_PATH for native linker. Display the needed DSO if + trace_file_tries is non-zero. + (gld${EMULATION_NAME}_try_needed): Report the needed DSO found + if trace_file_tries is non-zero. + + * ld.texinfo: Document the usage of DT_RPATH/DT_RUNPATH. + * NEWS: Mention it. + +2000-08-14 Jason Eckhardt <jle@cygnus.com> + + * NEWS: Mention i860 support. + +2000-08-14 Andreas Schwab <schwab@suse.de> + + * scripttempl/elf.sc: Fix last change to use correct comment + syntax. + +2000-08-10 Geoff Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc: Add a comment giving the correspondence + between sections, per-datum sections, and linkonce sections. Make + the comment true even for .bss, .sdata, .sdata2, .sbss, and + .sbss2. + +2000-08-10 Jason Eckhardt <jle@cygnus.com> + + * emulparams/elf32_i860.sh: New file. + * configure.tgt: Recognize new target i860-stardent-{sysv4*|elf*}. + * Makefile.am (ALL_EMULATIONS): Add eelf32_i860.o. + (eelf32_i860.c): New rule. + * Makefile.in: Regenerate. + +2000-08-10 Nick Clifton <nickc@cygnus.com> + + * emulparams/mipspe.sh (ENTRY): Add definition. + +2000-08-08 Peter Jeremy <peter.jeremy@alcatel.com.au> + + * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath + in error message. + +2000-08-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate + the final size of .bss section. + * scripttempl/elfm68hc12.sc: Likewise. + +2000-08-04 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Rename to + gld${EMULATION_NAME}_parse_args for consistency. Combine + lastoptind and prevoptind vars, and keep track of last optind. + (gld_${EMULATION_NAME}_list_options): Rename to + gld${EMULATION_NAME}_list_options. + +2000-08-03 Rodney Brown <RodneyBrown@pmsc.com> + + * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 + (i586-sco-sysv5uw7.1.0). + +2000-07-27 H.J. Lu <hjl@gnu.org> + + * emulparams/elf64alpha.sh (PARSE_AND_LIST_ARGS): Removed. + (PARSE_AND_LIST_PROLOGUE): New. + (PARSE_AND_LIST_LONGOPTS): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + (PARSE_AND_LIST_EPILOGUE): Likewise. + +2000-07-28 Alan Modra <alan@linuxcare.com.au> + + * emultempl/armelf.em: Elide functions common to elf32.em, + ie. most of the file. + (arm_elf_after_open): New. Do arm specific things then call + gld${EMULATION_NAME}_after_open. + (arm_elf_before_allocation): New. Call + gld${EMULATION_NAME}_before_allocation then do arm specifics. + (PARSE_AND_LIST_PROLOGUE): Define. + (PARSE_AND_LIST_SHORTOPTS): Define. + (PARSE_AND_LIST_LONGOPTS): Define. + (PARSE_AND_LIST_OPTIONS): Define. + (PARSE_AND_LIST_ARGS_CASES): Define. + (LDEMUL_AFTER_OPEN): Define. + (LDEMUL_BEFORE_ALLOCATION): Define. + (LDEMUL_BEFORE_PARSE): Define. + (LDEMUL_FINISH): Define. + + * emultempl/hppaelf.em: Similarly zap most of this file. + (hppaelf_add_stub_section): Prototype. + (hppaelf_layaout_sections_again): Prototype. + (hook_in_stub): Prototype. + (LDEMUL_SET_OUTPUT_ARCH): Define. + (LDEMUL_FINISH): Define. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Define. + + * emulparams/armelf.sh (TEMPLATE_NAME): Use elf32. + (EXTRA_EM_FILE): New. + * emulparams/armelf_linux.sh: Likewise. + * emulparams/armelf_linux26.sh: Likewise. + * emulparams/hppalinux.sh: Likewise. + * emulparams/hppaelf.sh: Likewise. + (NOP): Define. + + * emultempl/elf32.em: Fix formatting. + (EXTRA_EM_FILE): Source it. + (LDEMUL_BEFORE_PARSE, LDEMUL_SYSLIB, LDEMUL_HLL, + LDEMUL_AFTER_PARSE, LDEMUL_AFTER_OPEN, LDEMUL_AFTER_ALLOCATION, + LDEMUL_SET_OUTPUT_ARCH, LDEMUL_CHOOSE_TARGET, + LDEMUL_BEFORE_ALLOCATION, LDEMUL_GET_SCRIPT, LDEMUL_FINISH, + LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS, + LDEMUL_OPEN_DYNAMIC_ARCHIVE, LDEMUL_PLACE_ORPHAN, + LDEMUL_SET_SYMBOLS, LDEMUL_PARSE_ARGS, LDEMUL_UNRECOGNIZED_FILE, + LDEMUL_LIST_OPTIONS, LDEMUL_RECOGNIZED_FILE, + LDEMUL_FIND_POTENTIAL_LIBRARIES): New shell vars. Add code to + allow functions in this file to be overridden. + (PARSE_AND_LIST_SHORTOPTS): Handle it. + + * emultempl/m68kcoff.em: Include ldfile.h before ldemul.h. + + * emultempl/elf32.em: Reorganize file. + +2000-07-27 Ivan Kokshaysky <ink@jurassic.park.msu.ru> + + * emulparams/elf64alpha.sh: Implement "-taso" emulation + specific option to fit 64-bit executable in the lower + 31-bit address range. This is done by changing start + address of .interp (the very first section of executable) + and then setting EF_ALPHA_32BIT elf header flag. + +2000-07-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * emultempl/m68kcoff.em: New file. + * emulparams/m68kcoff.sh (TEMPLATE_NAME): Use m68kcoff template. + * Makefile.am (em68kcoff.c): Depend on m68kcoff.em rather than + generic.em. + * Makefile.in: Regenerate. + +2000-07-20 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (longopts): Duplicate "disable-new-dtags" + and "disable-new-dtags" to stop getopt from treating -d/-e as + abbreviations for these options. + +2000-07-20 H.J. Lu <hjl@gnu.org> + + * ld.texinfo: Add documentation for --disable-new-dtags and + --enable-new-dtags. + + * ldmain.c (main): Initialize link_info.new_dtags to false. + + * emultempl/elf32.em (gld_${EMULATION_NAME}_parse_args): Add + --disable-new-dtags and --enable-new-dtags. + (gld_${EMULATION_NAME}_list_options): Likewise. + +2000-07-05 Kenneth Block <krblock@computer.org> + + * lexsup.c: Add optional style to demangle switch + * ld.texinfo: Document optional style to demangle switch. + +2000-07-20 Hans-Peter Nilsson <hp@axis.com> + + * Makefile.am (ALL_EMULATIONS): Add ecrisaout.o, ecriself.o, + ecrislinux.o. + (ecrisaout.c, ecriself.c, ecrislinux.c): New rules. + Regenerate dependencies. + * Makefile.in: Rebuild. + * configure.tgt (cris-*-*): New target. + * emulparams/crisaout.sh, emulparams/criself.sh, + emulparams/crislinux.sh, scripttempl/crisaout.sc: New files. + * po/POTFILES.in, po/ld.pot: Regenerate. + +2000-07-20 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): + Print out ignored -z options. + +2000-07-19 H.J. Lu <hjl@gnu.org> + + * emulparams/elf32mcore.sh (PARSE_AND_LIST_ARGS): Removed. + (PARSE_AND_LIST_PROLOGUE): New. + (PARSE_AND_LIST_LONGOPTS): Likewise. + (PARSE_AND_LIST_OPTIONS): Likewise. + (PARSE_AND_LIST_ARGS_CASES): Likewise. + + * ldmain.c (main): Clear link_info.flags and link_info.flags_1. + + * lexsup.c (ld_options): Comment out 'z'. + (parse_args): Likewise. + + * emultempl/elf32.em: Include "elf/common.h". + (gld_${EMULATION_NAME}_parse_args): Defined. Handle some -z + options. + (gld_${EMULATION_NAME}_list_options): Likewise. + + * ld.texinfo: Add documentation for the recognized -z options. + +2000-07-19 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call + bfd_elf_set_dt_needed_soname (). + +2000-07-18 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (pe_dll_id_target): check object target name also + +2000-07-18 Hans-Peter Nilsson <hp@axis.com> + + * scripttempl/elf.sc (.init): Only do ${INIT_START} and + ${INIT_END} if relocating. + (.fini): Likewise ${FINI_START} and ${FINI_END}. + +2000-07-16 Charles Wilson <cwilson@ece.gatech.edu> + + * emultempl/pe.em (gld_*_open_dynamic_archive): New search + order for dynamic library '-lfoo' on pei386: libfoo.dll.a, + foo.dll.a, libfoo.a, libfoo.dll, foo.dll. This fixes compatibility + errors introduced by the old dynamic lib search order. + +2000-07-17 DJ Delorie <dj@cygnus.com> + + * pe-dll.c (process_def_file): auto-export data items also + (pe_process_import_defs): also see if _imp_ form needed + +2000-07-12 Charles Wilson <cwilson@ece.gatech.edu> + + * pe-dll.c (make_one): fix a typo in the __imp_ name decoration + for dll import libraries + +2000-07-12 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Support the g++ attribute init_priority in + gcc 2.95.2 and later. + +2000-07-11 Kazu Hirata <kazu@hxi.com> + + * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error + message. + +2000-07-10 Alan Modra <alan@linuxcare.com.au> + + * ldemul.h (struct lang_input_statement_struct): Remove forward + declaration. + (struct search_dirs): Likewise. + * ldfile.h (struct lang_input_statement_struct): Likewise. + Protect file from multiple inclusion. + * ldlang.h (LANG_FOR_EACH_INPUT_STATEMENT): Move file_chain + declaration from macro to file scope. + + * ldemul.c: ldexp.h,ldlang.h,ldfile.h,ldemul.h go in this order. + * ldgram.y: Likewise here. + * ldlang.c: And here. + * ldmain.c: And here. + * mpw-elfmips.c: And here. + * mpw-eppcmac.c: And here. + * emultempl/aix.em: And here. + * emultempl/armcoff.em: And here. + * emultempl/armelf.em: And here. + * emultempl/armelf_oabi.em: And here. + * emultempl/beos.em: And here. + * emultempl/elf32.em: And here. + * emultempl/hppaelf.em: And here. + * emultempl/linux.em: And here. + * emultempl/lnk960.em: And here. + * emultempl/pe.em: And here. + * emultempl/sunos.em: And here. + * mpw-esh.c: And here. Include ldexp.h and ldlang.h too. + * mpw-idtmips.c: Ditto. + * emultempl/generic.em: Ditto. + * emultempl/gld960.em: Ditto. + * emultempl/gld960c.em: Ditto. + * emultempl/mipsecoff.em: Ditto. + * emultempl/ticoff.em: Ditto. + * emultempl/vanilla.em: Ditto. + + * pe-dll.c: Include ldfile.h + * ldver.c: Include ldexp.h, ldlang.h, ldfile.h + + * mpw-elfmips.c: (gldelf32ebmip_before_allocation): Add missing + arguments to bfd_elf32_size_dynamic_sections call. + (gldelf32ebmip_place_orphan): Add missing arguments to + lang_leave_output_section_statement call. + +2000-07-10 H.J. Lu <hjl@gnu.org> + + * emultempl/pe.em (pe_enable_stdcall_fixup): Protect with + DLL_SUPPORT. + (strhash): Likewise. + (compute_dll_image_base): Likewise. + (pe_undef_found_sym): Likewise. + (pe_undef_cdecl_match): Likewise. + (gld_${EMULATION_NAME}_open_dynamic_archive): Mark the + argument "arch" with ATTRIBUTE_UNUSED. + +2000-07-10 Alan Modra <alan@linuxcare.com.au> + + * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. + + From Ryan Bradetich <rbradetich@uswest.net> + * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. + +2000-07-09 Alan Modra <alan@linuxcare.com.au> + + Changes to create multiple linker stubs, positioned immediately + before the section where they are required. + * emultempl/hppaelf.em: Include elf32-hppa.h. + (stub_sec, file_chain): Delete. + (hppaelf_create_output_section_statements): Don't make a stub + section here. + (hook_stub_info): New struct. + (hook_in_stub): New function. + (hppaelf_add_stub_section): New function. + (hppaelf_finish): Do nothing for relocateable links. Modify the + call to elf32_hppa_size_stubs. Move code for updating section + layout from here... + (hppaelf_layaout_sections_again): ..to here, a new function. + + * emultempl/hppaelf.em (hppaelf_delete_padding_statements): Fix + broken list handling. Pass in a pointer to the list. + (hppaelf_finish): Update call to hppaelf_delete_padding_statements + for above changes. + (hppaelf_before_parse): Prototype. + (hppaelf_set_output_arch): Prototype. + (hppaelf_create_output_section_statements): Prototype. + (hppaelf_delete_padding_statements): Prototype. + (hppaelf_finish): Prototype. + + Merge from elf32.em + * emultempl/hppaelf.em: Include ctype.h. + (struct orphan_save): New. + (gld${EMULATION_NAME}_place_orphan): New. + (output_rel_find): New. + (hppaelf_get_script): Update from elf32.em. + (ld_hppaelf_emulation): Rename to ld_${EMULATION_NAME}_emulation. + Change emulation_name field to "${EMULATION_NAME}". Add + gld${EMULATION_NAME}_place_orphan. + + * Makefile.am (ALL_EMULATIONS): Reinstate ehppaelf.o, add + ehppalinux.o, sort it. Regenerate dependencies. + (ehppalinux.c): Depend on hppaelf.em + * Makefile.in: Regenerate. + + * configure.tgt: targ_emul=hppalinux for hppa*linux + + * emulparams/hppalinux.sh: New. + * emulparams/hppaelf.sh (TARGET_PAGE_SIZE): Write in hex. + +2000-07-08 Alan Modra <alan@linuxcare.com.au> + + * lexsup.c (parse_args): Copy section name. + +2000-07-07 Charles Wilson <cwilson@ece.gatech.edu> + + * emultempl/pe.em: institute the following search order for + dynamic libraries on pei386: libfoo.dll.a, foo.dll.a (import + libs), libfoo.dll, foo.dll (link direct to dll). Fall back to + static lib (libfoo.a) if none of the above are found. + +2000-07-07 Mumit Khan <khan@xraylith.wisc.edu> + + * emultempl/pe.em (pe_enable_auto_image_base): New variable. + (longopts): New --{enable,disable}-auto-image-base options. + (gld_${EMULATION_NAME}_list_options): Document. + (gld_${EMULATION_NAME}_parse): Handle. + (strhash): New static function. + (compute_dll_image_base): New static function. + (gld_${EMULATION_NAME}_set_symbols): Use. + +2000-07-05 DJ Delorie <dj@redhat.com> + + * MAINTAINERS: new + +2000-07-01 Koundinya K <kk@ddeorg.soft.net> + + * configure.tgt: Add traditional mips (mips*-*-sysv4*) target. + * emulparams/elf32btsmip.sh: New file. + * Makefile.am: Add traditional mips target. + * Makefile.in: Rebuild. + +2000-07-01 H.J. Lu <hjl@gnu.org> + + * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for + automake to use YLWRAP. + * Makefile.in: Rebuild. + +2000-07-01 Alan Modra <alan@linuxcare.com.au> + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-30 Timothy Wall <twall@ppc> + + * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode + the page in the upper octet of the address. + +2000-06-26 Marek Michalkiewicz <marekm@linux.org.pl> + + * emulparams/avrmega161.sh (ARCH): Change to avr:5. + +2000-06-24 Alan Modra <alan@linuxcare.com.au> + + * NEWS: arm-elf does --gc-sections too. + +2000-06-22 Alan Modra <alan@linuxcare.com.au> + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-21 H.J. Lu <hjl@gnu.org> + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 H.J. Lu <hjl@gnu.org> + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 Timothy Wall <twall@cygnus.com> + + * scripttempl/tic54xcoff.sc: New. + * ldlang.c (wild_doit): Propagate SEC_BLOCK flag. + * gen-doc.texi: Add flag for TI COFF. + * ld.texinfo: Add documentation for TI COFF handling switches. + * emultempl/ticoff.em: New. TI COFF handling. + * configure.tgt: Add tic54x target. + * Makefile.am: Add tic54x target. + * Makefile.in: Ditto. + +2000-06-20 Alan Modra <alan@linuxcare.com.au> + + * ldmain.c (set_scripts_dir): Correct pointer comparison when + checking for backslashes. + +2000-06-19 Alan Modra <alan@linuxcare.com.au> + + * NEWS: Move entries not in 2.10 above "Changes in version 2.10". + +2000-06-18 Alan Modra <alan@linuxcare.com.au> + + * NEWS: Update list of targets supporting --gc-sections. + + * scripttempl/elf.sc: KEEP .eh_frame contents. + * scripttempl/elfd30v.sc: Same here. + +2000-06-18 Stephane Carrez <stcarrez@worldnet.fr> + + * Makefile.am (ALL_EMULATIONS): Added new emulation for m68hc12 + and m68hc11 (elf). + * Makefile.in: Rebuild. + * configure.tgt: Recognize m68hc12 and m68hc11. + * scripttempl/elfm68hc12.sc: New file. + * emulparams/m68hc12elfb: New emulation. + * emulparams/m68hc12elf: New emulation. + * emulparams/m68hc11elfb.sh: New file. User configurable emulation + (includes a memory.x script to define the ROM and RAM banks). + * scripttempl/elfm68hc11.sc, emulparams/m68hc11elf.sh: + New configuration files for support of Motorola 68hc11 + +2000-06-15 Alan Modra <alan@linuxcare.com.au> + + * ldmain.c (main): Only change SEC_READONLY for final link. + +2000-06-13 H.J. Lu <hjl@gnu.org> + + * configure: Regenerate. + +2000-06-08 David O'Brien <obrien@FreeBSD.org> + + * configure.in (VERSION): Update to show this is the CVS mainline. + +2000-06-07 Michael Sokolov <msokolov@ivan.Harhan.ORG> + + * emultempl/mipsecoff.em (gld{EMULATION_NAME}_after_open): Require all + input objects to be ECOFF. + (check_sections): einfo takes %B, not %P, to print a BFD name. + +2000-06-05 Michael Matz <matz@ifh.de> + + * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in + version scripts. + + * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. + +2000-05-23 Marek Michalkiewicz <marekm@linux.org.pl> + + * emulparams/avr1200.sh (STACK): Define as 0. + * emulparams/avr23xx.sh (STACK): Define as last internal SRAM address. + * emulparams/avr4433.sh (STACK): Likewise. + * emulparams/avr44x4.sh (STACK): Likewise. + * emulparams/avr85xx.sh (STACK): Likewise. + * emulparams/avrmega103.sh (STACK): Likewise. + * emulparams/avrmega161.sh (STACK): Likewise. + * emulparams/avrmega603.sh (STACK): Likewise. + * scripttempl/elf32avr.sc (__data_start): Define for gcrt1. + (__stack): Define from ${STACK} for main(). + +2000-05-26 Alan Modra <alan@linuxcare.com.au> + + * Makefile.am: Update dependencies with "make dep-am" + * Makefile.in: Regenerate. + +2000-05-26 Eli Zaretskii <eliz@is.elta.co.il> + + * ldmain.c: Include filenames.h. + (set_scripts_dir): Support backslashes in program name. + +2000-05-22 Igor Shevlyakov <igor@windriver.com> + + * ldmain.c (main): When deciding if ".text" section should be + read-only, don't forget to reset SEC_READONLY because it + could be already set. + +2000-05-22 Thomas de Lellis <tdel@windriver.com> + + * ld.1: Add documentation for new command line option: + --section-start <sectionname>=<sectionorg> + This is a generic version of -Ttext etc. which accepts + any section name as a parameter instead of just text/data/ + bss. + * ld.texinfo: More docs. + * NEWS: More docs. + * lexsup.c: (parse_args): Recognize new command line option. + (ld_options): Add new option. + +2000-05-18 H.J. Lu <hjl@gnu.org> + + * lexsup.c (parse_args): `i' == `r', not `q'. + +2000-05-18 Jeffrey A Law (law@cygnus.com) + + * configure.tgt (hppa*64*-*-*): Enable PA64 target. + +2000-05-17 S. Bharadwaj Yadavalli <sby@scrugs.lkg.dec.com> + Rick Gorton <gorton@scrugs.lkg.dec.com> + + Add support for '-q' == '--emit-relocs' switch. + * ldmain.c (main): Default to false. + * lexsup.c (parse_args): Turn on emitrelocations flag if set. + * NEWS: Describe the emitrelocations switch. + * ld.texinfo: Describe the emitrelocations switch. + +2000-05-16 Charles Wilson <cwilson@ece.gatech.edu> + + * emultempl/pe.em (_open_dynamic_archive): New function: Search + the library path for "foo.dll" and "libfoo.dll" dynamic libraries + before searching for 'libfoo.a' in response to a '-Bdynamic -lfoo' + link options. + +2000-05-15 David O'Brien <obrien@FreeBSD.org> + + * lexsup.c (parse_args): Update the year in the copyright notice. + +2000-05-13 Alan Modra <alan@linuxcare.com.au> + + * ld.h (gettext, dgettext, dcgettext, textdomain, bindtextdomain): + Replace defines with those from intl/libgettext.h to quieten gcc + warnings. + +2000-05-10 H.J. Lu <hjl@gnu.org> + + * ldlang.c (open_input_bfds): Don't load the same file within + a group again if the whole archive has been loaded already. + +2000-05-03 Alan Modra <alan@linuxcare.com.au> + + From Ulf Carlsson <ulfc@engr.sgi.com> and Andreas Jaeger <aj@suse.de> + * lexsup.c (set_section_start): Use bfd_scan_vma rather than + strtoul. + +2000-05-01 Jim Wilson <wilson@cygnus.com> + + * configure.host (ia64-*-linux-gnu*): Change gcc to ${CC}. + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "ia64-*-linux-gnu*". + +2000-04-29 Andreas Jaeger <aj@suse.de> + + * ld.h: Correctly check GCC version. + +2000-04-25 Jeffrey A Law (law@cygnus.com) + + * Makefile.am: Add PA64 support. Add missing dependencies for + PA32 elf support. + * Makefile.in: Rebuilt. + * configure.tgt: Add PA64 support (currently disabled). + +2000-04-25 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_section): Delete. + (output_rel_find): New function. + (hold_section, hold_use): Delete. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make local to place_orphan. + (gld${EMULATION_NAME}_place_orphan): Use lang_output_section_find + rather than place_section to find possible previous use of orphan. + Similarly find the place-holder output sections. Use returned + value from lang_enter_output_section_statement rather than calling + lang_output_section_statement_lookup. + * emultempl/armelf.em: Same here. + * emultempl/pe.em: Similar to above, but no need for output_rel_find. + + * ldlang.c (lang_enter_output_section_statement): Return output + section statement. + * ldlang.h (lang_enter_output_section_statement): Change + declaration too. + + * ldlang.h (lang_output_section_statement): Export it. + * ldlang.c (lang_output_section_statement): Ditto. + +2000-04-24 Nick Clifton <nickc@cygnus.com> + + * ld.texinfo (Output Section Data): Add note that section data + commands cannot appear outside of section directives. + +2000-04-2 Matthew Green <mrg@cygnus.com> + + * configure.tgt: Add NetBSD/sparc ELF, and NetBSD/sparc64 support. + +2000-04-21 Richard Henderson <rth@cygnus.com> + David Mosberger <davidm@hpl.hp.com> + + * Makefile.am (ALL_64_EMULATIONS): Add eelf64_ia64.o. + (eelf64_ia64.c): New rule. + * Makefile.in: Rebuild. + * configure.tgt (ia64-*-elf*, ia64-*-linux*): New targets. + * emulparams/elf64_ia64.sh: New file. + +2000-04-21 Richard Henderson <rth@cygnus.com> + + * scripttempl/elfd30v.sc: Place .gcc_except_table. + +2000-04-19 Alan Modra <alan@linuxcare.com.au> + + * dep-in.sed: Match space at start of file name, not at end. + +2000-04-18 H.J. Lu <hjl@gnu.org> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call + lang_leave_output_section_statement () after calling + lang_enter_output_section_statement (). + * emultempl/armelf.em: Likewise. + +2000-04-18 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (struct orphan_save): Add section field. + (gld${EMULATION_NAME}_place_orphan): Use above to keep sections in + better order, and place first orphan section as we did before the + 2000-04-12 patch. Ignore ~SEC_ALLOC sections when choosing place. + Don't call make_bfd_section here, let wild_doit do the job for us. + Don't build a statement list when we'll only throw it away. + * emultempl/armelf.em: Ditto. + * emultempl/pe.em: Similarly. + +2000-04-14 Geoff Keating <geoffk@cygnus.com> + + * scripttempl/elfppc.sc: Remove. + * emulparams/elf32ppc.sh: Use elf.sc. + * emulparams/elf32lppc.sh: Use elf.sc. + * emulparams/elf32ppclinux.sh: Use elf.sc. + * emulparams/elf32ppcsim.sh: New file. + * emulparams/elf32lppcsim.sh: New file. + * Makefile.am: Update dependencies. Add elf32ppcsim ad elf32lppcsim. + (ALL_EMULATIONS): Add elf32ppcsim ad elf32lppcsim. + * Makefile.in: Regenerate. + * configure.tgt (powerpc-*): Add elf32ppcsim and elf32lppcsim. + +2000-04-14 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Process + ~SEC_ALLOC sections too. Init start address of debug sections. + * emultempl/armelf.em (gld${EMULATION_NAME}_place_orphan): Ditto. + * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Ditto. + Also set all relocateable section start addresses. + +2000-04-13 Geoff Keating <geoffk@cygnus.com> + + * scripttempl/elf.sc: Add support for .sbss2 and .sdata2 sections. + Add new BSS_PLT variable for when .plt need not be contained in + the file. Move _etext so that it is also after .fini, and provide + both etext and _etext with a leading underscore. Mark the start + and end of .sbss. + +2000-04-12 Alan Modra <alan@linuxcare.com.au> + + * emultempl/elf32.em (struct orphan_save): New. + (hold_text, hold_rodata, hold_data, hold_bss, hold_rel, + hold_interp): Make them struct orphan_save. + (gld${EMULATION_NAME}_place_section): Modify for new hold_*. + (gld${EMULATION_NAME}_place_orphan): Add new orphan sections to + the end of the relevant section list. Also add associated section + statements to the end of any previous orphan statements. + * emultempl/armelf.em: Similarly. + * emultempl/pe.em: Similarly. + +2000-04-11 Alan Modra <alan@linuxcare.com.au> + + * ld.texinfo (Simple Example): Remove extraneous paragraph. + +2000-04-07 Andrew Cagney <cagney@b1.cygnus.com> + + * configure.in (WARN_CFLAGS): Set to -W -Wall by default. Add + --enable-build-warnings option. + * Makefile.am (AM_CFLAGS, WARN_CFLAGS): Add definitions. + * Makefile.in, configure: Re-generate. + +2000-04-04 Alan Modra <alan@linuxcare.com.au> + + * po/ld.pot: Regenerate. + + * lexsup.c (help): Restore translated part of bug string. + + * Makefile.am (MKDEP): Use gcc -MM rather than mkdep. + (DEP): Quote when passing vars to sub-make. Add warning message + to end. + (DEP1): Rewrite for "gcc -MM". + (CLEANFILES): Add DEP2. + Update dependencies. + * Makefile.in: Regenerate. + +2000-04-03 Alan Modra <alan@linuxcare.com.au> + + * ld.h: #include "bin-bugs.h" + * lexsup.c (help): Use REPORT_BUGS_TO. + +2000-03-27 Denis Chertykov <denisc@overta.ru> + + * configure.tgt (avr-*-*): New target support. + * Makefile.am: Likewise. + * scripttempl/elf32avr.sc: New script file. + * emulparams/avr1200.sh: New file. + * emulparams/avr23xx.sh: New file. + * emulparams/avr4433.sh New file. + * emulparams/avr44x4.sh New file. + * emulparams/avr85xx.sh New file. + * emulparams/avrmega103.sh New file. + * emulparams/avrmega161.sh New file. + * emulparams/avrmega603.sh New file. + * Makefile.in: Regenerate. + +2000-03-09 Andreas Jaeger <aj@suse.de> + + * Makefile.am (check-DEJAGNU): Also unset LANG. + * Makefile.in: Rebuild. + +2000-03-06 Ian Lance Taylor <ian@zembu.com> + + * ldfile.c (ldfile_try_open_bfd): Don't crash if we see an empty + archive. + +2000-03-02 H.J. Lu <hjl@gnu.org> + + * emulparams/elf32mcore.sh: Include "getopt.h". + +2000-03-01 Ian Lance Taylor <ian@zembu.com> + + * configure.tgt: Remove *-*-aout, *-*-coff, and *-*-netware. + +2000-03-01 H.J. Lu <hjl@gnu.org> + + * emulparams/mipspe.sh: Add SUBSYSTEM and INITIAL_SYMBOL_CHAR. + * emulparams/shpe.sh: Likewise. + +2000-03-01 Nick Clifton <nickc@cygnus.com> + + * pe-dll.c: Remove unused variables and add ATTRIBUTE_UNUSED + to unused parameters. + + * emultempl/pe.em: Add "#ifdef DLL_SUPPORT" around static + functions only used by DLL code. + (_place_orphan): Initialise 'dollar'. + +2000-03-01 H.J. Lu <hjl@gnu.org> + + * ldmain.c (undefined_symbol): Take one more arg, fatal, to + indicate if the undefined symbol is a fatal error or not. + Don't delete the output file if "fatal" is false. + +2000-02-29 H.J. Lu <hjl@gnu.org> + + * Makefile.am (check-DEJAGNU): Also pass LIBS="$(LIBS)". + Set LC_COLLATE and LC_ALL to null and export them. It is for + sort which expects the C locale. + Add $(LIBS) to all $(HOSTING_LIBS). + * Makefile.in: Rebuild. + +2000-02-29 Alan Modra <alan@spri.levels.unisa.edu.au> + + * emultempl/{aix.em, armcoff.em, armelf.em, armelf_oabi.em, + beos.em, elf32.em, generic.em, gld960.em, gld960c.em, hppaelf.em, + linux.em, lnk960.em, mipsecoff.em, sunos.em, vanilla.em} + (ld_emulation_xfer_struct): Add missing NULL initialiser for + find_potential_libraries. + +2000-02-28 Jim Blandy <jimb@redhat.com> + + * ldgram.y (exclude_name_list): Don't require a comma to separate + list entries; the lexer considers commas to be valid part of a + filename, so in something like `foo, bar' the comma is considered + part of the first filename, `foo,'. + * ld.texinfo: Update section on EXCLUDE_FILE lists. + +2000-02-27 Loren J. Rittle <ljrittle@acm.org> + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "i[3456]86-*-freebsdelf*". + +2000-02-27 Mark Elbrecht <snowball3@bigfoot.com> + + * scripttempl/i386go32.sc: Move misplaced semicolons. + +2000-02-25 Ian Lance Taylor <ian@zembu.com> + + * Makefile.am (ALL_EMULATIONS): Remove ehppaelf.o. + (ALL_64_EMULATIONS): Remove eelf64hppa.o. + (eelf64hppa.c, ehppaelf.c): Remove targets. + * Makefile.in: Rebuild. + +2000-02-25 Alexandre Oliva <oliva@lsd.ic.unicamp.br> + + * configure.tgt (targ_extra_ofiles): Enable elf64_sparc on + GNU/Linux/sparc, but keep the default as 32. + + * configure.tgt: Enable elf64_sparc on Solaris7+/sparc. And make + it default if sparcv9 or sparc64. + +2000-02-24 Nick Clifton <nickc@cygnus.com> + + * Makefile.am: Add rules to build emipspe.o and earmpe.o. + * Makefile.in: Regenerate. + * configure.tgt: Add targets for arm-wince, sh-pe and mips-pe. + + * ldemul.h (ld_emulation_xfer_struct): Add new field: + find_potential_libraries. + * ldemul.c (ldemul_find_potential_libraries): New function. + + * ldfile.c (ldfile_open_file_search): Allow function to be + exported. + (ldfile_open_file): Call ldemul_find_potential_libraries. + * ldfile.h: Add prototype for ldfile_open_file_search. + + * pe-dll.c: Add support for ARM, MIPS and SH targets. + + * emulparams/mipspe.sh: New file. Parameters for mips-pe target. + * emulparams/shpe.sh: New file. Parameters for sh-pe target. + + * emultempl/pe.em: Add support for ARM, MIPS and SH DLLs. + (gld_X_find_potential_libraries): New function. Search for + libraries called "*.lib". + + * scripttempl/pe.sc: Add .pdata section. + +2000-02-23 Richard Henderson <rth@cygnus.com> + + * scripttempl/elfd10v.sc: Remove dynamic linking hooks. + Add and use memory regions. + +2000-02-23 Linas Vepstas (linas@linas.org) + + * emulparams/elf32i370.sh, scripttempl/elfi370.sc: New. + + * Makefile.am: Add support for Linux/IBM 370. + * configure.tgt: Likewise. + + * Makefile.in: Regenerate. + +2000-02-21 Alan Modra <alan@spri.levels.unisa.edu.au> + + * ldlang.c (print_input_section, print_data_statement, + print_reloc_statement, print_padding_statement, insert_pad, + size_input_section, lang_check_section_addresses, + lang_size_sections, lang_do_assignments, lang_set_startof, + lang_one_common): Change `opb' to unsigned. + (lang_do_assignments): Also change `size' to unsigned. + +2000-02-16 Richard Henderson <rth@cygnus.com> + + * scripttempl/elf.sc: Place OTHER_PLT_RELOC_SECTION. + +2000-02-16 Timothy Wall <twall@cygnus.com> + + * mri.c (mri_draw_tree): Add default LMA region argument to call + to lang_leave_output_section_statement. + * ldlang.h: Update prototypes with LMA region arguments. + * ldlang.c (lang_size_sections): Encapsulate region bounds + checking in os_check_region call. + (os_check_region): New function. + (lang_output_section_statement_lookup): Initialize lma_region. + (lang_leave_output_section_statement): Add LMA region argument. + (lang_leave_overlay): Ditto. + * ldgram.y: Handle LMA region syntax. + * ld.texinfo (Output Section Description): Describe LMA region usage. + * emultempl/armelf.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/elf32.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + * emultempl/pe.em (gld$place_orphan): Add default value for + lma region in call to lang_leave_output_section_statement. + + +2000-02-04 Timothy Wall <twall@redhat.com> + + * ldlang.c (lang_check_section_addresses): Use bytes instead of + octets when calculating section end addresses. + +2000-02-04 Timothy Wall <twall@redhat.com> + + * ldlang.c (lang_size_sections): Fix typo in ALIGN_N invocation. + +2000-02-03 Timothy Wall <twall@redhat.com> + + * ldexp.c (fold_name): Make SIZEOF operator return byte count, not + octet count. + * ldlang.c (print_input_section, print_data_statement, + print_reloc_statement, print_padding_statement): Print target + address values and section sizes as bytes, not octets. + (insert_pad) Calculate padding size in octets, and adjust "dot" + by bytes. + (size_input_section) Always adjust "dot" by bytes, not octets. + (lang_check_section_addresses, lang_do_assignments) Adjust + "dot" by bytes, not octets. Use the larger of the directive size + or octets_per_byte for the number of octets actually allocated in + the output section. + (lang_set_startof) Make sure STARTOF returns a target address. + (lang_one_common) Record size changes in octets. + (lang_abs_symbol_at_end_of) Section end symbol's value is + recorded in target bytes. + * ld.texinfo: Updated description of BYTE, SHORT, LONG, etc. + to be clear about behavior when an octet is smaller than one byte. + +2000-01-27 Alan Modra <alan@spri.levels.unisa.edu.au> + + * ldcref.c (output_cref): Don't pass message strings to printf + as format arg. + Update copyright. + + * ldmisc.c (vfinfo): Same here. + Update copyright. + +2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> + + * emultempl/{armcoff.em,armelf.em,armelf_oabi.em,beos.em, + generic.em,gld960.em,gld960c.em,hppaelf.em,linux.em,lnk960.em, + mipsecoff.em,sunos.em,vanilla.em} (ld_emulation_xfer_struct): + Add missing NULL initialisers, and comments. + +2000-01-21 Nick Clifton <nickc@cygnus.com> + + * ldlang.c (lang_size_sections): Fix typo in comment. + +2000-01-18 H.J. Lu <hjl@gnu.org> + + * ldlang.c (lang_size_sections): Also update the current + address of a region if the SEC_NEVER_LOAD bit is not set. + +2000-01-10 Philip Blundell <pb@futuretv.com> + + * configure.tgt (arm*-*-conix*): New target. + +2000-01-07 Nick Clifton <nickc@cygnus.com> + + * ld.texinfo (Options): Remind users to preceed linker command + line switches with -Wl, (or whatever is appropriate) if it is + being invoked by a comnpiler driver program. + Fix description of the behaviour of the -n command line switch. + +2000-01-05 Catherine Moore <clm@cygnus.com> + + * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. + (name_list): New. + * ld.texinfo (EXCLUDE_FILE): Update documentation. + * ldgram.y (wildcard_spec): Support a list of excluded_files. + (exclude_name_list): New. + ldlang.c (walk_wild_section): Support list of excluded files. + (print_wild_statement): Likewise. + (lang_add_wild): Likewise. + * ldlang.h (lang_wild_statement_type): Likewise. + * scripttempl/elf.sc (OTHER_EXCLUDE_FILES): Support. + +2000-01-04 Mumit Khan <khan@xraylith.wisc.edu> + + * pe-dll.c (pe_dll_warn_dup_exports): New variable. + (process_def_file): Use. + (pe_dll_compat_implib): New variable. + (make_one): Use. + + * pe-dll.h: Add exports of pe_dll_warn_dup_exports and + pe_dll_compat_implib. + + * emultempl/pe.em (longopts): Add warn-duplicate-exports and + compat-implib options. + (gld_${EMULATION_NAME}_list_options): List new options. + (gld_${EMULATION_NAME}_parse_args): Handle. + + * pe-dll.c (pe_dll_generate_implib): Use the correct name for output + dll. + + * deffilep.y (opt_name): Allow "." in name. + +For older changes see ChangeLog-9899 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/ChangeLog-0203 b/ld/ChangeLog-0203 new file mode 100644 index 0000000..af12db7 --- /dev/null +++ b/ld/ChangeLog-0203 @@ -0,0 +1,1645 @@ +2003-12-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> + + Add m32r-linux and PIC support. Add new ABI that uses RELA. + * Makefile.am: Added em32rlelf.c, em32relf_linux.c, + em32rlelf_linux.c. + * Makefile.in: Regenerate. + * configure.tgt (m32r*-*-linux*, m32r*le-*-linux*, m32r*le-*-*):Added. + * emulparams/m32relf_linux.sh: Added. + * emulparams/m32rlelf.sh: Ditto. + * emulparams/m32rlelf_linux.sh: Ditto. + * NEWS: Mention support m32r Linux. + +2003-12-18 Eric Youngdale <eric@mkssoftware.com> + Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em (_after_open): When scanning MS import + libraries allow for the possible presence of static objects. + +2003-12-07 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to + cplus_demangle. + +2003-12-07 Kazu Hirata <kazu@cs.umass.edu> + + * ldemul.c: Convert to ISO-C. + * ldver.c: Likewise. + +2003-12-06 Kazu Hirata <kazu@cs.umass.edu> + + * lexsup.c (is_num): Remove. + +2003-12-05 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> + + * pe-dll.c (generate_reloc): Remap ARM_26D relocation from 5 to + 0. This fixes "bad fixup" error generated by MS linker. + +2003-12-04 H.J. Lu <hongjiu.lu@intel.com> + + * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set + link_info.need_relax_finalize to TRUE. + + * ldlang.c (lang_process): Use link_info.need_relax_finalize + instead of link_info.relax_finalizing. + * ldmain.c (main): Likewise. + +2003-12-04 Dmitry Semyonov <Dmitry.Semyonov@oktet.ru> + + * armpe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define. + +2003-12-04 Alan Modra <amodra@bigpond.net.au> + + * ldlang.c (lang_do_assignments): Function return is void. + * ldlang.h (lang_do_assignments): Ditto. + * emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare. + * Makefile.am (ens32knbsd.c): Depend on netbsd.em. + * Makefile.in: Regenerate. + +2003-12-03 Dave Airlie <airlied@linux.ie> + + * configure.tgt: Add vax-linux-gnu target. + +2003-12-03 Dmitry Diky <diwil@mail.ru> + + * scripttempl/elf32msp430.sc (HEAP_SECTION_MSP430): New section for + forthcoming devices. + (_etext): provide this defenition for all scripts. + +2003-12-02 Kazu Hirata <kazu@cs.umass.edu> + + * emultempl/beos.em: Remove ARGSUSED. + +2003-12-03 Alan Modra <amodra@bigpond.net.au> + + * emultempl/pe.em (pe_fixup_stdcalls): Update for renamed + bfd_link_hash_entry field "next" -> "und_next". + (pe_find_data_imports): Likewise. + (gld_${EMULATION_NAME}_after_open): Likewise. + * emultempl/sunos.em (before_allocation): Likewise. + +2003-12-02 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Options): --ignore-all is no longer the default + behaviour for shared libraries and dynamic executables. + +2003-12-02 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-12-02 Alan Modra <amodra@bigpond.net.au> + + * ldmain.c (main): Remove mpc860c0 code. + * lexsup.c (enum option_values): Delete OPTION_MPC860C0. + (ld_options): Delete mpc860c0 entry. + (parse_args): Likewise. + +2003-12-01 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Test + hash table type rather than testing creator flavour. + * emultempl/hppaelf.em (hppaelf_create_output_section_statements): + Only create stub_file bfd if hash table creator is as expected. + (gld${EMULATION_NAME}_finish): Test stub_file. + +2003-11-28 Marcel Moolenaar <marcel@xcllnt.net> + + * emulparams/elf64_ia64_fbsd.sh (TEXT_START_ADDR): Define. + (DATA_ADDR): Unset. + +2003-11-18 James E Wilson <wilson@specifixinc.com> + + * ldlang.c (lang_process): Move lang_reset_memory_regions call after + lang_do_assignments call. + + * emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include + .rela.opd if -pie. + +2003-11-10 Jonathan Wilson <jonwil@tpgi.com.au> + + * scripttempl/pe.sc: Add support for TLS sections. + +2003-11-09 Alan Modra <amodra@bigpond.net.au> + + * configure.host (HOSTING_LIBS): Group libgcc and libc with + --start-group, --end-group pair. + (*-*-netbsd*, am33_2.0-*-linux*): Use the default HOSTING_LIBS. + (am33_2.0-*-linux*): Edit default HOSTING_CRT0. + (arm*-*-linux-gnu*): Remove extraneous '*' in sed expression. + (hppa*64*-*-linux*, hppa*-*-linux*): Remove target specific case. + +2003-11-07 Jonathan R. Grant <jg-binutils@jguk.org> + + * ldfile.c (ldfile_open_file): Use "No such file" error message. + +2003-11-06 Bruno Rohee <bruno@rohee.com> + + * ls.texinfo: Fix "the the" typo. + +2003-11-05 Alan Modra <amodra@bigpond.net.au> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Only do + pe_dll_extra_pe_debug stuff when DLL_SUPPORT defined. + (pr_sym): Move inside #ifdef DLL_SUPPORT. + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Zap + unused variable. + + * emulparams/elf32_i860.sh (TEXT_START_ADDR): Define. + +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 + triplet. + * configure.tgt: Likewise. + +2003-08-29 Jafa <jafa@silicondust.com> + + * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. + +2003-08-21 Nick Clifton <nickc@redhat.com> + + * po/tr.po: Updated Turkish translation. + +2003-08-20 Nick Clifton <nickc@redhat.com> + + * ldmain.c: Initialise the new fields in bfd_link_info to + NOT_YET_SET. + * lexsup.c (enum option_values): New enum. Use this to + replace the hand coded values for the long switch options. + (ld_options): Add 'unresolved-symbols', + 'warn-unresolved-symbols' and 'error-unresolved-symbols'. + (parse_args): Handle the new switches. Set the values of + unresolved_symbols_in_objects and + unresolved_symbols_in_shared_libs appropriately. If they were + not initialised by the command line, install default values. + * emultempl/elf32.em (handle_option): Update OPTION_GROUP and + -z defs to use the new fields in bfd_link_info. + * ld.texinfo: Document the new switches. + * NEWS: Mention this feature. + +2003-08-15 Dmitry Diky <diwil@mail.ru> + + * Makefile.am (GENSCRIPTS_EXTRA): New script definition which + calls genscripts_extra.sh. + Rearrange all msp430 depends using this script. + * Makefile.in: Regenerate. + * genscripts_extra.sh: New file: Similar to genscripts.sh, except + that the script to be run to generate the emulations can be passed + as an optional parameter instead of being computed from the + emulation name. + * emulparams/msp430all.sh: New file: Combine all msp430 subdevice + definitions into one file. + * emulparams/msp430x*.sh: Removed. + +2003-08-15 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Options): Put keywords for the -z option into a + table. Add more text describing what the -z now option does. + +2003-08-14 Alan Modra <amodra@bigpond.net.au> + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + * Makefile.in: Regenerate. + +2003-08-13 Alan Modra <amodra@bigpond.net.au> + + * genscripts.sh (libpath.exp): Only generate for first emulation. + (LIB_PATH): Correct order of paths. Don't add $tool_lib when + already present or when LIB_PATH is set to ":". + +2003-08-12 Ian Lance Taylor <ian@airs.com> + + * ldmain.c (undefined_symbol): Change parameter name from `fatal' + to `error'. If only a warning, put warning in the reported + string. Consistently set failure flag when not a warning. + +2003-08-08 Dmitry Diky <diwil@mail.ru> + + * Makefile.am: Add xW42 and xE42 parts. Sort MPU list according to + gcc order. + * Makefile.in: Regenerate. + * configure.tgt: Add extra emulations. + * emulparams/msp430xE423.sh: New file. + * emulparams/msp430xE427.sh: New file. + * emulparams/msp430xW425.sh: New file. + * emulparams/msp430xE425.sh: New file. + * emulparams/msp430xW423.sh: New file. + * emulparams/msp430xW427.sh: New file. + +2003-08-07 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): + Change second (cmdline) arg to lang_add_entry to FALSE. + (set_pe_subsystem): Change second arg to lang_add_entry to TRUE. + +2003-08-05 Christian Groessler <chris@groessler.org> + Jason Eckhardt <jle@rice.edu> + + * configure.tgt: Recognize new target i860-*-coff. + * Makefile.am (ALL_EMULATIONS): Add ecoff_i860.o. + (ecoff_i860.c): New rule. + * emulparams/coff_i860.sh: New file. + * scripttempl/i860coff.sc: New file. + * Makefile.in: Regenerate. + +2003-08-04 Nick Clifton <nickc@redhat.com> + + * emultempl/elf32.em (before_allocation): Prepend "warning: " + to messages produced for .gnu.warning.SYMBOL sections. + +2003-08-04 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (output_rel_find): Add "isdyn" param. Put + .rel.dyn before other reloc sections. Don't stop looking for reloc + sections on finding one that isn't allocated. Match .rel even when + placing .rela and vice versa, when setting last_rel and + last_rel_alloc for the first time. If no reloc sections in script, + prefer allocated section over non-alloc. + (gld${EMULATION_NAME}_place_orphan): Handle orphan .rel.dyn. + +2003-07-29 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emulparams/shelf.sh (OTHER_SECTIONS): Don't include .stack + section for shared library. + * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. + * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. + +2003-07-29 Stephane Carrez <stcarrez@nerim.fr> + + * scripttempl/elfm68hc12.sc: Add gcc_except_table. + * scripttempl/elfm68hc11.sc: Likewise. + +2003-07-28 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64ppc.sh (GOT): Fix for shell brace matching. + + * emulparams/elf64ppc.sh (GOT): Don't merge .toc into .got for ld -r. + +2003-07-27 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Typo fixes. Document SUBALIGN. + * ldgram.y (opt_subalign): Add. + * ldlex.l (SUBALIGN): Recognize. + * ldlang.c (overlay_subalign): New var. + (lang_enter_overlay): Add subalign param. + (lang_enter_overlay_section): Pass overlay_subalign to + lang_enter_output_section_statement. + * ldlang.h (lang_enter_overlay): Update. + +2003-07-24 Nick Clifton <nickc@redhat.com> + + * po/fr.po: Updated French translation. + +2003-07-23 Stephane Carrez <stcarrez@nerim.fr> + + * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into + account .tramp sections; + * scripttempl/elfm68hc12.sc: Likewise. + +2003-07-17 Charles Wilson <cwilson@ece.gatech.edu> + + * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] + +2003-07-17 Nick Clifton <nickc@redhat.com> + + * po/es.po: New Spanish translation. + +2003-07-11 Alan Modra <amodra@bigpond.net.au> + + * po/ld.pot: Regenerate. + +2003-07-10 Bob Wilson <bob.wilson@acm.org> + + * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Replace .xt.lit + with new .got.loc section. + (OTHER_READWRITE_SECTIONS): Do not combine linkonce sections for + non-relocating links. + (OTHER_SECTIONS): Add .xt.lit here. Change it to keep linkonce + sections separate for non-relocating links; likewise for .xt.insn. + +2003-07-10 Alexandre Oliva <aoliva@redhat.com> + + 2001-08-22 Alexandre Oliva <aoliva@redhat.com> + * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. + 2001-05-09 Alexandre Oliva <aoliva@redhat.com> + * configure.host (am33_2.0-*-linux*): Added. + * configure.tgt (am33_2.0-*-linux*): Likewise. + * emulparams/elf32am33lin.sh: New. + * Makefile.am (eelf32am33lin.c): New rule. + * Makefile.in: Rebuilt. + +2003-07-09 Alexandre Oliva <aoliva@redhat.com> + + 2001-04-17 Alexandre Oliva <aoliva@redhat.com> + * emulparams/mn10300.sh (TEMPLATE_NAME): Define. + (GENERATE_SHLIB_SCRIPT): Likewise. + +2003-07-10 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64ppc.sh (OTHER_GOT_SECTIONS): Don't define. + (GOT): Define. + * emultempl/ppc64elf.em (stub_added): New static var. + (ppc_create_output_section_statements): Call ppc64_elf_init_stub_bfd. + (ppc_add_stub_section): Set stub_added. + (gld${EMULATION_NAME}_finish): Look for .got rather than .toc. Adjust + ppc64_elf_size_stubs call and test for stubs. + * scripttempl/elf.sc (GOT): Define and use. + +2003-07-08 J"orn Rennecke <joern.rennecke@superh.com> + + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): + Allow second call from ldemul_finish. + +2003-07-04 J"orn Rennecke <joern.rennecke@superh.com> + + * emulparams/shelf32.sh (STACK_ADDR): Don't define. + (OTHER_SECTIONS): Include .stack. + * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. + +2003-07-02 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include + .opd if -pie. + (OTHER_READWRITE_SECTIONS): Include .opd if -pie. + * scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR + if -pie. + +2003-06-28 Alan Modra <amodra@bigpond.net.au> + + * ld.h: Convert to C90, remove unnecessary prototypes and casts. + Replace PTR with void *. Formatting. + * ldcref.c: Likewise. + * ldctor.c: Likewise. + * ldctor.h: Likewise. + * ldemul.h: Likewise. + * ldexp.c: Likewise. + * ldexp.h: Likewise. + * ldfile.c: Likewise. + * ldfile.h: Likewise. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlex.h: Likewise. + * ldlex.l: Likewise. + * ldmain.c: Likewise. + * ldmain.h: Likewise. + * ldmisc.c: Likewise. + * ldmisc.h: Likewise. + * ldver.h: Likewise. + * ldwrite.c: Likewise. + * ldwrite.h: Likewise. + * lexsup.c: Likewise. + * mri.c: Likewise. + * mri.h: Likewise. + * pe-dll.c: Likewise. + * pe-dll.h: Likewise. + * deffilep.y: Likewise. + * deffile.h: Likewise. Don't include ansidecl.h. + * emulparams/elf32mcore.sh: Remove unnecessary cast. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/ticoff.em: Remove lang_add_output_format declaration. + * sysdep.h: Don't include ansidecl.h. + * Makefile.am: Run "make dep-am". + * Makefile.in: Regenerate. + +2003-06-27 Nick Clifton <nickc@redhat.com> + + * deffilep.y (def_file_add_directive): Cope with NUL seperated + directives. Fix reporting of unparseable directives. + (def_error): Check for a NULL def_filename. + +2003-06-27 Alan Modra <amodra@bigpond.net.au> + + * emultempl/aix.em: Convert to C90, remove unnecessary prototypes + and casts. Replace PTR with void *. Formatting. + * emultempl/alphaelf.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/mmix-elfnmmo.em: Likewise. + * emultempl/mmixelf.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/needrelax.em: Likewise. + * emultempl/netbsd.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/sh64elf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + * Makefile.am: Correct dependencies. + * Makefile.in: Regenerate. + +2003-06-25 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Correct spelling of "relocatable". + * ldctor.c: Likewise. + * ldexp.c: Likewise. + * ldfile.c: Likewise. + * ldint.texinfo: Likewise. + * ldlang.c: Likewise. + * ldmain.c: Likewise. + * ldwrite.c: Likewise. + * lexsup.c: Likewise. + * emultempl/aix.em: Likewise. + * emultempl/alphaelf.em: Likewise. + * emultempl/armcoff.em: Likewise. + * emultempl/armelf_oabi.em: Likewise. + * emultempl/beos.em: Likewise. + * emultempl/elf32.em: Likewise. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68hc1xelf.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/m68kelf.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/mipself.em: Likewise. + * emultempl/mmix-elfnmmo.em: Likewise. + * emultempl/mmo.em: Likewise. + * emultempl/needrelax.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/ppc64elf.em: Likewise. + * emultempl/sh64elf.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/xtensaelf.em: Likewise. + +2003-06-24 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em: Convert to C90. + +2003-06-20 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em: Convert to C90 function definitions, remove + unnecessary prototypes and casts. + +2003-06-19 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out + statistics from ppc64_elf_build_stubs. + +2003-06-19 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (build_section_lists): Check return status + from ppc64_elf_next_input_section. + +2003-06-17 H.J. Lu <hongjiu.lu@intel.com> + + * ldlang.c (section_already_linked): Put back assignment of + kept_section. + +2003-06-17 Rainer Keuchel <rkeuchel@allgeier.com> + + * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D + reloc. + +2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> + + * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 + if not produced by gcc. + +2003-06-16 Hans-Peter Nilsson <hp@axis.com> + + * configure.tgt: Add specific case for cris-*-linux-gnu* + with crislinux emulation only. + +2003-06-13 Robert Millan <zeratul2@wanadoo.es> + + * configure.tgt: Add i386-netbsd-gnu target. + +2003-06-12 Richard Sandiford <rsandifo@redhat.com> + + * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations + to $targ_extra_libpath. + +2003-06-11 H.J. Lu <hongjiu.lu@intel.com> + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-10 Doug Evans <dje@sebabeach.org> + + * Makefile.am (ALL_EMULATIONS): Add em32relf.o. + * Makefile.in: Regenerate. + +2003-06-10 Richard Sandiford <rsandifo@redhat.com> + + * configure.tgt (h8300*): Add h8300sxn emulations. + * Makefile.am (ALL_EMULATIONS): Add eh8300sxn.o and eh8300sxnelf.o. + (eh8300sxn.c, eh8300sxnelf.c): New rules. + * Makefile.in: Regenerate. + * emulparams/h8300sxnelf.sh, emulparams/h8300sxn.sh: New files. + * scripttempl/h8300sxn.sc: New file. + +2003-06-10 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64ppc.sh (EXECUTABLE_SYMBOLS, OTHER_BSS_END_SYMBOLS, + CTOR_START, CTOR_END, DTOR_START, DTOR_END): Don't define. + +2003-06-08 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (emit_stub_syms, toc_section): New vars. + (build_toc_list): New function. + (gld${EMULATION_NAME}_finish): Call build_toc_list and + ppc64_elf_reinit_toc. Adjust ppc64_elf_build_stubs call. + (OPTION_STUBSYMS): Define. + (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms. + (PARSE_AND_LIST_OPTIONS): Document. + (PARSE_AND_LIST_ARGS_CASES): Handle. + +2003-06-05 Roland McGrath <roland@redhat.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove + extra \t in -z noexecstack line. + +2003-05-23 Jakub Jelinek <jakub@redhat.com> + + * ldgram.y (phdr_type): Grok PT_GNU_STACK. + * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Add + -z execstack and -z noexecstack. + (gld${EMULATION_NAME}_list_options): Likewise. + * scripttempl/elf.sc: If not -r, discard .note.GNU-stack section. + +2003-06-03 Michael Snyder <msnyder@redhat.com> + and Bernd Schmidt <bernds@redhat.com> + and Alexandre Oliva <aoliva@redhat.com> + + * Makefile.am: Add new emulations for h8300sx. + * Makefile.in: Regenerate. + * configure.tgt: Add new emulations. + * emulparams/h8300sx.sh: New emulation. + * emulparams/h8300sxelf.sh: Ditto. + * scripttempl/h8300sx.sc: Ditto. + +2003-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * ldmisc.c: Include "bfdlink.h". + (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION + and -LD_DEFINITION_IN_DISCARDED_SECTION. + + * Makefile.am: Rebuild dependency. + * Makefile.in: Regenerated. + +2003-06-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. + +2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> + + * pe-dll.c (fill_edata): Scan table pe_dll->exports, which is + sorted alphabetically, instead of exported_symbols, which is + sorted by ordinal. + +2003-05-30 Ulrich Drepper <drepper@redhat.com> + Jakub Jelinek <jakub@redhat.com> + + * lexsup.c (OPTION_PIE): Define. + (ld_options): Add -pie and --pic-executable options. + (parse_args): Handle OPTION_PIE. + * ldmain.c (main): Initialize link_info.pie and + link_info.executable. + * genscripts.sh: Generate PIE scripts. + * ld.texinfo: Document -pie and --pic-executable options. + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): + (gld${EMULATION_NAME}_place_orphan): Likewise. + (gld${EMULATION_NAME}_get_script): Include PIE scripts. + * scripttempl/elf.sc: In PIE scripts set . the same way as in + shared scripts. + * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/elf64_ia64.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf32ppc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64ppc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_x86_64.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_s390.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf32_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64_sparc.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64alpha.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf64_s390.sh (GENERATE_PIE_SCRIPT): Likewise. + * emulparams/elf_i386.sh (GENERATE_PIE_SCRIPT): Likewise. + +2003-05-30 H.J. Lu <hongjiu.lu@intel.com> + + * genscripts.sh: Create tmpdir/libpath.exp. + +2003-05-30 Nick Clifton <nickc@redhat.com> + + * emultempl/armelf.em (arm_elf_before_allocation): Replace ASSERT + with a test for a NULL bfd_for_interworking. + +2003-05-29 Jason Thorpe <thorpej@wasabisystems.com> + + * configure.host (*-*-netbsd*): Set HOSTING_CRT0 and HOSTING_LIBS + correctly for more recent versions of NetBSD. + (alpha*-*-netbsd*): Remove. + (i[3-7]86-*-netbsd*): Remove. + +2003-05-29 Nick Clifton <nickc@redhat.com> + + * emultempl/pe.em: Include "safe-ctype.h" instead of <ctype.h>. + +2003-05-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl> + + * emulparams/elf64btsmip.sh: Set TEXT_START_ADDR to 0x120000000 to + trap on pointer crops. + +2003-05-21 Marcus Comstedt <marcus@mc.pp.se> + + * configure.tgt: Check for a target triplet of shl-...-netbsdelf + as well as shle-...-netbsdelf. + +2003-05-16 Kelley Cook <kelleycook@wideopenwest.com> + + * configure.host: Accept i[3-7]86 variants. + * configure.tgt: Likewise. + +2003-05-15 H.J. Lu <hongjiu.lu@intel.com> + + * emulparams/elf64_ia64.sh: Don't set COMMONPAGESIZE for now. + +2003-05-09 Daniel Jacobowitz <drow@mvista.com> + + * Makefile.am (ALL_EMULATIONS): Add earmelfb.o and earmelfb_linux.o. + (earmelfb.c, earmelfb_linux.c): New rules. + * Makefile.in: Regenerated. + * emulparams/armelfb.sh, emulparams/armelfb_linux.sh: New files. + * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. + +2003-05-09 Nick Clifton <nickc@redhat.com> + + * ldlang.c (lang_size_sections_1): Default to generating a + fatal error message if a loadable section is not allocated + to a memory region when regions are defined. + +2003-05-09 Alan Modra <amodra@bigpond.net.au> + + * Makefile.am (em68hc11elf.c): Correct dependencies. + (em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise. + * Makefile.in: Regenerate. + * emultempl/elf32.em (find_exp_assignment): Adjust for changed + bfd_elf_record_link_assignment name. + +2003-05-07 Alexandre Oliva <aoliva@redhat.com> + + * ldmain.h (overflow_cutoff_limit): Declare. + * ldmain.c (overflow_cutoff_limit): Define, initialized to 10. + (reloc_overflow): Limit error messages based on it. + * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to + unlimited. + +2003-05-05 Alan Modra <amodra@bigpond.net.au> + + * ldlex.l: Accept C style comments in version scripts. + +2003-04-28 H.J. Lu <hjl@gnu.org> + + * ldlang.c (lang_process): Add the relax finalize pass. + + * ldmain.c (main): Initialize link_info.relax_finalizing to + FALSE. + +2003-04-24 Roland McGrath <roland@redhat.com> + + * ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names. + If a name string is unknown, give an error rather than crashing later. + +2003-04-23 Dhananjay Deshpande <dhananjayd@kpitcummins.com> + + * Makefile.am (ALL_EMULATIONS): Add eh8300hn.o, eh8300sn.o, + eh8300hnelf.o, eh8300snelf.o and respective rules. + * Makefile.in: Regenerate. + * configure.tgt: Add h8300hn, h8300sn, h8300hnelf, h8300snelf + * emulparams/h8300hn.sh: New + * emulparams/h8300sn.sh: New + * emulparams/h8300hnelf.sh: New + * emulparams/h8300snelf.sh: New + * scripttempl/h8300hn.sc: new + * scripttempl/h8300sn.sc: new + +2003-04-23 H.J. Lu <hjl@gnu.org> + + * ldmain.c (link_callbacks): Initialize error_handler. + + * ldmisc.c (error_handler): New function. + + * ldmisc.h (error_handler): New prototype. + +2003-04-21 Stephane Carrez <stcarrez@nerim.fr> + + * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra. + * emulparams/m68hc11elfb.sh: Likewise. + * emulparams/m68hc12elf.sh: Likewise. + * emulparams/m68hc12elfb.sh: Likewise. + +2003-04-19 Stephane Carrez <stcarrez@nerim.fr> + + * emultempl/m68hc1xelf.em: New file to generate far trampolines on + 68HC11 and 68HC12. + (LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to + generate. + (LDEMUL_FINISH): Override to generate the trampolines after gc and + linker relaxation. + (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the + stub file for trampolines. + (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options + --no-trampoline and --bank-window to control the memory bank window. + +2003-04-18 H.J. Lu <hjl@gnu.org> + + * ldfile.c (ldfile_add_library_path): Remove the unused + variable. + +2003-04-18 Andrew Haley <aph@cambridge.redhat.com> + + * scripttempl/xstormy16.sc (__data, __rdata): New. + +2003-04-16 Nick Clifton <nickc@redhat.com> + + * scripttempl/xstormy16.sc: Add .jcr section mapping. + +2003-04-15 H.J. Lu <hjl@gnu.org> + + From Debian by Jack Howarth <howarth@nitro.med.uc.edu>: + + * ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer. + +2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> + + * h8-doc.texi: Replace occurrances of 'Hitachi' with 'Renesas'. + * ld.texinfo: Likewise. + +2003-04-14 Alan Modra <amodra@bigpond.net.au> + + From Prashanth Tamraparni <prashanth_t@in.ibm.com> + * scripttempl/elf.sc (CTOR): Handle crtbeginS.o, crtendS.o and + other variants of crtbegin.o, crtend.o. + (DTOR): Likewise. + * scripttempl/crisaout.sc (ctors, dtors): Likewise. + * scripttempl/elf_chaos.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd10v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfd30v.sc (CTOR, DTOR): Likewise. + * scripttempl/elfxtensa.sc (CTOR, DTOR): Likewise. + * scripttempl/iq2000.sc (CTOR, DTOR): Likewise. + * scripttempl/mmo.sc (ctors, dtors): Likewise. + * scripttempl/xstormy16.sc (CTOR, DTOR): Likewise. + +2003-04-09 Dmitry Diky <diwil@mail.ru> + + * scripttempl/elf32msp430.sc: Add initX, finiX, ctors, dtors + sections to respect C++ constructor/destructor. Add ctors/dtors + start/stop definitions. + * scripttempl/elf32msp430_3.sc: Likewise. + +2003-04-06 Nick Clifton <nickc@redhat.com> + + * ld.texinfo (Options): Add a reminder of the target specific + nature to the description of the i386 PE specific options, for + readers who have not read all the way through the manual. + +2003-04-04 Svein E. Seldal <Svein.Seldal@solidas.com> + + * configure.tgt: Fixed bug in list of targ_extra_emuls. + * emulparams/tic3xcoff.sh (SCRIPT_NAME): Namespace + cleanup. Replace s/c4x/tic4x and s/c3x/tic3x/ + * emulparams/tic3xcoff_onchip.sh: Ditto + * emulparams/tic4xcoff.sh: Ditto + * scripttempl/tic4xcoff.sc: Ditto + +2003-04-03 Nick Clifton <nickc@redhat.com> + + * NEWS: Mention support for Xtensa architecture. + +2003-04-02 Nick Clifton <nickc@redhat.com> + + * pe-dll.c (pe_detail_list): arm-pe targets use underscores. + +2003-04-01 Danny Smith <dannysmith@users.sourceforge.net> + + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + Don't call pe_dll_build_section() if link_info.relocateable. + (gld_${EMULATION_NAME}_finish): Don't call pe_dll_fill_sections() + if link_info.relocateable. + +2003-04-01 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> + + * pe-dll.c (process_def_file): Don't create an export + section if there are no exports and we're building an exe + (pe_dll_build_sections): Ditto + (pe_dll_fill_sections): Conditionalize setting + abfd->dll true on info->shared + * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): + If i386pe or armpe, call pe_dll_build_section() + for both exe's and dll's, not just dll's. + (gld_${EMULATION_NAME}_finish): For all targets except + shpe and mipspe, call pe_dll_fill_sections() for both + exe's and dll's, not just dll's. + +2003-04-02 Bob Wilson <bob.wilson@acm.org> + + * emulparams/xtensa-config.sh: Remove comment indicating that this is + a generated file. + +2003-04-01 Bob Wilson <bob.wilson@acm.org> + + * Makefile.am (ALL_EMULATIONS): Add eelf32xtensa.o. + (eelf32xtensa.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle xtensa-*-*. + * gen-doc.texi: Set XTENSA variable. + * ld.texinfo: Set XTENSA variable. Add new Xtensa node. + * emulparams/elf32xtensa.sh: New file. + * emulparams/xtensa-config.sh: Likewise. + * emultempl/xtensaelf.em: Likewise. + * scripttempl/elfxtensa.sc: Likewise. + +2003-04-01 Jakub Jelinek <jakub@redhat.com> + + * configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64 + targ_extra_libpath. Add elf64ppc to ppc targ_extra_libpath + if --enable-64-bit-bfd. + +2003-04-01 Nick Clifton <nickc@redhat.com> + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Change name of + note section. + * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Change + name of note section. + +2003-03-31 Alexandre Oliva <aoliva@redhat.com> + + * ld.texinfo (-Tbss, -Tdata, -Ttext): Document in terms of + --section-start. + +2003-03-31 David Heine <dlheine@suif.stanford.edu> + + * ldfile.c (ldfile_add_library_path): Always allocate space for + the filename. + * ldlang.c (lang_register_vers_node): Free the node if it cannot + be used. + * ldmain.c (set_scripts_dir): Always free the constructed + directory name. + (add_keepsyms_file): Fix memory leak. + * ldmisc.c (vfinfo): Likewise. + * lexsup.c (parse_args): Likewise. + +2003-03-25 Stan Cox <scox@redhat.com> + Nick Clifton <nickc@redhat.com> + + Contribute support for Intel's iWMMXt chip - an ARM variant: + + * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define. + * emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define. + * scripttempl/armcoff.sc (.data): Ensure 8 byte alignment. + (.bss): Likewise. + +2003-03-25 Alexandre Oliva <aoliva@redhat.com> + + * ldmain.h (ld_canon_sysroot, ld_canon_sysroot_len): Declare. + * ldmain.c (ld_canon_sysroot, ld_canon_sysroot_len): Define. + (main): Initialize them. + * ldfile.c: Include pathnames.h. + (is_sysrooted_pathname): New. + (ldfile_add_library_path): Use it. + (ldfile_open_file_search): Likewise. Use IS_ABSOLUTE_PATH. Don't + search_dirs if given an absolute pathname. + (ldfile_open_file): Issue error message for sysrooted + absolute pathnames. + * Makefile.am: Updated dependencies. + * Makefile.in: Rebuild. + +2003-03-24 Daniel Néri <dne@mayonnaise.net> + + * ld.texinfo: Rename all occurances of C54X to TIC54X. + +2003-03-19 Andreas Schwab <schwab@suse.de> + + * ldfile.c (ldfile_try_open_bfd): Pop lexer start condition after + eof. + +2003-03-18 Danny Smith <dannysmith@users.sourceforge.net> + + * deffilep.y (opt_base): If no number given, set to default + (-1), not 0. + +2003-03-13 Danny Smith <dannysmith@users.sourceforge.net> + + * deffilep.y (def_import): Use default extension of "dll" + if no extension provided in parsed IMPORT definition. + + * deffilep.y (def_lex): Revert 2003-03-12 change. + (dot_name): New id type and rule. + (expline): Use instead of ID. + (opt_equal_name): Likewise. + +2003-03-12 Danny Smith <dannysmith@users.sourceforge.net> + + * deffilep.y (def_lex): Accept '.' as valid non-lead char. + +2003-03-07 Christopher Faylor <cgf@redhat.com> + + * configure.tgt: Add NATIVE_LIB_DIRS for cygwin target back after + apparent accidental removal on 2003-01-06. + +2003-03-04 Dmitry Diky <diwil@mail.ru> + + * Makefile.am: Add new devices x1122 x1132 emulation + * configure.tgt: Likewise. + * Makefile.in: Regenerate. + * emulparams/msp430x1122.sh: New file. + * emulparams/msp430x1132.sh: New file. + +2003-03-03 Alexandre Oliva <aoliva@redhat.com> + + * ldmain.c (set_scripts_dir): Look for relative to TOOLBINDIR as + well. + + * ldfile.h (struct search_dirs): Added sysrooted field. + * ldlang.h (struct lang_input_statement_struct): Likewise. + * ldfile.c (ldfile_add_library_path): Mark sysrooted paths. + (ldfile_open_file_search): Look for sysrooted filename starting + with / in ld_sysroot instead of in the current directory. Clear + sysrooted flag if it's found in the current directory. Set it + from the search directory's sysrooted flag where it is found + otherwise. + * ldlang.c (ldlang_sysrooted_script): New static variable. + (new_afile): Mark search_file_enums as sysrooted if + ldlang_sysrooted_script. + (load_symbols): Set ldlang_sysrooted_script according to the + script's sysrooted field while processing it. + * ld.texinfo: Document INPUT behavior in sysroot. + +2003-03-02 Danny Smith <dannysmith@users.sourceforge.net> + + * scripttempl/pe.sc: Use PROVIDE with etext, end, _end, + +2003-03-03 Alan Modra <amodra@bigpond.net.au> + + * emulparams/elf64alpha.sh (EXTRA_EM_FILE): Define. + (PARSE_AND_LIST_PROLOGUE, PARSE_AND_LIST_LONGOPTS, + PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES, + PARSE_AND_LIST_EPILOGUE): Don't define. + * emultempl/alphaelf.em: New file. + +2003-03-01 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c: Include getopt.h. + * emultempl/elf32.em: Include getopt.h earlier. + * emultempl/ticoff.em: Likewise. + +2003-02-28 Alan Modra <amodra@bigpond.net.au> + + * emultempl/elf32.em (gld${EMULATION_NAME}_get_script): Add combreloc + support when scripts read from files. + +2003-02-28 Alan Modra <amodra@bigpond.net.au> + + * ldemul.c (ldemul_parse_args): Return FALSE by default. + * ldemul.h (struct ld_emulation_xfer_struct): Update parse_args + comment. + + * ldemul.c (ldemul_add_options, ldemul_handle_option): New functions. + (ldemul_parse_args): Return bfd_boolean. Formatting. + * ldemul.h (ldemul_add_options, ldemul_handle_option): Declare. + (ldemul_parse_args): Adjust. + (struct ld_emulation_xfer_struct): Add add_options and handle_option. + Return bfd_boolean from parse_args. + * lexsup.c (parse_args): Malloc shortopts, longopts and + really_longopts. Call ldemul_add_options and ldemul_handle_option. + * emultempl/aix.em (gld${EMULATION_NAME}_add_options): Split out from + gld${EMULATION_NAME}_parse_args. + (gld${EMULATION_NAME}_handle_option): Likewise. + (ld_${EMULATION_NAME}_emulation): Adjust initializer. + * emultempl/armcoff.em: As for aix.em, but remove parse_args. + * emultempl/beos.em: Likewise. + * emultempl/pe.em: Likewise. + * emultempl/ticoff.em: Likewise. + * emultempl/elf32.em: Likewise. Don't duplicate long options either. + (gld${EMULATION_NAME}_add_sysroot): Prototype. + * emultempl/armelf.em (PARSE_AND_LIST_LONGOPTS): Don't duplicate + options. + * emultempl/hppaelf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/ppc32elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/ppc64elf.em (PARSE_AND_LIST_LONGOPTS): Likewise. + * emultempl/armelf_oabi.em (ld_${EMULATION_NAME}_emulation): Adjust + initializer. + * emultempl/generic.em: Likewise. + * emultempl/gld960.em: Likewise. + * emultempl/gld960c.em: Likewise. + * emultempl/linux.em: Likewise. + * emultempl/lnk960.em: Likewise. + * emultempl/m68kcoff.em: Likewise. + * emultempl/mipsecoff.em: Likewise. + * emultempl/sunos.em: Likewise. + * emultempl/vanilla.em: Likewise. + * emultempl/netbsd.em (gldnetbsd_before_parse): Prototype. + +2003-02-25 Alexandre Oliva <aoliva@redhat.com> + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Fix + memory allocation error. + + * Makefile.am (ldmain.o): Define TOOLBINDIR. + * Makefile.in: Rebuilt. + * ldmain.c (ld_sysroot): Try to set from TOOLBINDIR too. + +2003-02-21 Bob Wilson <bob.wilson@acm.org> + + * ldlang.c (lang_size_sections_1): Add CHECK_REGIONS argument and only + call os_region_check when it is set. + (lang_size_sections): Add CHECK_REGIONS argument and pass it through to + lang_size_sections_1. + (lang_process): Change lang_size_sections calls to set CHECK_REGIONS + only for the last call, not on every relaxation iteration. + * ldlang.h (lang_size_sections): Update prototype. + * pe-dll.c (pe_dll_fill_sections): Set CHECK_REGIONS argument in calls + to lang_size_sections. + (pe_exe_fill_sections): Likewise. + * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Likewise. + * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise. + * emultempl/ppc64elf.em (ppc_before_allocation): Likewise. + (ppc_layout_sections_again): Likewise. + +2003-02-21 Bob Wilson <bob.wilson@acm.org> + + * gen-doc.texi: Set ARM and HPPA variables. + * ld.texinfo: Fix typos and obvious texinfo mistakes. Make section + title capitalization more consistent. Add missing menu entries for + machine-specific sections and conditionalize them consistently. + Conditionalize text that is irrelevant when SingleFormat is set. + Add @group divisions to improve page breaks in long examples. + Use @iftex/@ifnottex instead of @iftex/@ifinfo so that HTML output + is correct. Remove "FIXME" comment about not using + @raisesections/@lowersections. Use @raisesections/@lowersections + consistently for machine-specific sections. Change to be more polite + about poor bug reports. Replace FDL appendix with include of fdl.texi. + Move WIN32 node to match its order in the menus. + * fdl.texi: New file. + +2003-02-20 Alexandre Oliva <aoliva@redhat.com> + + * configure.in (TARGET_SYSTEM_ROOT): Set default to + ${exec_prefix}/${target_alias}/sys-root. Match explicit + '${exec_prefix}' (in addition to the expansion thereof) as + relocatable. + * configure: Rebuilt. + +2003-02-20 Phil Edwards <pme@gcc.gnu.org> + + * ldgram.y (vers_defns): Also recurse with 'EXTERN NAME' patterns. + +2003-02-20 Harri Porten <porten@kde.org> + + * ldgram.y (vers_defns): Allow optional trailing semicolon in + EXTERN NAME block; + +2003-02-18 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc32elf.em: New file. + * emulparams/elf32ppc.sh (EXTRA_EM_FILE): Define. + * Makefile.am (eelf32lppc.c): Depend on emultempl/ppc32elf.em. + (eelf32lppcnto.c): Likewise. + (eelf32lppcsim.c): Likewise. + (eelf32ppcnto.c): Likewise. + (eelf32ppc.c): Likewise. + (eelf32ppc_fbsd.c): Likewise. + (eelf32ppcsim.c): Likewise. + (eelf32ppclinux.c): Likewise. + * Makefile.in: Regenerate. + +2003-02-18 Alan Modra <amodra@bigpond.net.au> + + * ld.texinfo: Remove spaces between @samp and opening brace. + +2003-02-18 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_create_output_section_statements): Check + hash creator. + (ppc_before_allocation): Don't do optimizations if wrong hash table. + (gld${EMULATION_NAME}_finish): Ditto. + +2003-02-17 Nick Clifton <nickc@redhat.com> + + * ldmain.c (main) Default allow_shlib_undefined to true. + * lexsup.c (ld_options): Add --no-allow-shlib-undefined. + (parse_args): Parse the new switch. + * ld.texinfo: Document new switch and default behaviour of + allowing undefined symbols in shared libraries. + +2003-02-11 Dmitry Diky <diwil@mail.ru> + + * scripttempl/elf32msp430.sc: Add new data anchors definitions. + * scripttempl/elf32msp430_3.sc: Likewise. + +2003-02-11 Uwe Stieber <uwe@wwws.de> + + * configure.tgt: Add support for kaOS as cross build target + system. + +2003-02-10 John Daivid Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hppaelf.em (group_size): Change default back to 1. + +2003-02-09 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em: Add "no-tls-optimize" option and support code. + +2003-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * hppaelf.em (group_size): Change default to -1. + +2003-02-07 Nick Clifton <nickc@redhat.com> + + * emultempl/armelf.em (PARSE_AND_LIST_SHORTOPTS): Remove 'n' short + opt. + (PARSE_AND_LIST_LONGOPTS): Add duplicate entry for + no-pipeline-knowledge. This will prevent the getopt package from + thinking that there are any shorter abbreviations for + --no-pipeline-knowledge. + +2003-02-07 Jakub Jelinek <jakub@redhat.com> + + * genscripts.sh (LIB_PATH): Don't append LIBPATH_SUFFIX to paths + which already have it. Avoid duplicates. + +2003-02-06 Jakub Jelinek <jakub@redhat.com> + + * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64. + * emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise. + * emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix. + +2003-02-05 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then + call ppc64_elf_tls_optimize. + +2003-02-03 Daniel Jacobowitz <drow@mvista.com> + + * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot + outside of GNU/Linux conditional. + +2003-01-28 Ralf Habacker <ralf.habacker@freenet.de> + + * deffilep.y (def_get_module): New function: locate an already + added module. + * deffile.h (def_get_module): New prototype. + * pe-dll.c (pe_implied_import_dll): Add code to prevent importing + a dll multiple times. + +2003-01-23 Alan Modra <amodra@bigpond.net.au> + + * emultempl/sh64elf.em: Include elf32-sh64.h. + (sh64_elf_${EMULATION_NAME}_before_allocation): Adjust for changed + sh64_elf_section_data. + (sh64_elf_${EMULATION_NAME}_after_allocation): Likewise. + +2003-01-23 Wu Yongwei <adah@netstd.com> + + * ld.texinfo: Remove an extra "i" in --dll-search-prefix. + * emultempl/pe.em (gld_${EMULATION_NAME}_list_options): Move a + cross-80th-column-margin "an" to the next line. + +2003-01-21 Nick Clifton <nickc@redhat.com> + + * emulparams/tic3xcoff-onchip.sh: Rename to ...z + * emulparams/tic3xcoff_onchip.sh: ...this. + * Makefile.am (etic3xcoff_onchip.c): Fix name of generated C file. + * Makefile.in: Regenerate. + +2003-01-21 Fabio Alemagna <falemagn@aros.org> + + * configure.tgt: Handle i[3456]86-*-aros* + +2003-01-19 Svein E. Seldal <Svein.Seldal@solidas.com> + + * Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o + * Makefile.in: Regenerate + * configure.tgt: Added extra target emulations + * emulparams/tic3xcoff.sh: Remove old settings + * emulparams/tic4xcoff.sh: Ditto + * emulparams/tic3xcoff-onchip.sh: Added new + * scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x + * scripttempl/tic3xcoff.sc: Remove + +2003-01-17 Andreas Jaeger <aj@suse.de> + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not + skip ':'. + +2003-01-16 Alan Modra <amodra@bigpond.net.au> + + * Makefile.in: Regenerate. + +2002-01-14 Charles Wilson <cwilson@ece.gatech.edu> + + * ld.texinfo (node WIN32): Some clarifications + and formatting fixups. + +2003-01-09 Chris Demetriou <cgd@broadcom.com> + + * ldmain.c (get_emulation): Sort -mipsNN checks in the usual + order, and handle (ignore) -mips32r2. + +2003-01-09 Daniel Jacobowitz <drow@mvista.com> + + * ldmain.c (main): Make sure ld_sysroot is initialized. + +2003-01-06 Daniel Jacobowitz <drow@mvista.com> + + * Makefile.am (eelf32iq10.c): Fix tab/whitespace mixup. + + * Makefile.am (ldmain.o): Add @TARGET_SYSTEM_ROOT_DEFINE@. + (GENSCRIPTS): Add @use_sysroot@. + * Makefile.in: Regenerated. + * configure.host: Move setting of NATIVE_LIB_DIRS to... + * configure.tgt: ... here. Use ${target} instead of ${host} + for NATIVE_LIB_DIRS. + * configure.in: Add --with-sysroot. + * configure: Regenerated. + * genscripts.sh: Accept use_sysroot option. Set new variables + NATIVE and USE_LIBPATH. Prepend "=" to directory names if + $use_sysroot. Don't search $tool_lib if $use_sysroot. + * ldfile.c (ldfile_add_library_path): Handle leading '='. + * ldmain.c (TARGET_SYSTEM_ROOT): Define if not defined. + (ld_sysroot): New variable. + (main): Initialize ld_sysroot. + * ldmain.h (ld_sysroot): New extern. + * emultempl/elf32.em: Use NATIVE and USE_LIBPATH instead of + searching $EMULATION_LIBPATH. + (gld${EMULATION_NAME}_add_sysroot): New function. + (gld${EMULATION_NAME}_check_ld_so_conf): Use it. Honor ld_sysroot. + (gld${EMULATION_NAME}_after_open): Likewise. Only search + environment variables if $NATIVE. + * ld.texinfo (Options): Mention "=" prefix in the description of -L. + * NEWS: Mention --with-sysroot. + + * emulparams/elf32bmipn32-defs.sh: Set NATIVE and LIBPATH_SUFFIX + instead of setting LIB_PATH. + * emulparams/elf32ppc.sh: Likewise. + * emulparams/elf64_s390.sh: Likewise. + * emulparams/elf64_sparc.sh: Likewise. + * emulparams/elf64ppc.sh: Likewise. + * emulparams/elf_x86_64.sh: Likewise. + + * emulparams/elf64_aix.sh: Add "=" prefixes to LIB_PATH. + * emulparams/elf64hppa.sh: Add "=" prefixes to LIB_PATH. + +2003-01-03 Charles Wilson <cwilson@ece.gatech.edu> + + * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. + +2003-01-04 Daniel Jacobowitz <drow@mvista.com> + + * Makefile.am (ldmain.o): Pass BINDIR. + * Makefile.in: Regenerated. + * ldmain.c (set_scripts_dir): Use make_relative_prefix for the first + search path. + +2003-01-02 Ben Elliston <bje@redhat.com> + + * Makefile.am (ALL_EMULATIONS): Add eelf32iq2000.o. + (eelf32iq2000.c): New target. + * Makefile.in: Regenerate. + * configure.tgt: Handle iq2000-*-elf. + * emulparams/elf32iq10.sh: New file. + * emulparams/elf32iq2000.sh: New file. + * scripttempl/iq2000.sc: New file. + +2003-01-02 Charles Wilson <cwilson@ece.gatech.edu> + + * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc + and _pei386_runtime_relocator to the exclude list. + +2003-01-01 Kazu Hirata <kazu@cs.umass.edu> + + * ldfile.c: Fix comment typos. + * ldlang.c: Likewise. + * mri.c: Likewise. + * pe-dll.c: Likewise. + +2003-01-01 Daniel Jacobowitz <drow@mvista.com> + + Suggested by Manfred Hollstein <manfred.h@gmx.net>: + * Makefile.am (ld.1): Depend on configdoc.texi + and ldver.texi. + * Makefile.in: Regenerated. + +For older changes see ChangeLog-0001 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index aad5a2f..19f3c33 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -3,3372 +3,11 @@ * ld-selective/sel-dump.exp: Use is_elf_format, xfail assorted targets. * ld-selective/selective.exp: Likewise. -2003-12-30 Mark Mitchell <mark@codesourcery.com> - - * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC - 3.4 does not support it. - -2003-12-18 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/reloc-1[ab].s: New source files. - * ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. - * ld-mips-elf/reloc-2[ab].s: New source files. - * ld-mips-elf/reloc-2.{d,ld}: New test. - * ld-mips-elf/reloc-3[ab].s: New source files. - * ld-mips-elf/reloc-3-{r,srec}.d: New tests. - * ld-mips-elf/mips-elf.exp: Run them. - -2003-12-07 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)". - * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. - -2003-12-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/sh64/shmix-1.s: Add align to match data alignment. - * ld-sh/sh64/shmix-3.s: Likewise. - * ld-sh/sh64/mix1.sd: Update. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix1-noexp.sd: Likewise. - * ld-sh/sh64/mix2.sd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/mix2-noexp.sd: Likewise. - -2003-12-01 Alan Modra <amodra@bigpond.net.au> - - * ld-sh/tlsbin-2.d: Update section alignment. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/rel64.xd: Likewise. - * ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - -2003-11-19 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump. - * ld-powerpc/tlsso32.d: Likewise. - -2003-10-27 Stephane Carrez <stcarrez@nerim.fr> - - * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812 - due to elf/Dwarf2 binutils limitation. - -2003-10-23 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the - linker option from gcc. - -2003-10-23 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexetoc.d: Correct. - * ld-powerpc/tlstoc.d: Correct. - -2003-10-18 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, - ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass - --no-pushj-stubs to the assembler. - * ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d, - ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d, - ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d, - ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d, - ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d, - ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d, - ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d, - ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d, - ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests. - -2003-10-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy - the output of linker to the file tmpdir/*-dso.so. - * ld-sh/sh64/stobin-0-dso.d: New. - * ld-sh/sh64/stobin-1.d: New. - * ld-sh/sh64/stobin.s: New. - * ld-sh/sh64/stolib.s: New. - -2003-10-13 Richard Sandiford <rsandifo@redht.com> - - * ld-mips-elf/multi-got-1.d (RELSZ): Don't include the size of the - trailing null relocs. - -2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each - sh64/sh5 targets. - * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and - sh5*-*-* targets. - * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. - * ld-sh/sh64/relfail.exp: Set parameters for netbsd. - * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section - numbers for crangerel1 and crengerel2 tests. - * ld-sh/sh64/abi32.sd: Update. - * ld-sh/sh64/abi32.xd: Likewise. - * ld-sh/sh64/abi64.sd: Likewise. - * ld-sh/sh64/abi64.xd: Likewise. - * ld-sh/sh64/abixx-noexp.sd: Likewise. - * ld-sh/sh64/cmpct1.sd: Likewise. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/dlsection.sd: Likewise. - * ld-sh/sh64/endian.sbd: Likewise. - * ld-sh/sh64/endian.sld: Likewise. - * ld-sh/sh64/gotplt.d: Likewise. - * ld-sh/sh64/init-cmpct.d: Likewise. - * ld-sh/sh64/init-media.d: Likewise. - * ld-sh/sh64/init.s: Align functions. - * ld-sh/sh64/init64.d: Update. - * ld-sh/sh64/mix1-noexp.sd: Likewise. - * ld-sh/sh64/mix1.sd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2-noexp.sd: Likewise. - * ld-sh/sh64/mix2.sd: Likewise. - * ld-sh/sh64/mix2.xd:Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/rel64.xd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - * ld-sh/sh64/shdl32.xd: Update. - * ld-sh/sh64/shdl64.sd: Likewise. - * ld-sh/sh64/shdl64.xd: Likewise. - * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. - * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. - * ld-sh/weak1.d: Likewise. - -2003-10-11 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. - * ld-scripts/defined.exp: Run defined3. - -2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. - * ld-scripts/defined.exp: Run defined2. - -2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> - - * ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for - non 64-bit hppa*-*-linux* targets. - * ld-elfvsb/main.c (main_visibility_check): Cast value returned by - visibility_funptr () to a function pointer. - * ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load - offset), and shared (PIC main, non PIC so) tests for non 64-bit - hppa*-*-linux* targets. - -2003-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * ld-checks/checks.exp (section_check): Remove ia64-*-elf*. - -2003-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * ld-checks/checks.exp (section_check): Skip ia64-*-* instead - of ia64-*-linux*. - -2003-09-30 H.J. Lu <hongjiu.lu@intel.com> - - * ld-ia64/ia64.exp: Remove -melf64_ia64. - - * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* - instead of elf64-ia64-little. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlsbin.td: Likewise. - * ld-ia64/tlsg.sd: Likewise. - * ld-ia64/tlspic.dd: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-ia64/tlspic.td: Likewise. - -2003-09-30 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations - with MIPS64r2. - -2003-09-29 H.J. Lu <hongjiu.lu@intel.com> - - * lib/ld-lib.exp (proc is_elf64): New. - - * ld-scripts/phdrs.exp: Use is_elf_format and is_elf64. - -2003-09-23 Alan Modra <alan@modra.org> - - * ld-discard/exit.s: Correct .text.exit attributes. - * ld-discard/extern.s: Likewise. - * ld-discard/static.s: Likewise. - -2003-09-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. - * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * ld-mips-elf/relax-jalr-n64.d: Likewise. - * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2003-09-14 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, - ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d, - ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d, - ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d, - ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d, - ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d, - ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for - objdump -d change. - -2003-09-11 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/merge2.s: New. - * ld-elf/merge2.d: New. - -2003-08-16 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-9.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d: Adjust for - recent objdump "Contents of ..." change. - -2003-08-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test. - -2003-08-02 Alan Modra <amodra@bigpond.net.au> - - * ld-d10v/reloc-001.d: Adjust for objdump -d change. - * ld-d10v/reloc-002.d: Likewise. - * ld-d10v/reloc-005.d: Likewise. - * ld-d10v/reloc-006.d: Likewise. - * ld-d10v/reloc-009.d: Likewise. - * ld-d10v/reloc-010.d: Likewise. - * ld-d10v/reloc-013.d: Likewise. - * ld-d10v/reloc-014.d: Likewise. - * ld-xstormy16/pcrel.d: Likewise. - -2003-07-29 Jakub Jelinek <jakub@redhat.com> - - * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc - sections. - -2003-07-29 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-07-29 Nick Clifton <nickc@redhat.com> - - * ld-alpha/tlsbin.dd: Update to account for .eh_frame section. - * ld-alpha/tlsbin.rd: Likewise. - * ld-alpha/tlsbin.sd: Likewise. - * ld-alpha/tlsbinr.dd: Likewise. - * ld-alpha/tlsbinr.rd: Likewise. - * ld-alpha/tlsbinr.sd: Likewise. - * ld-alpha/tlspic.dd: Likewise. - * ld-alpha/tlspic.rd: Likewise. - * ld-alpha/tlspic.sd: Likewise. - -2003-07-26 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe32.d: Update. - * ld-powerpc/tlsso32.d: Update. - -2003-07-24 H.J. Lu <hongjiu.lu@intel.com> - - * ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsso.r: Likewise. - * ld-powerpc/tlstocso.r: Likewise. - -2003-07-23 Stephane Carrez <stcarrez@nerim.fr> - - * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft - register. - -2003-07-22 H.J. Lu <hongjiu.lu@intel.com> - - * ld-selective/selective.exp: Skip "ia64-*-*". - - * ld-srec/srec.exp: Make xfail on "ia64-*-*". - -2003-07-11 Richard Sandiford <rsandifo@redhat.com> - - * ld-h8300/relax-3{.s,.d,-coff.d}: New test. - * ld-h8300/h8300.exp: Run it. - -2003-07-10 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc. - * ld-powerpc/tlsexetoc.g: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlstoc.g: Update. - * ld-powerpc/tlstocso.g: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-07-04 Richard Sandiford <rsandifo@redhat.com> - - * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d - unconditionally. Run relax-2.d for *-elf targets. - * ld-h8300/relax.d: Fix typo. - * ld-h8300/relax.s: Add 0x prefixes. - * ld-h8300/relad-2.[sd]: New test. - -2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/mips-elf.exp: Use is_elf_format. - -2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6. - -2003-06-25 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/apuinfo.rd: Update. - -2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. - * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. - -2003-06-18 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, - ld-cris/locref2.s: New tests. - - * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain - readelf as found using default path. - -2003-06-18 Alan Modra <amodra@bigpond.net.au> - - * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before - trying to trim ld path. - (default_ld_compile): Likewise for cc. - - * lib/ld-lib.exp (default_ld_simple_link): Trim ld path before - looking for gcc match. - (default_ld_compile): Likewise for cc. - -2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> - - * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail. - -2003-06-16 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlstoc.d: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.r: Update. - -2003-06-16 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*. - * ld-cris/noglob1.d: Ditto. - * ld-cris/badgotr1.d: Pass --underscore to gas. - -2003-06-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/elf-rel-got-n64-linux.d: New file. - * ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. - * ld-mips-elf/mips-elf.exp: Use the new files for Linux. - -2003-06-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/relax-jalr.s: Fix testsuite breakage. - * ld-mips-elf/relax-jalr-n32.d: Likewise. - * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. - * ld-mips-elf/relax-jalr-n64.d: Likewise. - * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. - -2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/multi-got-1.d: Adjust addresses. - * ld-mips-elf/rel32-n32.d: Likewise. - -2003-06-11 Alan Modra <amodra@bigpond.net.au> - - * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and - xfail for hppa duplicated elsewhere. - -2003-06-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> - - * ld-mips-elf/rel32-n32.d: Force big endian assembly. - * ld-mips-elf/rel32-o32.d: Likewise. - * ld-mips-elf/rel64.d: Likewise. - -2003-06-10 Alan Modra <amodra@bigpond.net.au> - - * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. - * ld-powerpc/tls.t: Update. - * ld-powerpc/tlsexe.d: Update. - * ld-powerpc/tlsexe.r: Update. - * ld-powerpc/tlsexetoc.d: Update. - * ld-powerpc/tlsexetoc.r: Update. - * ld-powerpc/tlsexetoc.t: Update. - * ld-powerpc/tlsso.d: Update. - * ld-powerpc/tlsso.g: Update. - * ld-powerpc/tlsso.r: Update. - * ld-powerpc/tlsso.t: Update. - * ld-powerpc/tlstocso.d: Update. - * ld-powerpc/tlstocso.g: Update. - * ld-powerpc/tlstocso.r: Update. - * ld-powerpc/tlstocso.t: Update. - -2003-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-discard/extern.d: Updated. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - -2003-06-03 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is - not available. - -2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> - - * ld-cygwin: New directory. - * ld-cygwin/exe-export.exp: New test script. Checks building - cygwin executables with an export table. - * ld-cygwin/testdll.def: New source file. - * ld-cygwin/testexe.def: New source file. - * ld-cygwin/testdll.c: New source file. - * ld-cygwin/testexe.c: New source file. - -2003-05-30 H.J. Lu <hongjiu.lu@intel.com> - - * config/default.exp: Load tmpdir/libpath.exp. - (gcc_ld_flag): Set from $libpath. - -2003-05-27 Jason Thorpe <thorpej@wasabisystems.com> - - * ld-elf/elf.exp: Use if_elf_format. - * ld-elf/sec64k.exp: Likewise. - * ld-elfcomm/elfcomm.exp: Likewise. - * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*. - -2003-05-25 Jason Thorpe <thorpej@wasabisystems.com> - - * ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf. - -2003-05-20 Jakub Jelinek <jakub@redhat.com> - - * ld-elfvsb/common.c: New file. - * ld-elfvsb/elfvsb.exp: Add common. - -2003-05-20 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvsb/sh3.c: New file. - * ld-elfvsb/test.c: Likewise. - - * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests. - -2003-05-15 H.J. Lu <hongjiu.lu@intel.com> - - * config/default.exp (gcc_ld_flag): New. Make the newly built - linker available to gcc. - * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag - to gcc. - - * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared - libraries. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-shared/shared.exp: Likewise. - - * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared - libraries. - * ld-elfvsb/elfvsb.exp: Likewise. - - * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. - - * ld-elfweak/elfweak.exp: Use PIC for shared libraries. - -2003-05-13 Stephane Carrez <stcarrez@nerim.fr> - - * ld-m68hc11/link-hcs12.d: New test. - * ld-m68hc11/link-hcs12.s: New file. - * ld-m68hc11/link-hc12.s: New file. - -2003-05-13 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfweak/elfweak.exp: Fix typo. - -2003-05-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-elfvers/vers.exp: Run on sh[34]*-*-linux*. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - -2003-05-12 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, - ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d, - ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d, - ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d, - ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d, - ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d, - ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for - objdump no longer truncating dump addresses. - -2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame - to linker script. - * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. - * ld-selective/selective.exp: Disable for s390 and s390x. - * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame - to linker script. - * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. - * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x. - -2003-05-08 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test - versioned reference for hidden symbol. - - * ld-elfvers/vers27d4.dsym: New file. - * ld-elfvers/vers27d4.ver: Likewise. - -2003-05-07 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers27d3.c (__start): New. - (start): New. - -2003-05-07 H.J. Lu <hongjiu.lu@intel.com> - - * ld-elfvers/vers.exp (build_binary): Support build exeutable. - (build_binary): Renamed from ... - (build_vers_lib): This. - (build_vers_lib_no_pic): Updated. - (build_vers_lib_pic): Likewise. - Add vers27d1, vers27d2 and vers27d3 to test versioned - definition for hidden symbol referenced by a DSO. - - * ld-elfvers/vers27d.dsym: New file. - * ld-elfvers/vers27d.sym: Likewise. - * ld-elfvers/vers27d.ver: Likewise. - * ld-elfvers/vers27d1.c: Likewise. - * ld-elfvers/vers27d2.c: Likewise. - * ld-elfvers/vers27d3.c: Likewise. - -2003-05-07 Andreas Schwab <schwab@suse.de> - - * ld-elfvsb/elfvsb.exp: Run dump tests even when cross - compiling. - -2003-05-06 Alexandre Oliva <aoliva@redhat.com> - - * config/default.exp (gcc_gas_flags): Force ABI to n32 on - mips64-linux. - * ld-elf/merge.d: Xfail on mips64*-linux-gnu*. - * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible - on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu. - (good_combination, bad_combination): Use it. - Add -32 or -mabi=o64 wherever the ABI was formerly implied. - -2003-05-06 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp (objdump_versionstuff): Support comment - in expected version file. - - * ld-elfvers/vers25b.c: Add a line of comment. - * ld-elfvers/vers25b.dsym: Likwise. - * ld-elfvers/vers25b.ver: Likwise. - * ld-elfvers/vers26b.dsym: Likwise. - * ld-elfvers/vers26b.ver: Likwise. - * ld-elfvers/vers27b.dsym: Likwise. - * ld-elfvers/vers27b.ver: Likwise. - * ld-elfvers/vers27c.c: Likwise. - * ld-elfvers/vers27c.dsym: Likwise. - * ld-elfvers/vers27c.ver: Likwise. - -2003-05-04 H.J. Lu <hjl@gnu.org> - - * ld-elfvsb/main.c: Updated. - * ld-elfvsb/sh1.c: Likewise. - -2003-05-04 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers18.dsym: Updated for weak definiton change. - * ld-elfvers/vers18.ver: Likewise. - * ld-elfvers/vers19.ver: Likewise. - * ld-elfweak/dsowdata.dsym: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-elfweak/weakdata.dsym: Likewise. - - * ld-elfweak/elfweak.exp: Remove xfail. - -2003-05-04 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/multi-got-1.d: Force into big-endian mode. - Turn relocation offsets into regexps. - -2003-05-03 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and - vers27c2 to test versioned definition vs. hidden definition in - different files. - - * ld-elfvers/vers27a.c: New file. - * ld-elfvers/vers27a.dsym: Likewise. - * ld-elfvers/vers27a.map: Likewise. - * ld-elfvers/vers27a.ver: Likewise. - * ld-elfvers/vers27b.c: Likewise. - - * ld-elfvers/vers27b.dsym: New empty file. - * ld-elfvers/vers27b.ver: Likwise. - * ld-elfvers/vers27c.c: Likwise. - * ld-elfvers/vers27c.dsym: Likwise. - * ld-elfvers/vers27c.ver: Likwise. - -2003-05-02 Nick Clifton <nickc@redhat.com> - - * ld-xstormy16: New directory. - * ld-xstormy16/xstormy16.exp: New test script. - * ld-xstormy16/pcrel.s: Test assembler source file. - * ld-xstormy16/external.s: Test assembler source file. - * ld-xstormy16/pcrel.d: Test expected disassembly. - -2003-05-02 Andreas Jaeger <aj@suse.de> - - * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. - -2003-04-29 H.J. Lu <hjl@gnu.org> - - * ld-ia64/tlsbin.dd: Updated. - * ld-ia64/tlsbin.rd: Likewise. - * ld-ia64/tlsbin.sd: Likewise. - * ld-ia64/tlsbin.td: Likewise. - * ld-ia64/tlspic.rd: Likewise. - * ld-ia64/tlspic.sd: Likewise. - * ld-ia64/tlspic.td: Likewise. - -2003-04-29 J"orn Rennecke <joern.rennecke@superh.com> - - * ld-selective/3.cc (start): New function. - * ld-selective/4.cc: Likewise. - * ld-selective/5.cc: Likewise. - -2003-04-28 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler. - (build_vers_lib): Support PIC. - (build_vers_lib_no_pic): New. Change all calls to build_vers_lib - to build_vers_lib_no_pic. - (build_vers_lib_pic): New. - Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned - definition vs. normal definition in different files. - - * ld-elfvers/vers26a.c: New file. - * ld-elfvers/vers26a.dsym: Likewise. - * ld-elfvers/vers26a.map: Likewise. - * ld-elfvers/vers26a.ver: Likewise. - * ld-elfvers/vers26b.c: Likewise. - - * ld-elfvers/vers26b.dsym: New empty file. - * ld-elfvers/vers26b.ver: Likewise. - -2003-04-27 H.J. Lu <hjl@gnu.org> - - * ld-elfvsb/elfvsb.dat: Updated. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - -2003-04-26 Stephane Carrez <stcarrez@nerim.fr> - - * ld-m68hc11/bug-3331.d: New test. - * ld-m68hc11/bug-3331.s: New file. - -2003-04-25 Nick Clifton <nickc@redhat.com> - J"orn Rennecke <joern.rennecke@superh.com> - - * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. - -2003-04-24 J"orn Rennecke <joern.rennecke@superh.com> - - * ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended. - -2003-04-23 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d, - ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing - unnecessary TLS relocs. - -2003-04-23 J"orn Rennecke <joern.rennecke@superh.com> - - * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH. - * ld-sh/sh64/crange3-media.rd (Machine): Likewise. - -2003-04-23 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty - files. - (objdump_versionstuff): Likewise. - Add tests vers25a, vers25b1 and vers25b2 for versioned - definition vs. normal definition in different files. - - * ld-elfvers/vers25a.c: New file. - * ld-elfvers/vers25a.dsym: Likewise. - * ld-elfvers/vers25a.map: Likewise. - * ld-elfvers/vers25a.ver: Likewise. - - * ld-elfvers/vers25b.c: New empty file. - * ld-elfvers/vers25b.dsym: Likewise. - * ld-elfvers/vers25b.ver: Likewise. - -2003-04-22 H.J. Lu <hjl@gnu.org> - - * ld-elfcomm/elfcomm.exp: Support 64bit targets. - -2003-04-21 Stephane Carrez <stcarrez@nerim.fr> - - * ld-m68hc11/far-hc11.s: New file. - * ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation. - * ld-m68hc11/far-hc12.s: New file. - * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation. - * ld-m68hc11/far-hc12.ld: New file. - -2003-04-15 H.J. Lu <hjl@gnu.org> - - * ld-elfcom/elfcom.exp: Fix a typo. - -2003-04-14 H.J. Lu <hjl@gnu.org> - - * ld-elfcom: New directory. - * ld-elfcom/elfcom.exp: New file: Test alignment of common symbols - under ELF. - * ld-elfcom/common1a.c: New file: Test source code. - * ld-elfcom/common1b.c: New file: Test source code. - -2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> - - * ld-sh/sh64/crange3-cmpct.rd: Replace occurrances of 'Hitachi' - with 'Renesas'. - * ld-sh/sh64/crange3-media.rd: Likewise. - -2002-04-13 Daniel Jacobowitz <drow@mvista.com> - - * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s, - ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it - for error messages. - -2003-04-10 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/elf-rel-got-n32.d, - ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, - ld-mips-elf/elf-rel-xgot-n64.d: New. - * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for - new tests to run. - -2003-04-04 Stephane Carrez <stcarrez@nerim.fr> - - * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax. - -2003-04-02 Bob Wilson <bob.wilson@acm.org> - - * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*. - * ld-xtensa/lcall.exp: Likewise. - -2003-04-01 Bob Wilson <bob.wilson@acm.org> - - * ld-elf/merge.d: xfail xtensa-*-*. - * ld-scripts/crossref.exp: Add -mtext-section-literals to CFLAGS - for Xtensa targets. - * ld-srec/srec.exp: Add -no-relax flag for Xtensa targets. - * ld-xtensa/coalesce1.s: New file. - * ld-xtensa/coalesce2.s: Likewise. - * ld-xtensa/coalesce.exp: Likewise. - * ld-xtensa/coalesce.t: Likewise. - * ld-xtensa/lcall1.s: Likewise. - * ld-xtensa/lcall2.s: Likewise. - * ld-xtensa/lcall.exp: Likewise. - * ld-xtensa/lcall.t: Likewise. - -2003-03-25 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/mips-elf.exp: Added... - * ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, - ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, - ld-mips-elf/relax-jalr-n64-shared.d: New tests. - -2003-03-11 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: - * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, - ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New - tests. - -2003-03-11 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. - * ld-powerpc/tlsso32.r: Likewise. - -2003-02-18 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD - relocs. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe.t: Likewise. - - * ld-powerpc/tls32.s: New file. - * ld-powerpc/tlslib32.s: New file. - * ld-powerpc/tls32.d: New file. - * ld-powerpc/tls32.g: New file. - * ld-powerpc/tls32.t: New file. - * ld-powerpc/tlsexe32.d: New file. - * ld-powerpc/tlsexe32.g: New file. - * ld-powerpc/tlsexe32.r: New file. - * ld-powerpc/tlsexe32.t: New file. - * ld-powerpc/tlsso32.d: New file. - * ld-powerpc/tlsso32.g: New file. - * ld-powerpc/tlsso32.r: New file. - * ld-powerpc/tlsso32.t: New file. - * ld-powerpc/powerpc.exp: Run new tests. - -2003-02-18 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change. - -2003-02-10 Jakub Jelinek <jakub@redhat.com> - - * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. - xfail tests linking non-pic code into shared libs on x86_64-*-linux*. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c - tests. - * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* - version. - * ld-elfvers/vers19.ver: Likewise. - * ld-elfvers/vers24a.c: New test. - * ld-elfvers/vers24b.c: New test. - * ld-elfvers/vers24c.c: New test. - * ld-elfvers/vers24.map: New test. - * ld-elfvers/vers24.rd: New test. - * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument - cflags. If source files have .c extension, compile them first. - -2003-02-10 Kaz kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/tlstpoff-1.d: New. - * ld-sh/tlstpoff-2.d: New. - * ld-sh/tlstpoff1.s: New. - * ld-sh/tlstpoff2.s: New. - -2003-02-09 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/tlslib.s: Give .__tls_get_addr function type. - * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var - in dynamic lib. - * ld-powerpc/tlsexe.g: Likewise. - * ld-powerpc/tlsexe.r: Likewise. - * ld-powerpc/tlsexe.t: Likewise. - * ld-powerpc/tlsexetoc.d: Likewise. - * ld-powerpc/tlsexetoc.g: Likewise. - * ld-powerpc/tlsexetoc.r: Likewise. - * ld-powerpc/tlsexetoc.t: Likewise. - -2003-02-05 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/powerpc.exp (supports_ppc64): New. - (ppcelftests): Force 32 bit mode. - (ppc64elftests): New. - * ld-powerpc/tls.d: New. - * ld-powerpc/tls.g: New. - * ld-powerpc/tls.s: New. - * ld-powerpc/tls.t: New. - * ld-powerpc/tlsexe.d: New. - * ld-powerpc/tlsexe.g: New. - * ld-powerpc/tlsexe.r: New. - * ld-powerpc/tlsexe.t: New. - * ld-powerpc/tlsexetoc.d: New. - * ld-powerpc/tlsexetoc.g: New. - * ld-powerpc/tlsexetoc.r: New. - * ld-powerpc/tlsexetoc.t: New. - * ld-powerpc/tlslib.s: New. - * ld-powerpc/tlsso.d: New. - * ld-powerpc/tlsso.g: New. - * ld-powerpc/tlsso.r: New. - * ld-powerpc/tlsso.t: New. - * ld-powerpc/tlstoc.d: New. - * ld-powerpc/tlstoc.g: New. - * ld-powerpc/tlstoc.s: New. - * ld-powerpc/tlstoc.t: New. - * ld-powerpc/tlstocso.d: New. - * ld-powerpc/tlstocso.g: New. - * ld-powerpc/tlstocso.r: New. - * ld-powerpc/tlstocso.t: New. - -2003-01-27 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/multi-got-1.d: New. - * ld-mips-elf/multi-got-1-1.s: New. - * ld-mips-elf/multi-got-1-2.s: New. - * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf. - Run multi-got-1. - -2003-01-25 Jakub Jelinek <jakub@redhat.com> - - * ld-sparc/sparc.exp: New. - * ld-sparc/tlsg32.s: New test. - * ld-sparc/tlsg32.sd: Likewise. - * ld-sparc/tlsg64.s: Likewise. - * ld-sparc/tlsg64.sd: Likewise. - * ld-sparc/tlslib.s: Likewise. - * ld-sparc/tlsnopic.s: Likewise. - * ld-sparc/tlspic.s: Likewise. - * ld-sparc/tlssunbin32.dd: Likewise. - * ld-sparc/tlssunbin32.rd: Likewise. - * ld-sparc/tlssunbin32.s: Likewise. - * ld-sparc/tlssunbin32.sd: Likewise. - * ld-sparc/tlssunbin32.td: Likewise. - * ld-sparc/tlssunbin64.dd: Likewise. - * ld-sparc/tlssunbin64.rd: Likewise. - * ld-sparc/tlssunbin64.s: Likewise. - * ld-sparc/tlssunbin64.sd: Likewise. - * ld-sparc/tlssunbin64.td: Likewise. - * ld-sparc/tlssunbinpic32.s: Likewise. - * ld-sparc/tlssunbinpic64.s: Likewise. - * ld-sparc/tlssunnopic32.dd: Likewise. - * ld-sparc/tlssunnopic32.rd: Likewise. - * ld-sparc/tlssunnopic32.s: Likewise. - * ld-sparc/tlssunnopic32.sd: Likewise. - * ld-sparc/tlssunnopic64.dd: Likewise. - * ld-sparc/tlssunnopic64.rd: Likewise. - * ld-sparc/tlssunnopic64.s: Likewise. - * ld-sparc/tlssunnopic64.sd: Likewise. - * ld-sparc/tlssunpic32.dd: Likewise. - * ld-sparc/tlssunpic32.rd: Likewise. - * ld-sparc/tlssunpic32.s: Likewise. - * ld-sparc/tlssunpic32.sd: Likewise. - * ld-sparc/tlssunpic32.td: Likewise. - * ld-sparc/tlssunpic64.dd: Likewise. - * ld-sparc/tlssunpic64.rd: Likewise. - * ld-sparc/tlssunpic64.s: Likewise. - * ld-sparc/tlssunpic64.sd: Likewise. - * ld-sparc/tlssunpic64.td: Likewise. - -2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * ld-s390/s390.exp: New file. - * ld-s390/tlsbin_64.dd: New file. - * ld-s390/tlsbin_64.rd: New file. - * ld-s390/tlsbin_64.s: New file. - * ld-s390/tlsbin_64.sd: New file. - * ld-s390/tlsbin_64.td: New file. - * ld-s390/tlsbin.dd: New file. - * ld-s390/tlsbinpic_64.s: New file. - * ld-s390/tlsbinpic.s: New file. - * ld-s390/tlsbin.rd: New file. - * ld-s390/tlsbin.s: New file. - * ld-s390/tlsbin.sd: New file. - * ld-s390/tlsbin.td: New file. - * ld-s390/tlslib_64.s: New file. - * ld-s390/tlslib.s: New file. - * ld-s390/tlspic1_64.s: New file. - * ld-s390/tlspic1.s: New file. - * ld-s390/tlspic2_64.s: New file. - * ld-s390/tlspic2.s: New file. - * ld-s390/tlspic_64.dd: New file. - * ld-s390/tlspic_64.rd: New file. - * ld-s390/tlspic_64.sd: New file. - * ld-s390/tlspic_64.td: New file. - * ld-s390/tlspic.dd: New file. - * ld-s390/tlspic.rd: New file. - * ld-s390/tlspic.sd: New file. - * ld-s390/tlspic.td: New file. - -2003-01-24 Alan Modra <amodra@bigpond.net.au> - - * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps. - * ld-alpha/tlsbin.td: Likewise. - * ld-alpha/tlsbinr.sd: Likewise. - -2003-01-21 Richard Henderson <rth@redhat.com> - - * ld-alpha/alpha.exp: New. - * ld-alpha/align.s: New. - * ld-alpha/tlsbin.dd: New. - * ld-alpha/tlsbin.rd: New. - * ld-alpha/tlsbin.s: New. - * ld-alpha/tlsbin.sd: New. - * ld-alpha/tlsbin.td: New. - * ld-alpha/tlsbinpic.s: New. - * ld-alpha/tlsbinr.dd: New. - * ld-alpha/tlsbinr.rd: New. - * ld-alpha/tlsbinr.sd: New. - * ld-alpha/tlsg.s: New. - * ld-alpha/tlsg.sd: New. - * ld-alpha/tlslib.s: New. - * ld-alpha/tlspic.dd: New. - * ld-alpha/tlspic.rd: New. - * ld-alpha/tlspic.sd: New. - * ld-alpha/tlspic.td: New. - * ld-alpha/tlspic1.s: New. - * ld-alpha/tlspic2.s: New. - -2003-01-20 Alan Modra <amodra@bigpond.net.au> - - * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. - -2003-01-18 Jakub Jelinek <jakub@redhat.com> - - * ld-ia64/tlspic1.s: Add tests for IE in shared libraries. - * ld-ia64/tlspic.rd: Adjust. - * ld-ia64/tlspic.dd: Adjust. - * ld-ia64/tlspic.sd: Adjust. - -2003-01-16 Jakub Jelinek <jakub@redhat.com> - - * ld-ia64/ia64.exp: New. - * ld-ia64/tlsbin.dd: New test. - * ld-ia64/tlsbinpic.s: New test. - * ld-ia64/tlsbin.rd: New test. - * ld-ia64/tlsbin.s: New test. - * ld-ia64/tlsbin.sd: New test. - * ld-ia64/tlsbin.td: New test. - * ld-ia64/tlsg.s: New test. - * ld-ia64/tlsg.sd: New test. - * ld-ia64/tlslib.s: New test. - * ld-ia64/tlspic1.s: New test. - * ld-ia64/tlspic2.s: New test. - * ld-ia64/tlspic.dd: New test. - * ld-ia64/tlspic.rd: New test. - * ld-ia64/tlspic.sd: New test. - * ld-ia64/tlspic.td: New test. - -2003-01-02 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test. - -2003-01-02 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/jr.s: New file. - * ld-mips-elf/mips-elf-flags.exp: New test. - -2002-12-18 Ralf Habacker <ralf.habacker@freenet.de> - - * ld-auto-import: New directory. - * ld-auto-import/auto-import.exp: Test the auto importing direct - from a dll functionality. - * ld-auto-import/client.c: Source code for test. - * ld-auto-import/dll.c: Likewise. - -2002-12-12 Alexandre Oliva <aoliva@redhat.com> - - * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test. - * ld-mips-elf/branch-misc-2.d: Removed. - -2002-12-10 Jason Thorpe <thorpej@wasabisystems.com> - - * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. - -2002-12-03 Nick Clifton <nickc@redhat.com> - - * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging - test. - * ld-powerpc/apuinfo1.s: New assembler source file. - * ld-powerpc/apuinfo2.s: New assembler source file. - * ld-powerpc/apuinfo.rd: New expected output file. - -2002-12-01 Stephane Carrez <stcarrez@nerim.fr> - - Fix PR savannah/1417: - * ld-m68hc11/bug-1417.s: New test. - * ld-m68hc11/bug-1417.d: Likewise. - -2002-11-28 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols. - -2002-11-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/refdbg-0-dso.d: New test. - * ld-sh/refdbg-1.d: Likewise. - * ld-sh/refdbg.s: Likewise. - * ld-sh/refdbglib.s: Likewise. - -2002-11-22 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/elf.exp: Remove sec64k test. - * ld-elf/sec64k.exp: Reinstate. - -2002-11-21 Alan Modra <amodra@bigpond.net.au> - - * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. - * ld-elf/merge.s: New file. - * ld-elf/merge.d: New file. - * ld-elf/merge.ld: New file. - -2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com> - - * ld-scripts/script.exp: Setup for tic4x testcase - -2002-11-15 Nick Clifton <nickc@redhat.com> - - * ld-h8300: New directory. - * ld-h8300/h8300.exp: New expect script. Only run tests for h8300 - targets. - * ld-h8300/relax.s: New assembler source file. - * ld-h8300/relax.d: New expected output file. - -2002-11-11 Hans-Peter Nilsson <hp@axis.com> - - * ld-elf/sec64k.exp: New test. - * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" - to a source file starting with "/". - -2002-11-10 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d, - ld-mmix/local7.d: Tweak for change in readelf output. - -2002-11-09 Alan Modra <amodra@bigpond.net.au> - - * ld-elfvsb/define.s: Avoid use of @ in .type directive. - -2002-11-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d, - ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests. - -2002-11-07 Nick Clifton <nickc@redhat.com> - - * ld-fastcall/fastcall.exp: Only run tests for PE type x86 - targets. - -2002-11-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/rd-sh.exp: Set asflags_save always. - -2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net> - - * ld-fastcall: New directory for testing fastcall support. - * ld-fastcall/export.s: New file for testing fastcall symbol - handling. - * ld-fastcall/import.s: Likewise. - * ld-fastcall/fastcall.exp: Likewise. - -2002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5. - * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5. - * ld-sh/tlspic-1.d: Likewise. - * ld-sh/tlspic-2.d: Likewise. - * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols - defined by the linker scripts. - -2002-10-14 Stephane Carrez <stcarrez@nerim.fr> - - * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12. - * ld-m68hc11/adj-jump.d: New test for linker relaxation. - * ld-m68hc11/adj-jump.s: Likewise. - * ld-m68hc11/adj-brset.s: Likewise. - * ld-m68hc11/adj-brset.d: Likewise. - * ld-m68hc11/relax-direct.s: Likewise. - * ld-m68hc11/relax-direct.d: Likewise. - * ld-m68hc11/relax-group.s: Likewise. - * ld-m68hc11/relax-group.d: Likewise. - * ld-m68hc11/bug-1403.d: Likewise. - * ld-m68hc11/bug-1403.s: Likewise. - -2002-10-14 Stephen Clarke <stephen.clarke@superh.com> - * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*. - * ld-sh/sh64/sh64.exp: Likewise. - * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*. - * ld-sh/sh64/abi32.sd: Adjust expected output to include - sh64*-*-linux* formats too. - * ld-sh/sh64/relax.exp: Add emul32 variable to hold target - emulation, and set it appropriately for sh*-*-linux*. - * ld-sh/sh64/relfail.exp: Add variables to hold target - emulation, output format, start symbol, and whether target - supports 64-bit ABI. Set appropriately for sh*-*-linux*. - -2002-10-12 H.J. Lu (hjl@gnu.org) - - * ld-discard/extern.d: Remove $srcdir/$subdir/. - * ld-discard/start.d: Likewise. - * ld-discard/static.d: Likewise. - * ld-linkonce/zeroehl32.d: Likewise. - * ld-selective/keepdot.d: Likewise. - * ld-selective/keepdot0.d: Likewise. - -2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output - of linker to the file tmpdir/*-dso.so. - * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. - * ld-sh/tlsbin-0-dso.d: New. - * ld-sh/tlsbin-1.d: New. - * ld-sh/tlsbin-2.d: New. - * ld-sh/tlsbin-3.d: New. - * ld-sh/tlsbin-4.d: New. - * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. - * ld-sh/tlspic-1.d: New. - * ld-sh/tlspic-2.d: New. - * ld-sh/tlspic-3.d: New. - * ld-sh/tlspic-4.d: New. - -2002-10-10 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/combreloc.s: New test. - * ld-i386/combreloc.d: New test. - * ld-i386/i386.exp (i386tests): Add it. - -2002-10-10 Alan Modra <amodra@bigpond.net.au> - - * ld-i386/i386.exp (reloc): Turn off combreloc. - * ld-i386/reloc.d: Likewise. - * ld-powerpc/powerpc.exp: Likewise. - * ld-powerpc/reloc.d: Likewise. - -2002-10-03 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc - 3.x. - -2002-10-03 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be - more compatible with non-embedded targets. - * ld-mips-elf/branch-misc-2.d: Likewise. - - * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded - PIC tests. - (elf): New variable, to control whether generic ELF tests are run. - (embedded_elf): New variable, to control whether ELF tests - requiring embedded PIC or embedded relocs are run. - -2002-10-02 Stephen Clarke <stephen.clarke@superh.com> - - * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map, - ld-sh/sh64/gotplt.s: New test. - -2002-10-02 Stephen Clarke <stephen.clarke@superh.com> - * ld-sh/sh64/cmpct1.sd : Fix linked file name. - * ld-sh/sh64/crange3.dd: Likewise. - -2002-10-01 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/i386.exp: Add tlsindntpoff test. - * ld-i386/tlsindntpoff.s: New test. - * ld-i386/tlsindntpoff.dd: New test. - -2002-10-01 Jakub Jelinek <jakub@redhat.com> - - * ld-x86-64/tlspic1.s: Change TLSGD sequences. - * ld-x86-64/tlsbinpic.s: Likewise. - * ld-x86-64/tlspic.dd: Adjust. - -2002-10-01 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/i386.exp: Add tlsg test. - * ld-i386/tlsg.s: New test. - * ld-i386/tlsg.sd: New test. - * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments. - * ld-i386/tlsbinpic.s: Likewise. - * ld-x86-64/x86-64.exp: Add tlsg test. - * ld-x86-64/tlsg.s: New test. - * ld-x86-64/tlsg.sd: New test. - * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments. - * ld-x86-64/tlsbinpic.s: Likewise. - -2002-09-30 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF. - -2002-09-30 Alan Modra <amodra@bigpond.net.au> - - * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New. - * ld-powerpc/powerpc.exp: New. - - * ld-i386/reloc.s, ld-i386/reloc.d: New. - * ld-i386/i386.exp: Run new test. - -2002-09-27 Jakub Jelinek <jakub@redhat.com> - - * lib/ld-lib.exp (run_ld_link_tests): Add. - * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, - file_contents): Remove. - (sh64tests): Add 6th field to the tests array. - * ld-i386/i386.exp (run_ld_link_tests): Remove. - * ld-x86-64/x86-64.exp: New. - * ld-x86-64/tlsbin.dd: New test. - * ld-x86-64/tlsbinpic.s: New test. - * ld-x86-64/tlsbin.rd: New test. - * ld-x86-64/tlsbin.s: New test. - * ld-x86-64/tlsbin.sd: New test. - * ld-x86-64/tlsbin.td: New test. - * ld-x86-64/tlslib.s: New test. - * ld-x86-64/tlspic1.s: New test. - * ld-x86-64/tlspic2.s: New test. - * ld-x86-64/tlspic.dd: New test. - * ld-x86-64/tlspic.rd: New test. - * ld-x86-64/tlspic.sd: New test. - * ld-x86-64/tlspic.td: New test. - -2002-09-21 Alan Modra <amodra@bigpond.net.au> - - * ld-undefined/undefined.exp: Adjust function test. - -2002-09-20 Alan Modra <amodra@bigpond.net.au> - - * ld-i386/i386.exp: Only run tests on ELF targets. - -2002-09-19 Jakub Jelinek <jakub@redhat.com> - - * ld-i386/i386.exp: New. - * ld-i386/tlsbin.dd: New test. - * ld-i386/tlsbinpic.s: New test. - * ld-i386/tlsbin.rd: New test. - * ld-i386/tlsbin.s: New test. - * ld-i386/tlsbin.sd: New test. - * ld-i386/tlsbin.td: New test. - * ld-i386/tlslib.s: New test. - * ld-i386/tlsnopic1.s: New test. - * ld-i386/tlsnopic2.s: New test. - * ld-i386/tlsnopic.dd: New test. - * ld-i386/tlsnopic.rd: New test. - * ld-i386/tlsnopic.sd: New test. - * ld-i386/tlspic1.s: New test. - * ld-i386/tlspic2.s: New test. - * ld-i386/tlspic.dd: New test. - * ld-i386/tlspic.rd: New test. - * ld-i386/tlspic.sd: New test. - * ld-i386/tlspic.td: New test. - -2002-09-18 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/branch-misc-1.d: New file. - * ld-mips-elf/branch-misc-2.d: New file. - * ld-mips-elf/mips-elf.exp: Run new tests. - -2002-09-05 Alan Modra <amodra@bigpond.net.au> - - * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - -2002-08-31 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-10.d: Tweak for change in symbols handling. - * ld-mmix/bpo-11.d: Ditto. - - * ld-mmix/b-nosym.d: Adjust for changed output for absence of - symbols. - - * ld-mmix/sec-7m.d: Rename tested section from .debug_info to - .di. - * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, - ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto. - -2002-08-28 Alan Modra <amodra@bigpond.net.au> - - * ld-discard/discard.exp: xfail m6812. - * ld-scripts/map-address.d: Adjust for extras emitted by pe targets. - -2002-08-27 Alan Modra <amodra@bigpond.net.au> - - * ld-mmix/b-nosym.d: Revert last change. - -2002-08-26 Alan Modra <amodra@bigpond.net.au> - - * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout. - -2002-08-23 Stephen Clarke <stephen.clarke@superh.com> - - * ld-sh/sh64/rd-sh64.exp: New framework file. - * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, - ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for - correct setting of ISA bit for init and fini entry-points. - -2002-08-16 Stephen Clarke <stephen.clarke@superh.com> - - * ld-sh/sh64/sh64.exp: Add dlsection. - * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New. - -2002-08-16 Alan Modra <amodra@bigpond.net.au> - - * ld-discard/discard.exp: xfail targets using generic linker. - * ld-discard/extern.d: Allow "data" to be reduced to a section sym. - -2002-08-15 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-4.d, ld-cris/undef1.d: New test. - -2002-08-13 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add vers23c and vers23d. - - * ld-elfvers/vers23c.ver: New. - * ld-elfvers/vers23d.dsym: New. - -2002-08-12 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add vers23. - - * ld-elfvers/vers23.c: New. - * ld-elfvers/vers23.dsym: New. - * ld-elfvers/vers23.ver: New. - * ld-elfvers/vers23a.c: New. - * ld-elfvers/vers23a.dsym: New. - * ld-elfvers/vers23a.map: New. - * ld-elfvers/vers23a.sym: New. - * ld-elfvers/vers23a.ver: New. - * ld-elfvers/vers23b.c: New. - * ld-elfvers/vers23b.dsym: New. - * ld-elfvers/vers23b.map: New. - * ld-elfvers/vers23b.ver: New. - -2002-08-12 Stephen Clarke <stephen.clarke@superh.com> - - * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section - listing. - * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, - ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise. - * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols - is no longer set to object. - * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd, - ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd, - ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd, - ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, - ld-sh/sh64/shdl64.xd: Likewise. - -2002-08-10 Alan Modra <amodra@bigpond.net.au> - - * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. - * ld-linkonce/linkonce.exp: Likewise. - * ld-selective/sel-dump.exp: Likewise. - * ld-selective/selective.exp: Don't run on aout or bout. - -2002-08-08 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add vers22. - - * ld-elfvers/vers22.c: New. - * ld-elfvers/vers22.dsym: New. - * ld-elfvers/vers22.map: New. - * ld-elfvers/vers22.ver: New. - * ld-elfvers/vers22a.c: New. - * ld-elfvers/vers22a.dsym: New. - * ld-elfvers/vers22a.sym: New. - * ld-elfvers/vers22a.ver: New. - * ld-elfvers/vers22b.c: New. - * ld-elfvers/vers22b.dsym: New. - * ld-elfvers/vers22b.ver: New. - -2002-08-07 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add --no-undefined-version. - - * ld-elfvers/vers1.map: Remove the unused foo1 and foo2. - * ld-elfvers/vers8.map: Likewise. - * ld-elfvers/vers18.map: Likewise. - -2002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, - ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. - * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, - ld-linkonce/linkonce.exp, ld-shared/shared.exp, - ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* - targets. - * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, - ld-discard/static.s: Add whitespace before assembler directives. - -2002-07-29 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set. - -2002-07-26 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/mips16-1.d, - * ld-mips-elf/mips16-1[ab].s: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/sec-1.d: Adjust for changes in padding. - * ld-mmix/sec-3.d: Ditto. - -2002-07-15 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Add vers21. - - * ld-elfvers/vers21.c: New. - * ld-elfvers/vers21.dsym: New. - * ld-elfvers/vers21.map: New. - * ld-elfvers/vers21.sym: New. - * ld-elfvers/vers21.ver: New. - -2002-07-12 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, - ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, - ld-cris/expdref1.s: New tests. - -2002-07-09 Richard Sandiford <rsandifo@redhat.com> - - * ld-scripts/dynamic-sections*: New test. - -2002-07-09 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, - ld-cris/noglob1.d: New tests. - - * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections. - -2002-07-03 Alan Modra <amodra@bigpond.net.au> - - * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure - consistent sorting. - (run_dump_test): Likewise for objdump/nm/objcopy/readelf. - * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise. - -2002-06-29 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, - ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test. - -2002-06-18 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently - turned up by recent assembler changes. - -2002-06-17 Tom Rix <trix@redhat.com> - - * ld-d10v/d10v.exp: New driver for d10v. - * ld-d10v/default_layout.d : New test. - * ld-d10v/regression-001.lt: New test for a linker regression. - * ld-d10v/linktest-002.lt: New test for run_link_test. - * ld-d10v/reloc-001.d - reloc-016.d: New tests. - -2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to - script. - -2002-06-11 Andreas Jaeger <aj@suse.de> - - * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails. - -2002-06-10 Richard Sandiford <rsandifo@redhat.com> - - * ld-mips-elf/region1a.s, - * ld-mips-elf/region1b.s, - * ld-mips-elf/region1.t, - * ld-mips-elf/region1.d: New test. - * ld-mips-elf/mips-elf.exp: Run it. - -2002-06-07 Nick Clifton <nickc@cambridge.redhat.com> - - * ld-scripts/phdrs2.s: Use .p2align instead of .align. - Use section names .foo and .bar instead of .text and .data. - * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text - and .data. - -2002-06-06 David Heine <dlheine@tensilica.com> - - * ld-scripts/phdrs2.exp: New file: Run second phdrs test. - * ld-scripts/phdrs2.s: New file: Dummy assembler source. - * ld-scripts/phdrs2.t: New file: Linker script with an empty - section at the start of a loadable segment. - -2005-06-02 H.J. Lu <hjl@gnu.org> - - * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with - -fuse-cxa-atexit. - (__cxa_atexit): Likewise. - -2002-05-30 Richard Henderson <rth@redhat.com> - - * ld-bootstrap/bootstrap.exp: Test --relax. - -2002-05-28 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-2.d: Tweak for combreloc now default on. - -2002-05-07 Richard Sandiford <rsandifo@redhat.com> - - * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. - (is_elf_format): New, extracted from... - * ld-scripts/weak.exp: ...here. - * ld-scripts/overlay-size.exp: New test. - * ld-scripts/overlay-size.[tsd], - * ld-scripts/overlay-size-map.d: New files for it. - -2002-05-02 Richard Sandiford <rsandifo@redhat.com> - - * ld-scripts/map-address.exp: Quote conditions. - -2002-04-30 Richard Sandiford <rsandifo@redhat.com> - - * ld-scripts/map-address.exp: New test. - * ld-scripts/map-address.[td]: New files for it. - -2002-04-19 Richard Henderson <rth@redhat.com> - - * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha. - * ld-shared/shared.exp: Likewise. - * ld-selective/selective.exp: Disable for alpha. - * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails. - -2002-04-05 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. - -2002-03-19 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/ldsym1.d: New test. - - * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no - longer set to object. - * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, - ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d, - ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d, - ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d, - ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d, - ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d, - ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d, - ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d, - ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d, - ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d, - ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto. - -2002-03-11 Andreas Jaeger <aj@suse.de> - - * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that - places zero initialized data in the bss. - * ld-elfweak/lddsodata.dsym: Likewise. - -2002-03-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/expdyn1.d: Tweak for change in elf.sc. - -2002-02-24 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-sh/ld-r-1.d: Adjust to changes in readelf output. - * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd, - ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto. - -2002-02-18 Daniel Jacobowitz <drow@mvista.com> - - * ld-elfvsb/sh1.c: Fix typo in last change. - -2002-02-17 Daniel Jacobowitz <drow@mvista.com> - - * ld-elfvsb/sh1.c: Use #pragma weak. - -2002-02-17 Daniel Jacobowitz <drow@mvista.com> - - * vers.exp: Do not call diff -q. - -2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol - output. - * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, - ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test. - - * ld-mmix/bpo-22.d: New test. - - * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss, - and .bss. - -2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ld-selective/selective.exp: Link against libgcc on - hppa*-*-linux* targets. - -2002-02-11 Alexandre Oliva <aoliva@redhat.com> - - * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field. - * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s. - * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications - in section ordering. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crange3.dd: Likewise. - - * ld-sh/shared-1.d: Fix relocation addend. - -2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New - tests. - -2002-02-08 Alexandre Oliva <aoliva@redhat.com> - - Contribute sh64-elf. - 2002-02-02 Alexandre Oliva <aoliva@redhat.com> - * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - 2002-01-28 Alexandre Oliva <aoliva@redhat.com> - * ld-sh/sh64/abi32.xd: Formatting changes to match the current - output of objdump. - * ld-sh/sh64/cmpct1.xd: Likewise. - * ld-sh/sh64/crange1.rd: Likewise. - * ld-sh/sh64/crange2.rd: Likewise. - * ld-sh/sh64/crange3-cmpct.rd: Likewise. - * ld-sh/sh64/crange3-media.rd: Likewise. - * ld-sh/sh64/crange3.rd: Likewise. - * ld-sh/sh64/crangerel1.rd: Likewise. - * ld-sh/sh64/crangerel2.rd: Likewise. - * ld-sh/sh64/mix1.xd: Likewise. - * ld-sh/sh64/mix2.xd: Likewise. - * ld-sh/sh64/rel32.xd: Likewise. - * ld-sh/sh64/reldl32.rd: Likewise. - * ld-sh/sh64/reldl64.rd: Likewise. - * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack - sessions, to match changes in the linker script. - 2001-06-14 Alexandre Oliva <aoliva@redhat.com> - * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation - info to reflect renumbering of relocation types. - 2001-03-14 DJ Delorie <dj@redhat.com> - * ld-sh/sh64/endian.dbd: New file, endian tests. - * ld-sh/sh64/endian.dld: Ditto. - * ld-sh/sh64/endian.ld: Ditto. - * ld-sh/sh64/endian.s: Ditto. - * ld-sh/sh64/endian.sbd: Ditto. - * ld-sh/sh64/endian.sld: Ditto. - * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld. - 2001-03-12 DJ Delorie <dj@redhat.com> - * ld-sh/sh64/relax.exp: New file, test disabling relaxing. - * ld-sh/sh64/relax1.s: Ditto. - * ld-sh/sh64/relax2.s: Ditto. - * ld-sh/sh64/relax3.s: Ditto. - * ld-sh/sh64/relax4.s: Ditto. - * ld-sh/sh64/relfail.exp: New file, test for bogus relocs. - * ld-sh/sh64/relfail.s: Ditto. - 2001-03-12 DJ Delorie <dj@redhat.com> - * ld-sh/sh.exp: This test isn't appropriate for SH64 since it - uses SH32 assembler files. - 2001-03-07 DJ Delorie <dj@redhat.com> - * ld-selective/selective.exp: Pass "-e _start" for sh64 to - accomodate expected start symbol in test. - 2001-03-06 DJ Delorie <dj@redhat.com> - * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64, - to match what gcc passes to the linker by default. - * ld-selective/selective.exp: Ditto. - * ld-srec/srec.exp: Ditto, plus XFAIL for sh64. - * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2). - 2001-03-06 DJ Delorie <dj@redhat.com> - * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout. - * ld-sh/sh64/abi64.xd (stack): Ditto. - * ld-sh/sh64/cmpct1.xd (stack): Ditto. - * ld-sh/sh64/crange1.rd (stack): Ditto. - * ld-sh/sh64/crange2.rd (stack): Ditto. - * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto. - * ld-sh/sh64/crange3-media.rd (stack): Ditto. - * ld-sh/sh64/crange3.rd (stack): Ditto. - * ld-sh/sh64/mix1.xd (stack): Ditto. - * ld-sh/sh64/mix2.xd (stack): Ditto. - * ld-sh/sh64/shdl32.xd (stack): Ditto. - * ld-sh/sh64/shdl64.xd (stack): Ditto. - 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section. - * ld-sh/sh64/mix2.xd: Ditto. - 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address - being SHmedia. - * ld-sh/sh64/shdl64.xd: Ditto. - * ld-sh/sh64/shdl32.xd: Ditto. - * ld-sh/sh64/mix2.xd: Ditto. - * ld-sh/sh64/crange3-media.rd: Ditto. - * ld-sh/sh64/abi64.xd: Ditto. - 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/crange-2a.s (diversion2): New global symbol. - * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol. - Adjust section type for .cranges; expect sorted contents. - * ld-sh/sh64/crange2.rd: Ditto. - * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto. - * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol. - * ld-sh/sh64/crangerel2.rd: Ditto. - * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges. - * ld-sh/sh64/mix2.xd: Ditto. - * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New - tests. - * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests. - 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid - target for (unexpanded) PTB. Add an .align 2 to SHmedia code to - keep properly aligned. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly. - * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd, - ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and - R_SH_PT_16 relocation. - * ld-sh/sh64/sh64.exp: Run new tests. - 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s, - ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s, - ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests. - * ld-sh/sh64/sh64.exp: Run new tests. - * ld-sh/sh64/crange1.rd: Correct section flags. - * ld-sh/sh64/crange2.rd: Ditto. - * ld-sh/sh64/crangerel1.rd: Ditto. - 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s, - ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s, - ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s, - ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, - ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for - handling .cranges section. - * ld-sh/sh64/sh64.exp: Run new tests. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, - ld-sh/sh64/mix2.xd: Adjust for .cranges section. - 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd, - ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd, - ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, - ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and - .data individually 8-byte aligned. - 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd, - ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s, - ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests. - * ld-sh/sh64/sh64.exp: Make it possible to use readelf as - inspection tool. Run new tests. - 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd, - ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions. - * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd, - ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests. - * ld-sh/sh64/sh64.exp: Run new tests. - 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd, - ld-sh/sh64/shcmp-1.s: New test. - * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat. - 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI - test. - * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF. - 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for - tests. - 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI - registers. - * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s: - New test. - * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s, - ld-sh/sh64/shmix-3.s: New test. - * ld-sh/sh64/sh64.exp: Add new tests to sh64tests. - 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> - * ld-sh/sh64: New testsuite. - -2002-02-07 Hans-Peter Nilsson <hp@axis.com> - - * ld-selective/keepdot.s: Remove section specifier. - -2002-02-05 Hans-Peter Nilsson <hp@axis.com> - - * ld-selective/keepdot.d, ld-selective/keepdot.ld, - ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. - * ld-selective/sel-dump.exp: New, driver for run_dump_test:s. - -2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d, - ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d, - ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests - for on-demand global register allocation. - -2002-02-02 Alexandre Oliva <aoliva@redhat.com> - - * ld-sh/shared-1.d: Fix incorrect offsets. - -2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d, - ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, - ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, - ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, - ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, - ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, - ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, - ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, - ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, - ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, - ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, - ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, - ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, - ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests. - -2002-01-31 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s, - ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. - * ld-cris/cris.exp: Split run_dump_tests in two parts, executing - tests named *dso-*.d first and copying their tmpdir/dump to files - named as the .d-file. - -2002-01-31 Alan Modra <amodra@bigpond.net.au> - - * ld-scripts/crossref.exp: Allow foo to have a leading dot. - * ld-scripts/cross1.t: Add .opd. - * ld-undefined/undefined.exp: Allow leading dot on sym names. - * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms. - -2002-01-29 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs. - * ld-mips-elf/emrelocs-el.d: Likewise. - * ld-mips-elf/emrelocs1.s: Likewise. - * ld-mips-elf/emrelocs2.s: Likewise. - * ld-mips-elf/emrelocs.ld: Likewise. - * ld-mips-elf/mips-elf.exp: Add the above to the list of tests. - -2002-01-21 Hans-Peter Nilsson <hp@axis.com> - - * ld-cris: New testsuite directory. - -2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> - - * ld-sh/sh.exp: Copy start.s file into test directory. - -2002-01-14 Nick Clifton <nickc@cambridge.redhat.com> - - * ld-selective/selective.exp: For ARM targets, link with libgcc.a. - -2002-01-02 Chris Demetriou <cgd@broadcom.com> - - * ld-mips-elf/empic1-ln.d: New file to test basic linking of - R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. - * ld-mips-elf/empic1-lp.d: Likewise. - * ld-mips-elf/empic1-mn.d: Likewise. - * ld-mips-elf/empic1-mp.d: Likewise. - * ld-mips-elf/empic1-sn.d: Likewise. - * ld-mips-elf/empic1-sp.d: Likewise. - * ld-mips-elf/empic1-ref.s: Likewise. - * ld-mips-elf/empic1-space.s: Likewise. - * ld-mips-elf/empic1-tgt.s: Likewise. - * ld-mips-elf/empic2-fwd-0.d: New file to test - R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge - cases. - * ld-mips-elf/empic2-fwd-1.d: Likewise. - * ld-mips-elf/empic2-rev-0.d: Likewise. - * ld-mips-elf/empic2-rev-1.d: Likewise. - * ld-mips-elf/empic2-ref.s: Likewise. - * ld-mips-elf/empic2-space.s: Likewise. - * ld-mips-elf/empic2-fwd-tgt.s: Likewise. - * ld-mips-elf/empic2-rev-tgt.s: Likewise. - * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF - tests (including those above). - -2001-11-30 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp (build_vers_lib): Preserve the library - order. - -2001-11-29 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp (build_vers_lib): Support linking against - more than one libraries. - Add "vers20a" and "vers20" tests for common symbols. - - * ld-elfvers/vers20.c: New. - * ld-elfvers/vers20.dsym: New. - * ld-elfvers/vers20.map: New. - * ld-elfvers/vers20.ver: New. - * ld-elfvers/vers20a.ver: New. - -2001-11-19 H.J. Lu <hjl@gnu.org> - - * ld-elfvsb/define.s: Mark all global lables as object. - - * ld-elfvsb/hidden0.d: Match large section number. - * ld-elfvsb/hidden1.d: Likewise. - * ld-elfvsb/internal0.d: Likewise. - * ld-elfvsb/internal1.d: Likewise. - * ld-elfvsb/protected0.d: Likewise. - * ld-elfvsb/protected1.d: Likewise. - - * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. - * ld-elfvsb/internal0.d: Likewise. - * ld-elfvsb/protected0.d: Likewise. - -2001-11-15 H.J. Lu <hjl@gnu.org> - - * ld-sh/ld-r-1.d: Updated. - -2001-11-14 Nick Clifton <nickc@cambridge.redhat.com> - - * ld-bootstrap/bootstrap.exp: Only scan tail of executable for - PE targets. - -2001-11-12 Donn Terry <donnte@microsoft.com> - - * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two - binary files produced in order to avoid date stamp present in PE - binaries. - -2001-11-11 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit. - -2001-11-09 H.J. Lu <hjl@gnu.org> - - * ld-discard/discard.exp: New. Test ld discard. - * ld-discard/discard.ld: Likewise. - * ld-discard/exit.s: Likewise. - * ld-discard/extern.d: Likewise. - * ld-discard/extern.s: Likewise. - * ld-discard/start.d: Likewise. - * ld-discard/start.s: Likewise. - * ld-discard/static.d: Likewise. - * ld-discard/static.s: Likewise. - -2001-11-02 H.J. Lu <hjl@gnu.org> - - * ld-elfvsb/elfvsb.exp: Add the "ld -r" test. - - * ld-elfvsb/hidden0.d: New. - * ld-elfvsb/hidden1.d: New. - * ld-elfvsb/internal0.d: New. - * ld-elfvsb/internal1.d: New. - * ld-elfvsb/protected0.d: New. - * ld-elfvsb/protected1.d: New. - * ld-elfvsb/undef.s: New. - * ld-elfvsb/undef.s: New. - -2001-11-02 NIIBE Yutaka <gniibe@m17n.org> - - * ld-sh/sh.exp: Have its own start.s for linux. - -2001-10-31 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix/locdo-1.d: Prune character dump part. - * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d, - ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, - ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, - ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, - ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, - ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, - ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove - unnecessary empty lines. - -2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-mmix: New testsuite directory. - -2001-10-14 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on - sh*-*-elf. - - * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}. - - * ld-sh/rd-sh.exp: New framework file. - * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, - ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New - test files. - -2001-09-29 Hans-Peter Nilsson <hp@axis.com> - - * ld-linkonce/linkonce.exp: New file. - * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, - ld-linkonce/zeroehl32.d: New test. - -2001-09-25 H.J. Lu <hjl@gnu.org> - - * ld-elfweak/dso.dsym: Updated for alpha. - * ld-elfweak/dsodata.dsym: Likewise. - * ld-elfweak/strong.sym: Likewise. - * ld-elfweak/strongcomm.sym: Likewise. - * ld-elfweak/strongdata.sym: Likewise. - -2001-09-15 Hans-Peter Nilsson <hp@bitrange.com> - - * lib/ld-lib.exp (run_dump_test): Handle new option - "objcopy_linked_file". Return after failing, if errors were - expected but none were found. - (slurp_options): Support underscores in option names. - -2001-09-14 H.J. Lu <hjl@gnu.org> - - * ld-elfweak/bar.c: Updated. - * ld-elfweak/bar1a.c: Likewise. - * ld-elfweak/main.c: Likewise. - * ld-elfweak/main1.c: Likewise. - * ld-elfweak/elfweak.exp: Likewise. - * ld-elfweak/weakdata.dsym: Updated. - -2001-09-11 H.J. Lu <hjl@gnu.org> - - * ld-elfweak/elfweak.exp (build_lib): Take a list of object - files. - (build_exec): Likewise. - Add more tests and make some xfail. - - * ld-elfweak/dso.dsym: Support symbol versioning. - * ld-elfweak/dsow.dsym: Likewise. - - * ld-elfweak/main1.c: New. - * ld-elfweak/bar1a.c: Likewise. - * ld-elfweak/bar1b.c: Likewise. - * ld-elfweak/bar1c.c: Likewise. - * ld-elfweak/foo1a.c: Likewise. - * ld-elfweak/foo1b.c: Likewise. - * ld-elfweak/dsodata.dsym: Likewise. - * ld-elfweak/dsowdata.dsym: Likewise. - * ld-elfweak/weakdata.dsym: Likewise. - * ld-elfweak/strongcomm.sym: Likewise. - * ld-elfweak/strongdata.sym: Likewise. - * ld-elfweak/weakdata.dat: Likewise. - * ld-elfweak/strongdata.dat: Likewise. - -2001-09-10 H.J. Lu <hjl@gnu.org> - - * ld-elfweak/elfweak.exp: New. - * ld-elfweak/bar.c: Likewise. - * ld-elfweak/foo.c: Likewise. - * ld-elfweak/main.c: Likewise. - * ld-elfweak/dso.dsym: Likewise. - * ld-elfweak/dsow.dsym: Likewise. - * ld-elfweak/strong.sym: Likewise. - * ld-elfweak/strong.dat: Likewise. - * ld-elfweak/weak.dat: Likewise. - -2001-08-27 Alan Modra <amodra@bigpond.net.au> - Linus Nordberg <linus@swox.se> - - * ld-checks/checks.exp: .lcomm is incompatible with ppc coff. - * ld-scripts/cross1.t: Add .toc section. - * ld-scripts/cross2.t: Likewise. - * ld-scripts/phdrs.exp: powerpc64 is 64 bit. - * ld-srec/srec.exp: xfail powerpc64 - -2001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> - - * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'. - Continue with other tests when there is a compilation error. - -2001-08-01 Loren J. Rittle <ljrittle@acm.org> - - * ld-cdtest/cdtest-nrv.dat: New file. - * ld-cdtest/cdtest.exp: Do not require any exception support - library. Check results against NRV. - -2001-08-01 Loren J. Rittle <ljrittle@acm.org> - - * ld-srec/srec.exp: Do not require any exception support - library. - -2001-07-27 H.J. Lu <hjl@gnu.org> - - * ld-selective/selective.exp: Fix the error in the last change. - -2001-07-24 Loren J. Rittle <ljrittle@acm.org> - - * ld-selective/selective.exp: Support g++ V3 ABI (along side - the old ABI). Make comparisons against normalized (to - V3-style) demangled nm output. - -2001-07-24 Alan Modra <amodra@bigpond.net.au> - - * config/default.exp (ld_nm): Add "nmflags" arg. - * lib/ld-lib.exp (default_ld_nm): Likewise. - * ld-empic/empic.exp: Adjust call to ld_nm. - * ld-scripts/defined.exp: Likewise. - * ld-scripts/script.exp: Likewise. - * ld-scripts/sizeof.exp: Likewise. - * ld-selective/selective.exp: Likewise. - * ld-sh/sh.exp: Likewise. - -2001-07-12 H.J. Lu <hjl@gnu.org> - - * ld-selective/selective.exp: Mark selective1, selective2, - selective4 and selective5 xfail on alpha*-*. - -2001-06-13 Hans-Peter Nilsson <hp@bitrange.com> - - * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY, - OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide - default. - - * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add - new options "ld", "source", "xfail", "target", "notarget" and - "error". Support the runtest_file_p "*.exp=testname" feature. - (slurp_options, regexp_diff, file_contents, verbose_eval): Import - from gas testsuite. - -2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule. - -2001-06-06 H.J. Lu <hjl@gnu.org> - - * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 - on Linux/mips. - - * ld-elfvers/vers.exp: Also run on Linux/mips. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-shared/shared.exp: Likewise. - - * ld-selective/selective.exp: Mark selective2, selective3, - selective4 and selective5 xfail on Linux/mips. - - * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. - - * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. - - * ld-srec/srec.exp: Add Linux/mips to xfail. - -2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> - - * ld-undefined/undefined.exp: Add a setup_xfail line for a test - that will always fail on s/390. - -2001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp> - - * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for - the text section. - -2001-05-25 Alan Modra <amodra@one.net.au> - - * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and - linuxaout with linux*aout. - -2001-05-24 H.J. Lu <hjl@gnu.org> - - * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform. - -2001-05-18 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Revert the last change. - - * ld-elfvers/vers2.ver: Put back "tmpdir/" the version - references. - * ld-elfvers/vers3.ver: Likewise. - * ld-elfvers/vers6.ver: Likewise. - * ld-elfvers/vers18.ver: Likewise. - -2001-05-17 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". - - * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version - definition. - * ld-elfvers/vers2.ver: Likewise. - * ld-elfvers/vers3.ver: Likewise. - * ld-elfvers/vers4a.ver: Likewise. - * ld-elfvers/vers6.ver: Likewise. - * ld-elfvers/vers7a.ver: Likewise. - * ld-elfvers/vers8.ver: Likewise. - * ld-elfvers/vers9.ver: Likewise. - * ld-elfvers/vers15.ver: Likewise. - * ld-elfvers/vers16a.ver: Likewise. - * ld-elfvers/vers17.ver: Likewise. - * ld-elfvers/vers18.ver: Likewise. - -2001-05-03 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers19.ver: Expect vers17.so instead of - *tmpdir/vers17.so. - -2001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> - - * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform. - - * ld-scripts/phdrs.t: Use startaddress that's greater than any - MAXPAGESIZE used. - -2001-04-29 H.J. Lu <hjl@gnu.org> - - * ld-shared/symbolic.dat: New. - - * ld-shared/shared.exp: Also check -Bsymbolic. - -2001-04-28 Andreas Jaeger <aj@suse.de> - - * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it - special. - -2001-04-01 David O'Brien <obrien@FreeBSD.org> - * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even - though it doesn't use DWARF2 yet (but its output is identical). - -2001-04-01 David O'Brien <obrien@FreeBSD.org> - - * ld-selective/selective.exp: Use -O with gcc rather than -O2. - This optimization level is buggy on some platforms, and this test - is not intended to test compiler optimizations. - -2001-03-06 DJ Delorie <dj@redhat.com> - - * ld-scripts/cross2.t: Support any type of text/data sections, not - just the canonical ones. - -2001-02-28 Matt Hiller <hiller@redhat.com> - - * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian]. - * ld-undefined/undefined.exp: Ditto, and include $flags in ld - invocations. - * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL - and -el. - (is_endian_output_format): New function. - (default_ld_link): Set flags to [big_or_little_endian] only if ld - is being invoked such that the output format being used is of - known endianness. - (default_ld_simple_link): Ditto. - -2001-02-22 Timothy Wall <twall@cygnus.com> - - * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from - AIX-specific test. - -2001-02-14 H.J. Lu <hjl@gnu.org> - - * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 - for -static on ia64. - - * ld-checks/checks.exp: Don't run on ia64-*-elf* nor - ia64-*-linux*. - - * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*. - - * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*. - Set up expected failures for ia64-*-linux*. - * ld-shared/shared.exp: Likewise. - -2001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> - - * ld-srec/srec.exp (run_srec_test): m6811 code has references - to soft registers, define them with --defsym. - * ld-selective/selective.exp: Likewise. - -2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> - - * ld-srec/sr3.cc (__rethrow): New. - -2001-01-14 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-sh/sh.exp: Use --oformat srec, not -oformat srec. - -2001-01-03 Philip Blundell <pb@futuretv.com> - - * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha. - * ld-shared/shared.exp: Likewise. - -2001-01-01 Philip Blundell <philb@gnu.org> - - * ld-undefined/weak-undef.exp: New test. - * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting - files for above. - - * ld-elfvers/vers.exp: Run test on Linux/ARM. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-shared/shared.exp: Likewise. - -2000-12-31 Nick Clifton <nickc@redhat.com> - - * ld-srec/srec.exp: Use --oformat instead of -oformat. - -2000-12-09 Nick Clifton <nickc@redhat.com> - - * ld-selective/selective.exp: Link in libgcc when target is v850. - - * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets - because the -oformat linker command switch cannot be used. - -2000-11-06 Alan Modra <alan@linuxcare.com.au> - - * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h. - (main): Prune unused args. - -2000-10-29 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-selective/selective.exp <no CXX>: Fix typo for argument to - "untested". - -2000-10-19 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures - for Linux/PPC. - * ld-shared/shared.exp: Likewise. - -2000-10-09 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-selective/selective.exp: Rearrange to be table-driven. - -2000-10-07 Alan Modra <alan@linuxcare.com.au> - - * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too. - -2000-10-02 Alan Modra <alan@linuxcare.com.au> - - * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more. - * ld-scripts/crossref.exp: Ditto. - -2000-09-29 Hans-Peter Nilsson <hp@bitrange.com> - - * ld-selective/5.cc: New test. - * ld-selective/selective.exp: Run it as xfailed. - - * ld-selective/4.cc: Correct spelling of "lose". - -2000-09-05 Alan Modra <alan@linuxcare.com.au> - - * ld-selective/selective.exp: Remove the xfails for hppa. - -2000-08-30 Alexandre Oliva <aoliva@redhat.com> - - * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf, - sh-*-*): With dwarf-2, `undefined function' can't pass. - -2000-08-03 H.J. Lu (hjl@gnu.org) - - * ld-bootstrap/bootstrap.exp: Add strip. - -2000-07-24 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of - the undefined reference. - -2000-07-16 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check - and set to "yes" if the protected visibility is expected to - pass. - (visibility_run): Set expected to fail for the "protected" - and "protected_undef_def" tests only if $support_protected is - "no". - - * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected - visibility support if defined. - -2000-07-15 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure - for "protected_undef_def". - - * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when - PROTECTED_WEAK_TEST is defined. - Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is - defined. - Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined. - - * ld-elfvsb/sh1.c (visibility): Mark protected only if - PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST - is defined. - (visibility_var): Likewise. - -2000-07-10 Alan Modra <alan@linuxcare.com.au> - - * ld-srec/srec.exp: xfail hppa. - - * ld-scripts/weak.exp: Define $global$ for hppa. - - * ld-scripts/crossref.exp: Fix string quoting. - -2000-06-05 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Redirect the linker output - to link_output and make it global. - - * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef", - "hidden_undef_def", "hidden_weak", "protected_undef", - "protected_undef_def" and "protected_weak". - (visibility_run): Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - - * ld-elfvsb/elfvsb.dat: Updated. - -2000-05-21 H.J. Lu (hjl@gnu.org) - - * ld-elfvsb/main.c (main_visibility_check): Fix the protected - visibility test. - -2000-05-13 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Redirect the linker output - to link_output and make it global. - - * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture - tests. - * ld-elfvsb/elfvsb.dat: Likewise. - * ld-elfvsb/elfvsb.exp: Likewise. - * ld-elfvsb/main.c: Likewise. - * ld-elfvsb/sh1.c: Likewise. - * ld-elfvsb/sh2.c: Likewise. - -Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com> - - * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too. - -2000-04-12 Alan Modra <alan@linuxcare.com.au> - - * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure. - - * ld-selective/selective.exp (test4): Test for presence of - foo__1B, not absence. Also check for foo__1A and _start. - White space changes throughout file. - -2000-03-13 Nick Clifton <nickc@cygnus.com> - - * ld-scripts/phdrs.t: Discard all unexpected sections. - -2000-02-27 H.J. Lu (hjl@gnu.org) - - * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. - -1999-11-01 Nick Clifton <nickc@cygnus.com> - - * ld-selective/selective.exp: Fix test to disable these checks for - PE based targets. - -1999-10-29 Catherine Moore <clm@cygnus.com> - - * ld-selective/selective.exp: Remove test6. - * ld-selective/5.cc: Delete. - -1999-10-28 Scott Bambrough <scottb@netwinder.org> - - * ld-srec/srec.exp: Setup expected failures for - srec tests on ARM Linux. - -1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au> - - * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load - offset) test. - -1999-09-12 Ian Lance Taylor <ian@zembu.com> - - * ld-scripts/script.exp: Add --image-base 0 for PE targets. - -1999-08-17 H.J. Lu <hjl@gnu.org> - - * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. - -1999-08-09 Jakub Jelinek <jj@ultra.linux.cz> - - * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*. - * ld-shared/shared.exp: Likewise. - -1999-07-28 Nick Clifton <nickc@cygnus.com> - - * lib/ld-lib.exp (proc big_or_little_endian): New proc. - Determine if a big endian or little endian output format hass - been selected by any of the multilib options, and if so return - a suitable command line option for the linker/assembler. - (proc default_ld_link): Include the result of proc - big_or_little_endian on the command line to the linker. - (proc ld_simple_link): Include the result of proc - big_or_little_endian on the command line to the linker. - (proc default_ld_compile): Append multilib flags to compiler - switches. - (proc default_ld_assemble): Include the result of proc - big_or_little_endian on the command line to the linker. - -1999-07-21 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers1.c: Add missing prototypes and include - <stdio.h> if necessary. - * ld-elfvers/vers15.c: Likewise. - * ld-elfvers/vers19.c: Likewise. - * ld-elfvers/vers2.c: Likewise. - * ld-elfvers/vers3.c: Likewise. - * ld-elfvers/vers4.c: Likewise. - * ld-elfvers/vers6.c: Likewise. - * ld-elfvers/vers7.c: Likewise. - * ld-elfvers/vers9.c: Likewise. - * ld-shared/main.c: Likewise. - * ld-srec/sr3.cc (Foo::Foo): Remove arg name. - -Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com> - - * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as - with other DWARF2 targets. - -1999-07-13 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: Do not expect arm toolchains to fail - the undefined line test. - -1999-07-10 Ian Lance Taylor <ian@zembu.com> - - * ld-elfvers/vers.exp: Use -rpath in new vers19 test. - -1999-07-07 Ian Lance Taylor <ian@zembu.com> - - * ld-elfvers/vers.exp: Add new tests vers17 to vers19. - * ld-elfvers/{vers17.*, vers18.*, vers19.*}: New files. - -1999-06-13 Ian Lance Taylor <ian@zembu.com> - - * ld-checks/asm.s: Use a symbol name for .lcomm. - * ld-checks/checks.exp: Use different names for the two tests. - Don't add extra text when invoking fail. - -1999-06-12 Ian Lance Taylor <ian@zembu.com> - - * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*" - to "*-*-linux*aout*". - * ld-scripts/weak.exp: Likewise. - * ld-shared/shared.exp: Likewise. Simplify condition a bit. - -Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> - - * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. - * ld-shared/sh1.c: Fix typo. - -1999-06-04 H.J. Lu <hjl@gnu.org> - - * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if - necessary. - -1999-05-17 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: Add xfail for mcore-elf. - -1999-05-11 DJ Delorie <dj@cygnus.com> - - * ld-srec/srec.exp: Do not run tests for PE based ports. - -1999-03-05 Nick Clifton <nickc@cygnus.com> - - * ld-selective/selective.exp: Do not run tests for COFF or PE - based ports. - -1999-02-17 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: Add expected failures for StrongARM - targets. - - * ld-srec/srec.exp: Add expected failures for StrongARM targets. - - * ld-selective/selective.exp: Add expected failure for ARM-COFF - targets. - -1999-02-16 Nick Clifton <nickc@cygnus.com> - - * ld-checks/asm.s: Use .long instead of .word. - Replace custom section names with .text, .data and .bss. - * ld-checks/script: Replace custom section names with .text, .data - and .bss. - * ld-checks/checks.exp: Replace custom section names with .text, - .data and .bss. - -1999-02-11 Nick Clifton <nickc@cygnus.com> - - * ld-checks: New directory: Tests for the linker's - --check-sections option. - * ld-checks/checks.exp: New file. - * ld-checks/script: Bogus linker script. - * ld-checks/asm.s: Simple test assembler file. - -Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com> - - * ld-selective/selective.exp: Disable test for unsupported - targets. Change tests to check for absence of symbols instead - of address zero. - -Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com> - - * config/default.exp (get_link_files): Quote target_triplet and CC - when invoking shell. - (get_target_emul): Likewise. - -1999-01-03 Ken Raeburn <raeburn@cygnus.com> - - * config/default.exp (get_link_files, get_target_emul): New procs; - run shell commands to extract information from configure.host and - configure.tgt in the source tree. - (top level): Use them to get information needed to run tests, if - not otherwise provided. - - * ld-shared/elf-offset.ld: New file. Builds a shared library, but - gives non-zero addresses for memory region. - * ld-shared/shared.exp: Run the non-PIC non-AIX test again using - the new linker script. - -Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au> - - * ld-srec/srec.exp: Delete xfails for PPC Linux targets, - newer glibc lets link succeed. - -Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org> - - * ld-elfvers/vers1.c: Add missing return types and values. - * ld-elfvers/vers2.c: Likewise. - * ld-elfvers/vers3.c: Likewise. - * ld-elfvers/vers4.c: Likewise. - * ld-elfvers/vers5.c: Likewise. - * ld-elfvers/vers6.c: Likewise. - * ld-elfvers/vers7.c: Likewise. - * ld-elfvers/vers9.c: Likewise. - * ld-elfvers/vers15.c: Likewise. - -Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com> - - * ld-selective: New directory with new files to test - selective linking. - - * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name. - -Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers16.dsym: Work correctly on a system without - versioned system libraries. - -Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com> - - * ld-elfvers/vers.exp: Run tests on alpha-linux. - * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match - Alpha's use of st_other. - -1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld-elfvers/vers.exp (vers16, vers16a): New tests. - * ld-elfvers/{vers16.*, vers16a.*}: New files. - -Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: Make undefined line test be an xfail - for arm/thunb elf toolchains. - -Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: change test for elf/dwarf2 targets. - - * ld-srec/srec.exp: Arm-elf now passes this test. - -Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com> - - * ld-srec/srec.exp: Add arm/thumb-elf expected failures. - -Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap - test if we don't have a static libbfd.a. - -Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com> - - Based on patch from H.J. Lu <hjl@gnu.org>: - * ld-srec/srec.exp: Add xfails for Alpha ELF targets. - -Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com> - - * ld-scripts/weak.t (.text, .data): Focus data to be used. - (/DISCARD/): All the rest. - * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data. - -Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com> - - * config/default.exp: Create tmpdir/gas subdirectory, add a - symlink to as-new, and set gcc_gas_flag variable. - * lib/ld-lib.exp (default_ld_compile): If the compiler appears to - be gcc, use gcc_gas_flag when compiling. - -Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers.exp: Just check for i?86 rather than checking - for i386, i486, and i586. - (objdump_versionstuff): If we can't find the line, dump the file. - -Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/phdrs.exp: Run test on *-*-eabi*. - * ld-scripts/weak.exp: Likewise. - -Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com> - - * ld-srec/srec.exp: Add xfail for v850. - - * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass - these tests. - -Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/weak.exp: New test. - * ld-scripts/weak.t: New file. - * ld-scripts/weak1.s: New file. - * ld-scripts/weak2.s: New file. - -Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au> - - * ld-elfvers/vers.exp: Run tests on powerpc ELF targets. - * ld-shared/shared.exp: Likewise. - * ld-elfvers/vers1.dsym: Allow for .sdata. - * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux. - -Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi. - (run_srec_test): On mn10200, define __truncsipsi2_do_d2. - * ld-srec/sr1.c (__main): Change return type to void. - * ld-srec/sr3.cc (__main): Likewise. - (__builtin_delete, __builtin_new): Likewise. - (__get_dynamic_handler_chain): Return 0. - (__get_eh_context): Likewise. - -Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com> - - * ld-undefined/undefined.exp: Add support for thumb-pe target. - * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets. - -Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld-shared/shared.exp: Remove setup_xfails for m68k-linux. - -Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-shared/main.c (shlib_overriddencall2): New function. - (main): Call shlib_shlibcall2. - * ld-shared/sh1.c (shlib_shlibcall2): New function. - (shlib_overriddencall2): New function. - * ld-shared/shared.dat: Add output line for new test. - * ld-shared/sun4.dat: Likewise. - - * ld-srec/sr3.cc (__get_eh_context): New function. - -Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de> - - * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to - avoid compiler warning. - * ld-srec/sr3.cc (class Foo): Likewise. - -Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function. - -Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. - -Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com> - - * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets. - -Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com> - - * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which - fixes ARM tests. - -Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com> - - * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM - coff targets. - -Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to - avoid compiler warning. - * ld-srec/sr3.cc (class Foo): Likewise. - -Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com> - - * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to - have any name when looking for entry symbol warnings. - - * ld-srec/sr3.cc (__eh_pc): Define. - -Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and - __throw, since the current g++ expects them to be defined. - -Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output - file if the string libc appears in it. - (objdump_versionstuff): Accept unexpected lines in the output - file. Compare lines using string match. - * ld-elfvers/vers6.ver: Permit any value in the vna_other field. - -Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/crossref.exp: Correct string quoting. - -Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * config/default.exp: Change ld, as, nm and strip from .new to - -new. Load ld-lib.exp rather than ld.exp. - * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new. - * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of - DejaGnu changes. - -Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers.exp: Use egrep rather than grep when looking for - an alternation. From Greg Margo <gmargo@dl.com>. - -Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests - with non PIC shared libraries. - -Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers6.ver: Update for recent elflink.h patch to - version handling. - -Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well. - -Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Define __get_dynamic_handler_chain when - linking. - -Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com> - - * config/default.exp: Use $base_dir rather than $objdir when - setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>. - -Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com) - - * ld-srec/srec.exp: Define various out of line prologue/epilogue - functions for the mn10200 to avoid needing libgcc.a. - -Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*. - -Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com> - - * ld-elfvers/vers.exp: Don't run on SunOS or AIX. - -Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com> - - * ld-elfvers/vers.exp, *: New tests for symbol versioning. - * config/default.exp: Set ar and strip. - -Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com> - - * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of - prune_system_crud. - * ld-cdtest/cdtest.exp: Ditto. - * ld-scripts/crossref.exp: Ditto. - * ld-sh/sh.exp: Ditto. - * ld-shared/shared.exp: Ditto. - * ld-srec/srec.exp: Ditto. - * lib/ld.exp: Ditto. - -Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com> - - * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir. - * ld-scripts/script.exp: Ditto. - * ld-sh/sh.exp: Ditto. - * ld-undefined/undefined.exp: Ditto. - * ld-versados/versados.exp: Ditto. - * lib/ld.exp: Ditto. - -Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/crossref.exp: Fix quoting for --defsym $global$. - -Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com> - - * lib/ld.exp (default_ld_version): Fix for current version - printing. - -Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/crossref.exp: Define $global$ for hppa-elf. - -Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/cross2.t: Map XCOFF sections to .text or .data. - - * lib/ld.exp: Use verbose -log instead of calling both verbose and - send_log. - -Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/phdrs.exp: New test. - * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files. - -Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/crossref.exp: On a29k targets, use --defsym to define - V_SPILL and V_FILL. - -Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/crossref.exp: New test. - * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files. - * ld-scripts/{cross1.t, cross2.t}: New files. - -Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-sh/sh.exp: Fix debugging messages. - * ld-sh/sh1.s: Use .align 4. - -Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-sh/sh.exp: Use -O when compiling with -mrelax. - -Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> - - * ld-shared/shared.exp: Run the shared library tests on - Linux/m68k. - -Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-shared/shared.exp: Run the shared library tests on Linux. - -Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-shared/shared.exp: Don't use -fpic on MIPS targets. - -Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com) - - * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*. - * ld-undefined/undefined.exp: Likewise. - -Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: ELF targets should now pass the - undefined line test. - -Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-empic/empic.exp: Update for change to MIPS disassembler. - -Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com> - - * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5* - when doing the --static test. - * ld-shared/shared.exp: Run tests on mips*-*-irix5*. - -Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option - when creating ld-partial.o. - -Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define - __eabi. - -Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Add setup_xfails for XCOFF targets. - -Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: On a29k targets, use --defsym to define - V_SPILL and V_FILL. - * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions. - * ld-srec/sr3.cc: Likewise. - - * ld-srec/srec.exp: Remove i960 COFF setup_xfail. - -Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. - -Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. - -Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets. - -Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*. - - * ld-srec/sr1.c (V_SPILL, V_FILL): Define. - * ld-srec/sr3.cc: Likewise. - -Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-empic/empic.exp: Update for changes in objdump output. - -Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-srec/srec.exp: New tests. - * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files. - * lib/ld.exp (ld_simple_link): Discard warnings about not being - able to find the entry symbol. - -Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-sh/sh2.c (__main): Define. - -Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-empic/empic.exp: Accept a . in the address symbol. - - * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and - powerpc*-*-aix*. Add code to create appropriate exports files, - and pass appropriate compilation flags, and test against - appropriate expected output. - * ld-shared/xcoff.dat: New file. - * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can - not be linked using XCOFF. Use shlib_shlibvar1 as a sample - function pointer, rather than shlib_mainvar. - * ld-shared/sh1.c: Likewise. - * ld-shared/shared.dat: Update for change from using shlib_mainvar - to using shlib_shlibvar1. - * ld-shared/sun4.dat: Likewise. - -Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for - convenience when testing XCOFF. - -Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp - along with --static. - - * ld-scripts/script.s: Make symbols global. - -Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*. - -Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: Use -e when invoking the linker, to - prevent the SunOS linker from trying to create a shared library. - -Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add - appropriate modifications and setup_xfails. - * ld-shared/sun4.dat: New file. - -Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com> - - * lib/ld.exp (default_ld_version): Call prune_system_crud. - (default_ld_relocate, default_ld_link): Likewise. - (default_ld_simple_link, default_ld_compile): Likewise. - (default_ld_assemble, default_ld_nm): Likewise. - -Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the - tests as untested rather than unresolved. - -Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com) - - * ld-sh/sh.exp: Call prune_system_crud on the output of cmp. - -Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/script.exp: Split script verification into a proc. - Add simple test of MRI script. - * ld-scripts/scriptm.t: New file. - -Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when - appropriate. - -Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com> - - * config/default.exp: Define objcopy if it is not defined. - * ld-sh/*: New tests for SH relaxing. - - * ld-empic/empic.exp: If $CC does not exist, call untested rather - than unresolved. - -Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: If $CC does not exist, mark the - tests as untested rather than unresolved. Clear ELF xfails for - mips*, not just mips. - -Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for - undefined line test. - -Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-undefined/undefined.exp: New test, to check reporting of - undefined symbols. - * ld-undefined/undefined.c: New file. - -Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-versados/versados.exp: If a test fails, report it correctly: - don't try to run the next test, and don't report a pass as well as - a fail. - -Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> - - * versados/(t1,t2).ld: End in newlines. - -Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com> - - * lib/ld.exp (default_ld_compile): If cc argument is multiple - words, use only the first when trying to verify the availability - of the compiler. - -Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com> - - * ld-scripts/defined.t: Mention .data and .bss explicitly. - -Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ld-bootstrap/bootstrap.exp: If not in the ld build directory, - call untested for each test, rather than ignoring it. If one test - fails, go on to the next one instead of returning. - * ld-cdtest/cdtest.exp: If compilations fail, mark tests as - unresolved. - * ld-empic/empic.exp: Likewise. Also, always pass the same test - name to pass or fail. - * ld-shared/shared.exp: Likewise. Also, always run all tests. - * ld-scripts/defined.exp: If as or nm fail, mark test as - unresolved. Always pass the same test name to pass or fail. - * ld-scripts/script.exp: Likewise. - * ld-scripts/sizeof.exp: Likewise. - -Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ld-scripts/sizeof.exp: New test, based on bug report from - anders.blomdell@control.lth.se. - * ld-scripts/sizeof.s: New file. - * ld-scripts/sizeof.t: New file. - -Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see - if the linker exists. - -Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com> - - * lib/ld.exp (prune_system_crud): Define if not already defined, - in case the user isn't using the newest DejaGnu version that we - haven't released to the net yet. - -Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com> - - * config/default.exp: Define objdump if it is not defined. - * ld-empic/*: New tests to test -membedded-pic code. - -Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ld-bootstrap/bootstrap.exp: Pass cmp output through - prune_system_crud. - * ld-cdtest/cdtest.exp: Pass diff output through - prune_system_crud. - * ld-shared/shared.exp: Likewise. - - * config/default.exp: Remove unused and useless proc ld_load. - -Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * lib/ld.exp (default_ld_compile): Remove the output file before - compiling. - - * ld-shared/shared.exp: Move common test code into a procedure. - Add tests for compiling the non shared code PIC. - * ld-shared/main.c (main): Call main_called, and print the result. - * ld-shared/shared.dat: Adjust accordingly. - -Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> - - * ld-shared: New directory, with new files to test generating ELF - shared libraries. - - * lib/ld.exp (default_ld_compile): If the compilation worked, but - no object file was created, check to see if the compiler foolishly - ignored the -o switch when compiling, and move the resulting - object if it did. - -Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * VMS does not permits `.' in directory names. Renamed - ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and - ld.scripts to ld-scripts. - -Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * config/default.exp: Set variables as and nm. Create tmpdir if - it does not already exist. - * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. - * ld.cdtest/cdtest.exp: Likewise. - * ld.scripts/defined.exp: Likewise. Also, don't set as and nm - here. Change perror for no variables found to fail. - * ld.scripts/script.exp: New test. - * ld.scripts/script.t, ld.scripts/script.s: New files. - -Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) - - * ld.scripts: New directory. - * ld.scripts/defined.exp, ld.scripts/defined.s: New files. - * ld.scripts/defined.t: New file. - * lib/ld.exp (default_ld_simple_link): New function. - (default_ld_assemble, default_ld_nm): New functions. - * config/default.exp: Rename from unix-ld.exp. - (ld_simple_link, ld_assemble, ld_nm): New functions. - - * config/unix-ld.exp: Set ld using findfile. - * lib/ld.exp (default_ld_relocate): Return a value. Change format - of log messages. - (default_ld_compile): Likewise. - (default_ld_link): Likewise. Also, don't include $BFDLIB and - $LIBIBERTY in link. - * ld.bootstrap/bootstrap.exp: Rewrite. - * ld.cdtest/cdtest.exp: Rewrite. - * ld.cdtest/cdtest-foo.cc: Update from top level ld directory. - * ld.cdtest/cdtest-foo.h: Likewise. - * ld.cdtest/cdtest-main.cc: Likewise. - -Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com) - - * ld.cdtest/cdtest.exp: Don't look for $result before it's - defined. - -Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com) - - * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc - calls with perror calls. - -Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com) - - * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. - * ld.cdtest/cdtest.exp: Adjusted. - -Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com) - - * lib/ld.exp (simple_diff): Indicate failure if files have - different numbers of lines. Don't muck with $differences to avoid - indicating a pass, just return. - - * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}: - Fix test case to be valid ANSI C++. Don't require use of header - files, so "../gcc/xgcc -B../gcc/" can be used for CXX. - * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some - commentary on things that are still broken with this test case. - -Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage. - -Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * lib/ld.exp: add compiler and linker support - * config/unix-ld.exp: add compiler and linker support - * ld.bootstrap/bootstrap.exp: fixed to do partial links - * ld.cdtest/cdtest.exp: constructor/destructor testscase - -Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) - - * lib/ld.exp: new file - * config/unix-ld.exp: new file - * ld.bootstrap/bootstrap.exp: new file +For older changes see ChangeLog-9303 + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: diff --git a/ld/testsuite/ChangeLog-9303 b/ld/testsuite/ChangeLog-9303 new file mode 100644 index 0000000..895eb03 --- /dev/null +++ b/ld/testsuite/ChangeLog-9303 @@ -0,0 +1,3376 @@ +2003-12-30 Mark Mitchell <mark@codesourcery.com> + + * ld-srec/srec.exp (run_srec_test): Remove -fgnu-linker, since GCC + 3.4 does not support it. + +2003-12-18 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/reloc-1[ab].s: New source files. + * ld-mips-elf/reloc-1-{n32,n64,rel}.d: New tests. + * ld-mips-elf/reloc-2[ab].s: New source files. + * ld-mips-elf/reloc-2.{d,ld}: New test. + * ld-mips-elf/reloc-3[ab].s: New source files. + * ld-mips-elf/reloc-3-{r,srec}.d: New tests. + * ld-mips-elf/mips-elf.exp: Run them. + +2003-12-07 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)". + * ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise. + +2003-12-01 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/sh64/shmix-1.s: Add align to match data alignment. + * ld-sh/sh64/shmix-3.s: Likewise. + * ld-sh/sh64/mix1.sd: Update. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix1-noexp.sd: Likewise. + * ld-sh/sh64/mix2.sd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/mix2-noexp.sd: Likewise. + +2003-12-01 Alan Modra <amodra@bigpond.net.au> + + * ld-sh/tlsbin-2.d: Update section alignment. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + +2003-11-19 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.d: Update for changed symbols from objdump. + * ld-powerpc/tlsso32.d: Likewise. + +2003-10-27 Stephane Carrez <stcarrez@nerim.fr> + + * ld-undefined/undefined.exp: Mark as xfail for m6811 and m6812 + due to elf/Dwarf2 binutils limitation. + +2003-10-23 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp (test_ldfail): Add "-Wl," to pass the + linker option from gcc. + +2003-10-23 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexetoc.d: Correct. + * ld-powerpc/tlstoc.d: Correct. + +2003-10-18 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/greg-14.d, ld-mmix/greg-5.d, ld-mmix/pushja1b.d, + ld-mmix/pushja1f.d, ld-mmix/pushja7b.d, ld-mmix/pushja7f.d: Pass + --no-pushj-stubs to the assembler. + * ld-mmix/pushjs2b.d, ld-mmix/greg-14s.d, ld-mmix/pushjs1.d, + ld-mmix/greg-5s.d, ld-mmix/pushjs3b.d, ld-mmix/pushja1f-s.d, + ld-mmix/pushjs1m.d, ld-mmix/pushja7b-s.d, ld-mmix/pushja7f-s.d, + ld-mmix/pushja1b-s.d, ld-mmix/pushjs2.d, ld-mmix/pushjs3.d, + ld-mmix/pushjs4b.d, ld-mmix/pushjs4.d, ld-mmix/pushjs1bm.d, + ld-mmix/pushjs1b.d, ld-mmix/pushjs2m.d, ld-mmix/pushjs1r.d, + ld-mmix/pushjs3m.d, ld-mmix/pushjs2bm.d, ld-mmix/pushjs4m.d, + ld-mmix/pushjs3bm.d, ld-mmix/pushjs2r.d, ld-mmix/pushjs4bm.d, + ld-mmix/pushjs3r.d, ld-mmix/pushjs4r.d: New tests. + +2003-10-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/sh64/rd-sh64.exp: If the test matches *-dso.d, copy + the output of linker to the file tmpdir/*-dso.so. + * ld-sh/sh64/stobin-0-dso.d: New. + * ld-sh/sh64/stobin-1.d: New. + * ld-sh/sh64/stobin.s: New. + * ld-sh/sh64/stolib.s: New. + +2003-10-13 Richard Sandiford <rsandifo@redht.com> + + * ld-mips-elf/multi-got-1.d (RELSZ): Don't include the size of the + trailing null relocs. + +2003-10-12 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each + sh64/sh5 targets. + * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and + sh5*-*-* targets. + * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. + * ld-sh/sh64/relfail.exp: Set parameters for netbsd. + * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section + numbers for crangerel1 and crengerel2 tests. + * ld-sh/sh64/abi32.sd: Update. + * ld-sh/sh64/abi32.xd: Likewise. + * ld-sh/sh64/abi64.sd: Likewise. + * ld-sh/sh64/abi64.xd: Likewise. + * ld-sh/sh64/abixx-noexp.sd: Likewise. + * ld-sh/sh64/cmpct1.sd: Likewise. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/dlsection.sd: Likewise. + * ld-sh/sh64/endian.sbd: Likewise. + * ld-sh/sh64/endian.sld: Likewise. + * ld-sh/sh64/gotplt.d: Likewise. + * ld-sh/sh64/init-cmpct.d: Likewise. + * ld-sh/sh64/init-media.d: Likewise. + * ld-sh/sh64/init.s: Align functions. + * ld-sh/sh64/init64.d: Update. + * ld-sh/sh64/mix1-noexp.sd: Likewise. + * ld-sh/sh64/mix1.sd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2-noexp.sd: Likewise. + * ld-sh/sh64/mix2.sd: Likewise. + * ld-sh/sh64/mix2.xd:Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/rel64.xd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sh/sh64/shdl32.xd: Update. + * ld-sh/sh64/shdl64.sd: Likewise. + * ld-sh/sh64/shdl64.xd: Likewise. + * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. + * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. + * ld-sh/weak1.d: Likewise. + +2003-10-11 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-scripts/defined3.d, ld-scripts/defined3.t: New test. + * ld-scripts/defined.exp: Run defined3. + +2003-10-08 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-scripts/defined2.d, ld-scripts/defined2.t: New test. + * ld-scripts/defined.exp: Run defined2. + +2003-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> + + * ld-elfvsb/elfvsb.exp: xfail non-pic shared library tests for + non 64-bit hppa*-*-linux* targets. + * ld-elfvsb/main.c (main_visibility_check): Cast value returned by + visibility_funptr () to a function pointer. + * ld-shared/shared.exp: xfail shared (non PIC), shared (non PIC, load + offset), and shared (PIC main, non PIC so) tests for non 64-bit + hppa*-*-linux* targets. + +2003-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * ld-checks/checks.exp (section_check): Remove ia64-*-elf*. + +2003-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * ld-checks/checks.exp (section_check): Skip ia64-*-* instead + of ia64-*-linux*. + +2003-09-30 H.J. Lu <hongjiu.lu@intel.com> + + * ld-ia64/ia64.exp: Remove -melf64_ia64. + + * ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.* + instead of elf64-ia64-little. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-ia64/tlsg.sd: Likewise. + * ld-ia64/tlspic.dd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + +2003-09-30 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/mips-elf-flags.exp: Add tests for combinations + with MIPS64r2. + +2003-09-29 H.J. Lu <hongjiu.lu@intel.com> + + * lib/ld-lib.exp (proc is_elf64): New. + + * ld-scripts/phdrs.exp: Use is_elf_format and is_elf64. + +2003-09-23 Alan Modra <alan@modra.org> + + * ld-discard/exit.s: Correct .text.exit attributes. + * ld-discard/extern.s: Likewise. + * ld-discard/static.s: Likewise. + +2003-09-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/relax-jalr-n32.d: Fix little endian test failure. + * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * ld-mips-elf/relax-jalr-n64.d: Likewise. + * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2003-09-14 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, + ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d, + ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d, + ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d, + ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d, + ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d, + ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for + objdump -d change. + +2003-09-11 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/merge2.s: New. + * ld-elf/merge2.d: New. + +2003-08-16 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-9.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d: Adjust for + recent objdump "Contents of ..." change. + +2003-08-02 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/shared-2.d, ld-sh/textrel1.s, ld-sh/textrel2.s: New test. + +2003-08-02 Alan Modra <amodra@bigpond.net.au> + + * ld-d10v/reloc-001.d: Adjust for objdump -d change. + * ld-d10v/reloc-002.d: Likewise. + * ld-d10v/reloc-005.d: Likewise. + * ld-d10v/reloc-006.d: Likewise. + * ld-d10v/reloc-009.d: Likewise. + * ld-d10v/reloc-010.d: Likewise. + * ld-d10v/reloc-013.d: Likewise. + * ld-d10v/reloc-014.d: Likewise. + * ld-xstormy16/pcrel.d: Likewise. + +2003-07-29 Jakub Jelinek <jakub@redhat.com> + + * ld-elfvsb/elf-offset.ld: Add .rel.toc, .rela.toc and .toc + sections. + +2003-07-29 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-07-29 Nick Clifton <nickc@redhat.com> + + * ld-alpha/tlsbin.dd: Update to account for .eh_frame section. + * ld-alpha/tlsbin.rd: Likewise. + * ld-alpha/tlsbin.sd: Likewise. + * ld-alpha/tlsbinr.dd: Likewise. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlsbinr.sd: Likewise. + * ld-alpha/tlspic.dd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-alpha/tlspic.sd: Likewise. + +2003-07-26 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe32.d: Update. + * ld-powerpc/tlsso32.d: Update. + +2003-07-24 H.J. Lu <hongjiu.lu@intel.com> + + * ld-powerpc/tlsexe.r: .sbss is NOBITS, not PROGBITS. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsso.r: Likewise. + * ld-powerpc/tlstocso.r: Likewise. + +2003-07-23 Stephane Carrez <stcarrez@nerim.fr> + + * ld-srec/srec.exp: For m6811/m6812 use --defsym to define _.z soft + register. + +2003-07-22 H.J. Lu <hongjiu.lu@intel.com> + + * ld-selective/selective.exp: Skip "ia64-*-*". + + * ld-srec/srec.exp: Make xfail on "ia64-*-*". + +2003-07-11 Richard Sandiford <rsandifo@redhat.com> + + * ld-h8300/relax-3{.s,.d,-coff.d}: New test. + * ld-h8300/h8300.exp: Run it. + +2003-07-10 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/powerpc.exp: Dump output .got section rather than .toc. + * ld-powerpc/tlsexetoc.g: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlstoc.g: Update. + * ld-powerpc/tlstocso.g: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-07-04 Richard Sandiford <rsandifo@redhat.com> + + * ld-h8300/h8300.exp: Replace loop with explicit list. Run relax.d + unconditionally. Run relax-2.d for *-elf targets. + * ld-h8300/relax.d: Fix typo. + * ld-h8300/relax.s: Add 0x prefixes. + * ld-h8300/relad-2.[sd]: New test. + +2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/mips-elf.exp: Use is_elf_format. + +2003-06-29 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/mips-elf-flags.exp: Use -melf32bsmip for IRIX6. + +2003-06-25 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/apuinfo.rd: Update. + +2003-06-21 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/elf-rel-got-n32.d: Remove special handling for n32 ABI. + * ld-mips-elf/elf-rel-xgot-n32.d: Likewise. + +2003-06-18 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/locref1.d, ld-cris/locref1.s, ld-cris/locref2.d, + ld-cris/locref2.s: New tests. + + * ld-elfcomm/elfcomm.exp (dump_common1): Use $READELF, not plain + readelf as found using default path. + +2003-06-18 Alan Modra <amodra@bigpond.net.au> + + * lib/ld-lib.exp (default_ld_simple_link): Trim ld parms before + trying to trim ld path. + (default_ld_compile): Likewise for cc. + + * lib/ld-lib.exp (default_ld_simple_link): Trim ld path before + looking for gcc match. + (default_ld_compile): Likewise for cc. + +2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com> + + * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail. + +2003-06-16 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlstoc.d: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.r: Update. + +2003-06-16 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/ldsym1.d: Restrict to cris-*-*elf* and cris-*-*aout*. + * ld-cris/noglob1.d: Ditto. + * ld-cris/badgotr1.d: Pass --underscore to gas. + +2003-06-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/elf-rel-got-n64-linux.d: New file. + * ld-mips-elf/elf-rel-xgot-n64-linux.d: New file. + * ld-mips-elf/mips-elf.exp: Use the new files for Linux. + +2003-06-12 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/relax-jalr.s: Fix testsuite breakage. + * ld-mips-elf/relax-jalr-n32.d: Likewise. + * ld-mips-elf/relax-jalr-n32-shared.d: Likewise. + * ld-mips-elf/relax-jalr-n64.d: Likewise. + * ld-mips-elf/relax-jalr-n64-shared.d: Likewise. + +2003-06-11 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/multi-got-1.d: Adjust addresses. + * ld-mips-elf/rel32-n32.d: Likewise. + +2003-06-11 Alan Modra <amodra@bigpond.net.au> + + * ld-srec/srec.exp (run_srec_test): Remove powerpc64 xfails, and + xfail for hppa duplicated elsewhere. + +2003-06-10 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * ld-mips-elf/rel32-n32.d: Force big endian assembly. + * ld-mips-elf/rel32-o32.d: Likewise. + * ld-mips-elf/rel64.d: Likewise. + +2003-06-10 Alan Modra <amodra@bigpond.net.au> + + * ld-elfvsb/elfvsb.exp: Run for powerpc64 too. + * ld-powerpc/tls.t: Update. + * ld-powerpc/tlsexe.d: Update. + * ld-powerpc/tlsexe.r: Update. + * ld-powerpc/tlsexetoc.d: Update. + * ld-powerpc/tlsexetoc.r: Update. + * ld-powerpc/tlsexetoc.t: Update. + * ld-powerpc/tlsso.d: Update. + * ld-powerpc/tlsso.g: Update. + * ld-powerpc/tlsso.r: Update. + * ld-powerpc/tlsso.t: Update. + * ld-powerpc/tlstocso.d: Update. + * ld-powerpc/tlstocso.g: Update. + * ld-powerpc/tlstocso.r: Update. + * ld-powerpc/tlstocso.t: Update. + +2003-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-discard/extern.d: Updated. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + +2003-06-03 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfcomm/elfcomm.exp: Mark tests untested if compiler is + not available. + +2003-06-02 Fabrizio Gennari <fabrizio.ge@tiscalinet.it> + + * ld-cygwin: New directory. + * ld-cygwin/exe-export.exp: New test script. Checks building + cygwin executables with an export table. + * ld-cygwin/testdll.def: New source file. + * ld-cygwin/testexe.def: New source file. + * ld-cygwin/testdll.c: New source file. + * ld-cygwin/testexe.c: New source file. + +2003-05-30 H.J. Lu <hongjiu.lu@intel.com> + + * config/default.exp: Load tmpdir/libpath.exp. + (gcc_ld_flag): Set from $libpath. + +2003-05-27 Jason Thorpe <thorpej@wasabisystems.com> + + * ld-elf/elf.exp: Use if_elf_format. + * ld-elf/sec64k.exp: Likewise. + * ld-elfcomm/elfcomm.exp: Likewise. + * lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*. + +2003-05-25 Jason Thorpe <thorpej@wasabisystems.com> + + * ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf. + +2003-05-20 Jakub Jelinek <jakub@redhat.com> + + * ld-elfvsb/common.c: New file. + * ld-elfvsb/elfvsb.exp: Add common. + +2003-05-20 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvsb/sh3.c: New file. + * ld-elfvsb/test.c: Likewise. + + * ld-elfvsb/elfvsb.exp: Add new weak hidden symbol tests. + +2003-05-15 H.J. Lu <hongjiu.lu@intel.com> + + * config/default.exp (gcc_ld_flag): New. Make the newly built + linker available to gcc. + * lib/ld-lib.exp (default_ld_simple_link): Pass $gcc_ld_flag + to gcc. + + * ld-elfvers/vers.exp: Use "ld_simple_link $CC" to build shared + libraries. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-shared/shared.exp: Likewise. + + * ld-elfvers/vers.exp: Use "-Wl,-rpath,." to build shared + libraries. + * ld-elfvsb/elfvsb.exp: Likewise. + + * ld-elfvsb/elfvsb.exp: Remove xfail for powerpc-*-linux*. + + * ld-elfweak/elfweak.exp: Use PIC for shared libraries. + +2003-05-13 Stephane Carrez <stcarrez@nerim.fr> + + * ld-m68hc11/link-hcs12.d: New test. + * ld-m68hc11/link-hcs12.s: New file. + * ld-m68hc11/link-hc12.s: New file. + +2003-05-13 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfweak/elfweak.exp: Fix typo. + +2003-05-13 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-elfvers/vers.exp: Run on sh[34]*-*-linux*. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + +2003-05-12 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/b-fixo2.d, ld-mmix/bpo-18.d, ld-mmix/bpo-18m.d, + ld-mmix/loc4.d, ld-mmix/loc4m.d, ld-mmix/loc6.d, ld-mmix/loc6m.d, + ld-mmix/locdo-1.d, ld-mmix/sec-1.d, ld-mmix/sec-2.d, + ld-mmix/sec-3.d, ld-mmix/sec-4.d, ld-mmix/sec-5.d, + ld-mmix/sec-7m.d, ld-mmix/sec-8m.d, ld-mmix/spec802.d, + ld-mmix/spec803.d, ld-mmix/spec804.d, ld-mmix/spec805.d, + ld-mmix/spec806.d, ld-mmix/spec807.d, ld-mmix/spec808.d: Tweak for + objdump no longer truncating dump addresses. + +2003-05-09 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame + to linker script. + * ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x. + * ld-selective/selective.exp: Disable for s390 and s390x. + * ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame + to linker script. + * ld-shared/shared.exp (shared_test): Add setup_xfails for s390x. + * ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x. + +2003-05-08 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test + versioned reference for hidden symbol. + + * ld-elfvers/vers27d4.dsym: New file. + * ld-elfvers/vers27d4.ver: Likewise. + +2003-05-07 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers27d3.c (__start): New. + (start): New. + +2003-05-07 H.J. Lu <hongjiu.lu@intel.com> + + * ld-elfvers/vers.exp (build_binary): Support build exeutable. + (build_binary): Renamed from ... + (build_vers_lib): This. + (build_vers_lib_no_pic): Updated. + (build_vers_lib_pic): Likewise. + Add vers27d1, vers27d2 and vers27d3 to test versioned + definition for hidden symbol referenced by a DSO. + + * ld-elfvers/vers27d.dsym: New file. + * ld-elfvers/vers27d.sym: Likewise. + * ld-elfvers/vers27d.ver: Likewise. + * ld-elfvers/vers27d1.c: Likewise. + * ld-elfvers/vers27d2.c: Likewise. + * ld-elfvers/vers27d3.c: Likewise. + +2003-05-07 Andreas Schwab <schwab@suse.de> + + * ld-elfvsb/elfvsb.exp: Run dump tests even when cross + compiling. + +2003-05-06 Alexandre Oliva <aoliva@redhat.com> + + * config/default.exp (gcc_gas_flags): Force ABI to n32 on + mips64-linux. + * ld-elf/merge.d: Xfail on mips64*-linux-gnu*. + * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible + on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu. + (good_combination, bad_combination): Use it. + Add -32 or -mabi=o64 wherever the ABI was formerly implied. + +2003-05-06 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (objdump_versionstuff): Support comment + in expected version file. + + * ld-elfvers/vers25b.c: Add a line of comment. + * ld-elfvers/vers25b.dsym: Likwise. + * ld-elfvers/vers25b.ver: Likwise. + * ld-elfvers/vers26b.dsym: Likwise. + * ld-elfvers/vers26b.ver: Likwise. + * ld-elfvers/vers27b.dsym: Likwise. + * ld-elfvers/vers27b.ver: Likwise. + * ld-elfvers/vers27c.c: Likwise. + * ld-elfvers/vers27c.dsym: Likwise. + * ld-elfvers/vers27c.ver: Likwise. + +2003-05-04 H.J. Lu <hjl@gnu.org> + + * ld-elfvsb/main.c: Updated. + * ld-elfvsb/sh1.c: Likewise. + +2003-05-04 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers18.dsym: Updated for weak definiton change. + * ld-elfvers/vers18.ver: Likewise. + * ld-elfvers/vers19.ver: Likewise. + * ld-elfweak/dsowdata.dsym: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-elfweak/weakdata.dsym: Likewise. + + * ld-elfweak/elfweak.exp: Remove xfail. + +2003-05-04 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/multi-got-1.d: Force into big-endian mode. + Turn relocation offsets into regexps. + +2003-05-03 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add vers27a, vers27b, vers27c1 and + vers27c2 to test versioned definition vs. hidden definition in + different files. + + * ld-elfvers/vers27a.c: New file. + * ld-elfvers/vers27a.dsym: Likewise. + * ld-elfvers/vers27a.map: Likewise. + * ld-elfvers/vers27a.ver: Likewise. + * ld-elfvers/vers27b.c: Likewise. + + * ld-elfvers/vers27b.dsym: New empty file. + * ld-elfvers/vers27b.ver: Likwise. + * ld-elfvers/vers27c.c: Likwise. + * ld-elfvers/vers27c.dsym: Likwise. + * ld-elfvers/vers27c.ver: Likwise. + +2003-05-02 Nick Clifton <nickc@redhat.com> + + * ld-xstormy16: New directory. + * ld-xstormy16/xstormy16.exp: New test script. + * ld-xstormy16/pcrel.s: Test assembler source file. + * ld-xstormy16/external.s: Test assembler source file. + * ld-xstormy16/pcrel.d: Test expected disassembly. + +2003-05-02 Andreas Jaeger <aj@suse.de> + + * ld-elfvers/vers.exp (build_exec): Disable vers26b3 on x86-64-linux. + +2003-04-29 H.J. Lu <hjl@gnu.org> + + * ld-ia64/tlsbin.dd: Updated. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlsbin.sd: Likewise. + * ld-ia64/tlsbin.td: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-ia64/tlspic.sd: Likewise. + * ld-ia64/tlspic.td: Likewise. + +2003-04-29 J"orn Rennecke <joern.rennecke@superh.com> + + * ld-selective/3.cc (start): New function. + * ld-selective/4.cc: Likewise. + * ld-selective/5.cc: Likewise. + +2003-04-28 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (picflag): Set PIC flag for compiler. + (build_vers_lib): Support PIC. + (build_vers_lib_no_pic): New. Change all calls to build_vers_lib + to build_vers_lib_no_pic. + (build_vers_lib_pic): New. + Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned + definition vs. normal definition in different files. + + * ld-elfvers/vers26a.c: New file. + * ld-elfvers/vers26a.dsym: Likewise. + * ld-elfvers/vers26a.map: Likewise. + * ld-elfvers/vers26a.ver: Likewise. + * ld-elfvers/vers26b.c: Likewise. + + * ld-elfvers/vers26b.dsym: New empty file. + * ld-elfvers/vers26b.ver: Likewise. + +2003-04-27 H.J. Lu <hjl@gnu.org> + + * ld-elfvsb/elfvsb.dat: Updated. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + +2003-04-26 Stephane Carrez <stcarrez@nerim.fr> + + * ld-m68hc11/bug-3331.d: New test. + * ld-m68hc11/bug-3331.s: New file. + +2003-04-25 Nick Clifton <nickc@redhat.com> + J"orn Rennecke <joern.rennecke@superh.com> + + * lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml. + +2003-04-24 J"orn Rennecke <joern.rennecke@superh.com> + + * ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended. + +2003-04-23 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d, + ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing + unnecessary TLS relocs. + +2003-04-23 J"orn Rennecke <joern.rennecke@superh.com> + + * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH. + * ld-sh/sh64/crange3-media.rd (Machine): Likewise. + +2003-04-23 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty + files. + (objdump_versionstuff): Likewise. + Add tests vers25a, vers25b1 and vers25b2 for versioned + definition vs. normal definition in different files. + + * ld-elfvers/vers25a.c: New file. + * ld-elfvers/vers25a.dsym: Likewise. + * ld-elfvers/vers25a.map: Likewise. + * ld-elfvers/vers25a.ver: Likewise. + + * ld-elfvers/vers25b.c: New empty file. + * ld-elfvers/vers25b.dsym: Likewise. + * ld-elfvers/vers25b.ver: Likewise. + +2003-04-22 H.J. Lu <hjl@gnu.org> + + * ld-elfcomm/elfcomm.exp: Support 64bit targets. + +2003-04-21 Stephane Carrez <stcarrez@nerim.fr> + + * ld-m68hc11/far-hc11.s: New file. + * ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation. + * ld-m68hc11/far-hc12.s: New file. + * ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation. + * ld-m68hc11/far-hc12.ld: New file. + +2003-04-15 H.J. Lu <hjl@gnu.org> + + * ld-elfcom/elfcom.exp: Fix a typo. + +2003-04-14 H.J. Lu <hjl@gnu.org> + + * ld-elfcom: New directory. + * ld-elfcom/elfcom.exp: New file: Test alignment of common symbols + under ELF. + * ld-elfcom/common1a.c: New file: Test source code. + * ld-elfcom/common1b.c: New file: Test source code. + +2003-04-15 Rohit Kumar Srivastava <rohits@kpitcummins.com> + + * ld-sh/sh64/crange3-cmpct.rd: Replace occurrances of 'Hitachi' + with 'Renesas'. + * ld-sh/sh64/crange3-media.rd: Likewise. + +2002-04-13 Daniel Jacobowitz <drow@mvista.com> + + * ld-discard/extern.s, ld-discard/start.s, ld-discard/static.s, + ld-sh/refdbg.s: Add leading 0 to .debug_info to prevent parsing it + for error messages. + +2003-04-10 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/elf-rel-got-n32.d, + ld-mips-elf/elf-rel-got-n64.d, ld-mips-elf/elf-rel-xgot-n32.d, + ld-mips-elf/elf-rel-xgot-n64.d: New. + * ld-mips-elf/mips-elf.exp (hasn32): Define as condition for + new tests to run. + +2003-04-04 Stephane Carrez <stcarrez@nerim.fr> + + * ld-m68hc11/bug-1417.d: Update to take into account jsr->bsr relax. + +2003-04-02 Bob Wilson <bob.wilson@acm.org> + + * ld-xtensa/coalesce.exp: Skip if target is not xtensa-*-*. + * ld-xtensa/lcall.exp: Likewise. + +2003-04-01 Bob Wilson <bob.wilson@acm.org> + + * ld-elf/merge.d: xfail xtensa-*-*. + * ld-scripts/crossref.exp: Add -mtext-section-literals to CFLAGS + for Xtensa targets. + * ld-srec/srec.exp: Add -no-relax flag for Xtensa targets. + * ld-xtensa/coalesce1.s: New file. + * ld-xtensa/coalesce2.s: Likewise. + * ld-xtensa/coalesce.exp: Likewise. + * ld-xtensa/coalesce.t: Likewise. + * ld-xtensa/lcall1.s: Likewise. + * ld-xtensa/lcall2.s: Likewise. + * ld-xtensa/lcall.exp: Likewise. + * ld-xtensa/lcall.t: Likewise. + +2003-03-25 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/mips-elf.exp: Added... + * ld-mips-elf/relax-jalr.s, ld-mips-elf/relax-jalr-n32.d, + ld-mips-elf/relax-jalr-n32-shared.d, ld-mips-elf/relax-jalr-n64.d, + ld-mips-elf/relax-jalr-n64-shared.d: New tests. + +2003-03-11 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/mips-elf.exp (linux_gnu): New variable. Add: + * ld-mips-elf/rel32-o32.d, ld-mips-elf/rel32-n32.d, + ld-mips-elf/rel64.d, ld-mips-elf/rel32.s, ld-mips-elf/rel64.s: New + tests. + +2003-03-11 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsso.r: Adjust for corrected zero symbol index relocs. + * ld-powerpc/tlsso32.r: Likewise. + +2003-02-18 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.d: Update for changed handling of invalid LD + relocs. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe.t: Likewise. + + * ld-powerpc/tls32.s: New file. + * ld-powerpc/tlslib32.s: New file. + * ld-powerpc/tls32.d: New file. + * ld-powerpc/tls32.g: New file. + * ld-powerpc/tls32.t: New file. + * ld-powerpc/tlsexe32.d: New file. + * ld-powerpc/tlsexe32.g: New file. + * ld-powerpc/tlsexe32.r: New file. + * ld-powerpc/tlsexe32.t: New file. + * ld-powerpc/tlsso32.d: New file. + * ld-powerpc/tlsso32.g: New file. + * ld-powerpc/tlsso32.r: New file. + * ld-powerpc/tlsso32.t: New file. + * ld-powerpc/powerpc.exp: Run new tests. + +2003-02-18 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlsexe.g: Update for 2003-02-14 elf64-ppc.c change. + +2003-02-10 Jakub Jelinek <jakub@redhat.com> + + * ld-shared/shared.exp: Run on s390*-*-linux* and x86_64-*-linux* too. + xfail tests linking non-pic code into shared libs on x86_64-*-linux*. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvers/vers.exp: Likewise. Add vers24a, vers24b and vers24c + tests. + * ld-elfvers/vers3.ver: Allow VERS_2.0 to come before GLIBC_* + version. + * ld-elfvers/vers19.ver: Likewise. + * ld-elfvers/vers24a.c: New test. + * ld-elfvers/vers24b.c: New test. + * ld-elfvers/vers24c.c: New test. + * ld-elfvers/vers24.map: New test. + * ld-elfvers/vers24.rd: New test. + * lib/ld-lib.exp (run_ld_link_tests): Add optional 7th argument + cflags. If source files have .c extension, compile them first. + +2003-02-10 Kaz kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/tlstpoff-1.d: New. + * ld-sh/tlstpoff-2.d: New. + * ld-sh/tlstpoff1.s: New. + * ld-sh/tlstpoff2.s: New. + +2003-02-09 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/tlslib.s: Give .__tls_get_addr function type. + * ld-powerpc/tlsexe.d: Update for changed handling of (invalid) ld var + in dynamic lib. + * ld-powerpc/tlsexe.g: Likewise. + * ld-powerpc/tlsexe.r: Likewise. + * ld-powerpc/tlsexe.t: Likewise. + * ld-powerpc/tlsexetoc.d: Likewise. + * ld-powerpc/tlsexetoc.g: Likewise. + * ld-powerpc/tlsexetoc.r: Likewise. + * ld-powerpc/tlsexetoc.t: Likewise. + +2003-02-05 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/powerpc.exp (supports_ppc64): New. + (ppcelftests): Force 32 bit mode. + (ppc64elftests): New. + * ld-powerpc/tls.d: New. + * ld-powerpc/tls.g: New. + * ld-powerpc/tls.s: New. + * ld-powerpc/tls.t: New. + * ld-powerpc/tlsexe.d: New. + * ld-powerpc/tlsexe.g: New. + * ld-powerpc/tlsexe.r: New. + * ld-powerpc/tlsexe.t: New. + * ld-powerpc/tlsexetoc.d: New. + * ld-powerpc/tlsexetoc.g: New. + * ld-powerpc/tlsexetoc.r: New. + * ld-powerpc/tlsexetoc.t: New. + * ld-powerpc/tlslib.s: New. + * ld-powerpc/tlsso.d: New. + * ld-powerpc/tlsso.g: New. + * ld-powerpc/tlsso.r: New. + * ld-powerpc/tlsso.t: New. + * ld-powerpc/tlstoc.d: New. + * ld-powerpc/tlstoc.g: New. + * ld-powerpc/tlstoc.s: New. + * ld-powerpc/tlstoc.t: New. + * ld-powerpc/tlstocso.d: New. + * ld-powerpc/tlstocso.g: New. + * ld-powerpc/tlstocso.r: New. + * ld-powerpc/tlstocso.t: New. + +2003-01-27 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/multi-got-1.d: New. + * ld-mips-elf/multi-got-1-1.s: New. + * ld-mips-elf/multi-got-1-2.s: New. + * ld-mips-elf/mips-elf.exp (elf): mips*-*-irix* is elf. + Run multi-got-1. + +2003-01-25 Jakub Jelinek <jakub@redhat.com> + + * ld-sparc/sparc.exp: New. + * ld-sparc/tlsg32.s: New test. + * ld-sparc/tlsg32.sd: Likewise. + * ld-sparc/tlsg64.s: Likewise. + * ld-sparc/tlsg64.sd: Likewise. + * ld-sparc/tlslib.s: Likewise. + * ld-sparc/tlsnopic.s: Likewise. + * ld-sparc/tlspic.s: Likewise. + * ld-sparc/tlssunbin32.dd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin32.s: Likewise. + * ld-sparc/tlssunbin32.sd: Likewise. + * ld-sparc/tlssunbin32.td: Likewise. + * ld-sparc/tlssunbin64.dd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunbin64.s: Likewise. + * ld-sparc/tlssunbin64.sd: Likewise. + * ld-sparc/tlssunbin64.td: Likewise. + * ld-sparc/tlssunbinpic32.s: Likewise. + * ld-sparc/tlssunbinpic64.s: Likewise. + * ld-sparc/tlssunnopic32.dd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic32.s: Likewise. + * ld-sparc/tlssunnopic32.sd: Likewise. + * ld-sparc/tlssunnopic64.dd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunnopic64.s: Likewise. + * ld-sparc/tlssunnopic64.sd: Likewise. + * ld-sparc/tlssunpic32.dd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic32.s: Likewise. + * ld-sparc/tlssunpic32.sd: Likewise. + * ld-sparc/tlssunpic32.td: Likewise. + * ld-sparc/tlssunpic64.dd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-sparc/tlssunpic64.s: Likewise. + * ld-sparc/tlssunpic64.sd: Likewise. + * ld-sparc/tlssunpic64.td: Likewise. + +2003-01-24 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * ld-s390/s390.exp: New file. + * ld-s390/tlsbin_64.dd: New file. + * ld-s390/tlsbin_64.rd: New file. + * ld-s390/tlsbin_64.s: New file. + * ld-s390/tlsbin_64.sd: New file. + * ld-s390/tlsbin_64.td: New file. + * ld-s390/tlsbin.dd: New file. + * ld-s390/tlsbinpic_64.s: New file. + * ld-s390/tlsbinpic.s: New file. + * ld-s390/tlsbin.rd: New file. + * ld-s390/tlsbin.s: New file. + * ld-s390/tlsbin.sd: New file. + * ld-s390/tlsbin.td: New file. + * ld-s390/tlslib_64.s: New file. + * ld-s390/tlslib.s: New file. + * ld-s390/tlspic1_64.s: New file. + * ld-s390/tlspic1.s: New file. + * ld-s390/tlspic2_64.s: New file. + * ld-s390/tlspic2.s: New file. + * ld-s390/tlspic_64.dd: New file. + * ld-s390/tlspic_64.rd: New file. + * ld-s390/tlspic_64.sd: New file. + * ld-s390/tlspic_64.td: New file. + * ld-s390/tlspic.dd: New file. + * ld-s390/tlspic.rd: New file. + * ld-s390/tlspic.sd: New file. + * ld-s390/tlspic.td: New file. + +2003-01-24 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.sd: Cope with truncated address in data dumps. + * ld-alpha/tlsbin.td: Likewise. + * ld-alpha/tlsbinr.sd: Likewise. + +2003-01-21 Richard Henderson <rth@redhat.com> + + * ld-alpha/alpha.exp: New. + * ld-alpha/align.s: New. + * ld-alpha/tlsbin.dd: New. + * ld-alpha/tlsbin.rd: New. + * ld-alpha/tlsbin.s: New. + * ld-alpha/tlsbin.sd: New. + * ld-alpha/tlsbin.td: New. + * ld-alpha/tlsbinpic.s: New. + * ld-alpha/tlsbinr.dd: New. + * ld-alpha/tlsbinr.rd: New. + * ld-alpha/tlsbinr.sd: New. + * ld-alpha/tlsg.s: New. + * ld-alpha/tlsg.sd: New. + * ld-alpha/tlslib.s: New. + * ld-alpha/tlspic.dd: New. + * ld-alpha/tlspic.rd: New. + * ld-alpha/tlspic.sd: New. + * ld-alpha/tlspic.td: New. + * ld-alpha/tlspic1.s: New. + * ld-alpha/tlspic2.s: New. + +2003-01-20 Alan Modra <amodra@bigpond.net.au> + + * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld. + +2003-01-18 Jakub Jelinek <jakub@redhat.com> + + * ld-ia64/tlspic1.s: Add tests for IE in shared libraries. + * ld-ia64/tlspic.rd: Adjust. + * ld-ia64/tlspic.dd: Adjust. + * ld-ia64/tlspic.sd: Adjust. + +2003-01-16 Jakub Jelinek <jakub@redhat.com> + + * ld-ia64/ia64.exp: New. + * ld-ia64/tlsbin.dd: New test. + * ld-ia64/tlsbinpic.s: New test. + * ld-ia64/tlsbin.rd: New test. + * ld-ia64/tlsbin.s: New test. + * ld-ia64/tlsbin.sd: New test. + * ld-ia64/tlsbin.td: New test. + * ld-ia64/tlsg.s: New test. + * ld-ia64/tlsg.sd: New test. + * ld-ia64/tlslib.s: New test. + * ld-ia64/tlspic1.s: New test. + * ld-ia64/tlspic2.s: New test. + * ld-ia64/tlspic.dd: New test. + * ld-ia64/tlspic.rd: New test. + * ld-ia64/tlspic.sd: New test. + * ld-ia64/tlspic.td: New test. + +2003-01-02 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/mips-elf-flags.exp: Add -mips4 to a -mgp64 test. + +2003-01-02 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/jr.s: New file. + * ld-mips-elf/mips-elf-flags.exp: New test. + +2002-12-18 Ralf Habacker <ralf.habacker@freenet.de> + + * ld-auto-import: New directory. + * ld-auto-import/auto-import.exp: Test the auto importing direct + from a dll functionality. + * ld-auto-import/client.c: Source code for test. + * ld-auto-import/dll.c: Likewise. + +2002-12-12 Alexandre Oliva <aoliva@redhat.com> + + * ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test. + * ld-mips-elf/branch-misc-2.d: Removed. + +2002-12-10 Jason Thorpe <thorpej@wasabisystems.com> + + * lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets. + +2002-12-03 Nick Clifton <nickc@redhat.com> + + * ld-powerpc/powerpc.exp (ppcelftests): Add apuinfo merging + test. + * ld-powerpc/apuinfo1.s: New assembler source file. + * ld-powerpc/apuinfo2.s: New assembler source file. + * ld-powerpc/apuinfo.rd: New expected output file. + +2002-12-01 Stephane Carrez <stcarrez@nerim.fr> + + Fix PR savannah/1417: + * ld-m68hc11/bug-1417.s: New test. + * ld-m68hc11/bug-1417.d: Likewise. + +2002-11-28 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/tlsnopic.rd: Change NOTYPE to TLS for UND sg* symbols. + +2002-11-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/refdbg-0-dso.d: New test. + * ld-sh/refdbg-1.d: Likewise. + * ld-sh/refdbg.s: Likewise. + * ld-sh/refdbglib.s: Likewise. + +2002-11-22 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/elf.exp: Remove sec64k test. + * ld-elf/sec64k.exp: Reinstate. + +2002-11-21 Alan Modra <amodra@bigpond.net.au> + + * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop. + * ld-elf/merge.s: New file. + * ld-elf/merge.d: New file. + * ld-elf/merge.ld: New file. + +2002-11-18 Svein E. Seldal <Svein.Seldal@solidas.com> + + * ld-scripts/script.exp: Setup for tic4x testcase + +2002-11-15 Nick Clifton <nickc@redhat.com> + + * ld-h8300: New directory. + * ld-h8300/h8300.exp: New expect script. Only run tests for h8300 + targets. + * ld-h8300/relax.s: New assembler source file. + * ld-h8300/relax.d: New expected output file. + +2002-11-11 Hans-Peter Nilsson <hp@axis.com> + + * ld-elf/sec64k.exp: New test. + * lib/ld-lib.exp (run_dump_test): Don't prepend "$srcdir/$subdir/" + to a source file starting with "/". + +2002-11-10 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/local1.d, ld-mmix/local3.d, ld-mmix/local5.d, + ld-mmix/local7.d: Tweak for change in readelf output. + +2002-11-09 Alan Modra <amodra@bigpond.net.au> + + * ld-elfvsb/define.s: Avoid use of @ in .type directive. + +2002-11-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d, + ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests. + +2002-11-07 Nick Clifton <nickc@redhat.com> + + * ld-fastcall/fastcall.exp: Only run tests for PE type x86 + targets. + +2002-11-07 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/rd-sh.exp: Set asflags_save always. + +2002-11-07 Casper S. Hornstrup <chorns@users.sourceforge.net> + + * ld-fastcall: New directory for testing fastcall support. + * ld-fastcall/export.s: New file for testing fastcall symbol + handling. + * ld-fastcall/import.s: Likewise. + * ld-fastcall/fastcall.exp: Likewise. + +2002-11-03 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/rd-sh.exp: Add -isa=SHcompact to ASFLAGS for SH-5. + * ld-sh/tlsbin-1.d: Handle GOT_BIAS appropriately for SH-5. + * ld-sh/tlspic-1.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/tlsbin-2.d: Likewise. Make it robust for the symbols + defined by the linker scripts. + +2002-10-14 Stephane Carrez <stcarrez@nerim.fr> + + * ld-m68hc11/m68hc11.exp: Specific tests for 68HC11/68HC12. + * ld-m68hc11/adj-jump.d: New test for linker relaxation. + * ld-m68hc11/adj-jump.s: Likewise. + * ld-m68hc11/adj-brset.s: Likewise. + * ld-m68hc11/adj-brset.d: Likewise. + * ld-m68hc11/relax-direct.s: Likewise. + * ld-m68hc11/relax-direct.d: Likewise. + * ld-m68hc11/relax-group.s: Likewise. + * ld-m68hc11/relax-group.d: Likewise. + * ld-m68hc11/bug-1403.d: Likewise. + * ld-m68hc11/bug-1403.s: Likewise. + +2002-10-14 Stephen Clarke <stephen.clarke@superh.com> + * ld-sh/ld-r-1.d: Disable for sh64*-*-linux*. + * ld-sh/sh64/sh64.exp: Likewise. + * ld-sh/sh.exp: Disable relaxing tests for sh64*-*-linux*. + * ld-sh/sh64/abi32.sd: Adjust expected output to include + sh64*-*-linux* formats too. + * ld-sh/sh64/relax.exp: Add emul32 variable to hold target + emulation, and set it appropriately for sh*-*-linux*. + * ld-sh/sh64/relfail.exp: Add variables to hold target + emulation, output format, start symbol, and whether target + supports 64-bit ABI. Set appropriately for sh*-*-linux*. + +2002-10-12 H.J. Lu (hjl@gnu.org) + + * ld-discard/extern.d: Remove $srcdir/$subdir/. + * ld-discard/start.d: Likewise. + * ld-discard/static.d: Likewise. + * ld-linkonce/zeroehl32.d: Likewise. + * ld-selective/keepdot.d: Likewise. + * ld-selective/keepdot0.d: Likewise. + +2002-10-11 Kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/rd-sh.exp: If the test matches *-dso.d, copy the output + of linker to the file tmpdir/*-dso.so. + * ld-sh/tlsbin.s, ld-sh/tlsbinpic.s, ld-sh/tlslib.s: New. + * ld-sh/tlsbin-0-dso.d: New. + * ld-sh/tlsbin-1.d: New. + * ld-sh/tlsbin-2.d: New. + * ld-sh/tlsbin-3.d: New. + * ld-sh/tlsbin-4.d: New. + * ld-sh/tlspic1.s, ld-sh/tlspic2.s: New. + * ld-sh/tlspic-1.d: New. + * ld-sh/tlspic-2.d: New. + * ld-sh/tlspic-3.d: New. + * ld-sh/tlspic-4.d: New. + +2002-10-10 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/combreloc.s: New test. + * ld-i386/combreloc.d: New test. + * ld-i386/i386.exp (i386tests): Add it. + +2002-10-10 Alan Modra <amodra@bigpond.net.au> + + * ld-i386/i386.exp (reloc): Turn off combreloc. + * ld-i386/reloc.d: Likewise. + * ld-powerpc/powerpc.exp: Likewise. + * ld-powerpc/reloc.d: Likewise. + +2002-10-03 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers21.c (_old_foobar): Initialized to -1 for gcc + 3.x. + +2002-10-03 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/branch-misc-1.d: Link at 0x500000 and use -N, to be + more compatible with non-embedded targets. + * ld-mips-elf/branch-misc-2.d: Likewise. + + * ld-mips-elf/mips-elf.exp: Clean up some comments about embedded + PIC tests. + (elf): New variable, to control whether generic ELF tests are run. + (embedded_elf): New variable, to control whether ELF tests + requiring embedded PIC or embedded relocs are run. + +2002-10-02 Stephen Clarke <stephen.clarke@superh.com> + + * ld-sh/sh64/gotplt.d, ld-sh/sh64/gotplt.map, + ld-sh/sh64/gotplt.s: New test. + +2002-10-02 Stephen Clarke <stephen.clarke@superh.com> + * ld-sh/sh64/cmpct1.sd : Fix linked file name. + * ld-sh/sh64/crange3.dd: Likewise. + +2002-10-01 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/i386.exp: Add tlsindntpoff test. + * ld-i386/tlsindntpoff.s: New test. + * ld-i386/tlsindntpoff.dd: New test. + +2002-10-01 Jakub Jelinek <jakub@redhat.com> + + * ld-x86-64/tlspic1.s: Change TLSGD sequences. + * ld-x86-64/tlsbinpic.s: Likewise. + * ld-x86-64/tlspic.dd: Adjust. + +2002-10-01 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/i386.exp: Add tlsg test. + * ld-i386/tlsg.s: New test. + * ld-i386/tlsg.sd: New test. + * ld-i386/tlsbin.dd: Change LD into LD -> LE in comments. + * ld-i386/tlsbinpic.s: Likewise. + * ld-x86-64/x86-64.exp: Add tlsg test. + * ld-x86-64/tlsg.s: New test. + * ld-x86-64/tlsg.sd: New test. + * ld-x86-64/tlsbin.dd: Change LD into LD -> LE in comments. + * ld-x86-64/tlsbinpic.s: Likewise. + +2002-09-30 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/powerpc.exp: Restrict to 32 bit ELF. + +2002-09-30 Alan Modra <amodra@bigpond.net.au> + + * ld-powerpc/reloc.s, ld-powerpc/reloc.d: New. + * ld-powerpc/powerpc.exp: New. + + * ld-i386/reloc.s, ld-i386/reloc.d: New. + * ld-i386/i386.exp: Run new test. + +2002-09-27 Jakub Jelinek <jakub@redhat.com> + + * lib/ld-lib.exp (run_ld_link_tests): Add. + * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, + file_contents): Remove. + (sh64tests): Add 6th field to the tests array. + * ld-i386/i386.exp (run_ld_link_tests): Remove. + * ld-x86-64/x86-64.exp: New. + * ld-x86-64/tlsbin.dd: New test. + * ld-x86-64/tlsbinpic.s: New test. + * ld-x86-64/tlsbin.rd: New test. + * ld-x86-64/tlsbin.s: New test. + * ld-x86-64/tlsbin.sd: New test. + * ld-x86-64/tlsbin.td: New test. + * ld-x86-64/tlslib.s: New test. + * ld-x86-64/tlspic1.s: New test. + * ld-x86-64/tlspic2.s: New test. + * ld-x86-64/tlspic.dd: New test. + * ld-x86-64/tlspic.rd: New test. + * ld-x86-64/tlspic.sd: New test. + * ld-x86-64/tlspic.td: New test. + +2002-09-21 Alan Modra <amodra@bigpond.net.au> + + * ld-undefined/undefined.exp: Adjust function test. + +2002-09-20 Alan Modra <amodra@bigpond.net.au> + + * ld-i386/i386.exp: Only run tests on ELF targets. + +2002-09-19 Jakub Jelinek <jakub@redhat.com> + + * ld-i386/i386.exp: New. + * ld-i386/tlsbin.dd: New test. + * ld-i386/tlsbinpic.s: New test. + * ld-i386/tlsbin.rd: New test. + * ld-i386/tlsbin.s: New test. + * ld-i386/tlsbin.sd: New test. + * ld-i386/tlsbin.td: New test. + * ld-i386/tlslib.s: New test. + * ld-i386/tlsnopic1.s: New test. + * ld-i386/tlsnopic2.s: New test. + * ld-i386/tlsnopic.dd: New test. + * ld-i386/tlsnopic.rd: New test. + * ld-i386/tlsnopic.sd: New test. + * ld-i386/tlspic1.s: New test. + * ld-i386/tlspic2.s: New test. + * ld-i386/tlspic.dd: New test. + * ld-i386/tlspic.rd: New test. + * ld-i386/tlspic.sd: New test. + * ld-i386/tlspic.td: New test. + +2002-09-18 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/branch-misc-1.d: New file. + * ld-mips-elf/branch-misc-2.d: New file. + * ld-mips-elf/mips-elf.exp: Run new tests. + +2002-09-05 Alan Modra <amodra@bigpond.net.au> + + * ld-sh/sh64/cmpct1.xd: Adjust for lack of abs section sym. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + +2002-08-31 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-10.d: Tweak for change in symbols handling. + * ld-mmix/bpo-11.d: Ditto. + + * ld-mmix/b-nosym.d: Adjust for changed output for absence of + symbols. + + * ld-mmix/sec-7m.d: Rename tested section from .debug_info to + .di. + * ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, ld-mmix/sec-7c.s, + ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: Ditto. + +2002-08-28 Alan Modra <amodra@bigpond.net.au> + + * ld-discard/discard.exp: xfail m6812. + * ld-scripts/map-address.d: Adjust for extras emitted by pe targets. + +2002-08-27 Alan Modra <amodra@bigpond.net.au> + + * ld-mmix/b-nosym.d: Revert last change. + +2002-08-26 Alan Modra <amodra@bigpond.net.au> + + * ld-mmix/b-nosym.d: Adjust for "no symbols" on stdout. + +2002-08-23 Stephen Clarke <stephen.clarke@superh.com> + + * ld-sh/sh64/rd-sh64.exp: New framework file. + * ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, + ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for + correct setting of ISA bit for init and fini entry-points. + +2002-08-16 Stephen Clarke <stephen.clarke@superh.com> + + * ld-sh/sh64/sh64.exp: Add dlsection. + * ld-sh/sh64/dlsection-1.s, ld-sh/sh64/dlsection.sd: New. + +2002-08-16 Alan Modra <amodra@bigpond.net.au> + + * ld-discard/discard.exp: xfail targets using generic linker. + * ld-discard/extern.d: Allow "data" to be reduced to a section sym. + +2002-08-15 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-4.d, ld-cris/undef1.d: New test. + +2002-08-13 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add vers23c and vers23d. + + * ld-elfvers/vers23c.ver: New. + * ld-elfvers/vers23d.dsym: New. + +2002-08-12 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add vers23. + + * ld-elfvers/vers23.c: New. + * ld-elfvers/vers23.dsym: New. + * ld-elfvers/vers23.ver: New. + * ld-elfvers/vers23a.c: New. + * ld-elfvers/vers23a.dsym: New. + * ld-elfvers/vers23a.map: New. + * ld-elfvers/vers23a.sym: New. + * ld-elfvers/vers23a.ver: New. + * ld-elfvers/vers23b.c: New. + * ld-elfvers/vers23b.dsym: New. + * ld-elfvers/vers23b.map: New. + * ld-elfvers/vers23b.ver: New. + +2002-08-12 Stephen Clarke <stephen.clarke@superh.com> + + * ld-sh/sh64/abi32.xd: Adjust whitespace in elf32 section + listing. + * ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, + ld-sh/sh64/rel32.xd, ld-sh/sh64/shdl32.xd: Likewise. + * ld-sh/sh64/abi32.xd: Adjust as type of linker-script-symbols + is no longer set to object. + * ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/crange1.rd, + ld-sh/sh64/crange2.rd, ld-sh/sh64/crange3-cmpct.rd, + ld-sh/sh64/crange3-media.rd, ld-sh/sh64/crange3.rd, + ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shdl32.xd, + ld-sh/sh64/shdl64.xd: Likewise. + +2002-08-10 Alan Modra <amodra@bigpond.net.au> + + * ld-discard/discard.exp: Don't run on linuxaout or linuxoldld. + * ld-linkonce/linkonce.exp: Likewise. + * ld-selective/sel-dump.exp: Likewise. + * ld-selective/selective.exp: Don't run on aout or bout. + +2002-08-08 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add vers22. + + * ld-elfvers/vers22.c: New. + * ld-elfvers/vers22.dsym: New. + * ld-elfvers/vers22.map: New. + * ld-elfvers/vers22.ver: New. + * ld-elfvers/vers22a.c: New. + * ld-elfvers/vers22a.dsym: New. + * ld-elfvers/vers22a.sym: New. + * ld-elfvers/vers22a.ver: New. + * ld-elfvers/vers22b.c: New. + * ld-elfvers/vers22b.dsym: New. + * ld-elfvers/vers22b.ver: New. + +2002-08-07 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add --no-undefined-version. + + * ld-elfvers/vers1.map: Remove the unused foo1 and foo2. + * ld-elfvers/vers8.map: Likewise. + * ld-elfvers/vers18.map: Likewise. + +2002-07-30 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * ld-discard/discard.exp, ld-scripts/phdrs.exp, ld-scripts/phdrs2.exp, + ld-selective/sel-dump.exp: Test hppa*64*-*-hpux* target. + * ld-elfvers/vers.exp, ld-elfvsb/elfvsb.exp, ld-elfweak/elfweak.exp, + ld-linkonce/linkonce.exp, ld-shared/shared.exp, + ld-undefined/weak-undef.exp: Test hppa*64*-*-hpux* and hppa*-*-linux* + targets. + * ld-discard/exit.s, ld-discard/extern.s, ld-discard/start.s, + ld-discard/static.s: Add whitespace before assembler directives. + +2002-07-29 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/mips16-1.d: Check that ASE flag is actually set. + +2002-07-26 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/mips16-1.d, + * ld-mips-elf/mips16-1[ab].s: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2002-07-19 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/sec-1.d: Adjust for changes in padding. + * ld-mmix/sec-3.d: Ditto. + +2002-07-15 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Add vers21. + + * ld-elfvers/vers21.c: New. + * ld-elfvers/vers21.dsym: New. + * ld-elfvers/vers21.map: New. + * ld-elfvers/vers21.sym: New. + * ld-elfvers/vers21.ver: New. + +2002-07-12 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/nodyn4.d, ld-cris/expdyn4.d, ld-cris/comref1.s, + ld-cris/euwref1.s, ld-cris/expdyn3.d, ld-cris/expdyn2.d, + ld-cris/expdref1.s: New tests. + +2002-07-09 Richard Sandiford <rsandifo@redhat.com> + + * ld-scripts/dynamic-sections*: New test. + +2002-07-09 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-3.d, ld-cris/dso-3.s, ld-cris/noglob1.s, + ld-cris/noglob1.d: New tests. + + * ld-cris/libdso-1.d: Tweak for change in size of dynamic sections. + +2002-07-03 Alan Modra <amodra@bigpond.net.au> + + * lib/ld-lib.exp (default_ld_nm): Run nm with LC_ALL=C to ensure + consistent sorting. + (run_dump_test): Likewise for objdump/nm/objcopy/readelf. + * ld-sh/sh64/sh64.exp (run_ld_link_tests): Likewise. + +2002-06-29 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/sec-8m.d, ld-mmix/sec-8m.s, ld-mmix/sec-8a.s, + ld-mmix/sec-8b.s, ld-mmix/sec-8d.s: New test. + +2002-06-18 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/empic2-ref.s: Add a missing .end, apparently + turned up by recent assembler changes. + +2002-06-17 Tom Rix <trix@redhat.com> + + * ld-d10v/d10v.exp: New driver for d10v. + * ld-d10v/default_layout.d : New test. + * ld-d10v/regression-001.lt: New test for a linker regression. + * ld-d10v/linktest-002.lt: New test for run_link_test. + * ld-d10v/reloc-001.d - reloc-016.d: New tests. + +2002-06-11 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * ld-scripts/cross1.t: Add .hash, .dynstr and .dynsym sections to + script. + +2002-06-11 Andreas Jaeger <aj@suse.de> + + * ld-undefined/undefined.exp: Add s390x to dwarf2 xfails. + +2002-06-10 Richard Sandiford <rsandifo@redhat.com> + + * ld-mips-elf/region1a.s, + * ld-mips-elf/region1b.s, + * ld-mips-elf/region1.t, + * ld-mips-elf/region1.d: New test. + * ld-mips-elf/mips-elf.exp: Run it. + +2002-06-07 Nick Clifton <nickc@cambridge.redhat.com> + + * ld-scripts/phdrs2.s: Use .p2align instead of .align. + Use section names .foo and .bar instead of .text and .data. + * ld-scripts/phdrs2.t: Refer to .foo and .bar instead of .text + and .data. + +2002-06-06 David Heine <dlheine@tensilica.com> + + * ld-scripts/phdrs2.exp: New file: Run second phdrs test. + * ld-scripts/phdrs2.s: New file: Dummy assembler source. + * ld-scripts/phdrs2.t: New file: Linker script with an empty + section at the start of a loadable segment. + +2005-06-02 H.J. Lu <hjl@gnu.org> + + * ld-srec/sr3.cc (__dso_handle): Added for gcc 3.1 with + -fuse-cxa-atexit. + (__cxa_atexit): Likewise. + +2002-05-30 Richard Henderson <rth@redhat.com> + + * ld-bootstrap/bootstrap.exp: Test --relax. + +2002-05-28 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-2.d: Tweak for combreloc now default on. + +2002-05-07 Richard Sandiford <rsandifo@redhat.com> + + * lib/ld-lib.exp (run_dump_test): Add -L$srcdir/$subdir. + (is_elf_format): New, extracted from... + * ld-scripts/weak.exp: ...here. + * ld-scripts/overlay-size.exp: New test. + * ld-scripts/overlay-size.[tsd], + * ld-scripts/overlay-size-map.d: New files for it. + +2002-05-02 Richard Sandiford <rsandifo@redhat.com> + + * ld-scripts/map-address.exp: Quote conditions. + +2002-04-30 Richard Sandiford <rsandifo@redhat.com> + + * ld-scripts/map-address.exp: New test. + * ld-scripts/map-address.[td]: New files for it. + +2002-04-19 Richard Henderson <rth@redhat.com> + + * ld-elfvsb/elfvsb.exp: Mirror ia64 non-pic xfails for alpha. + * ld-shared/shared.exp: Likewise. + * ld-selective/selective.exp: Disable for alpha. + * ld-undefined/undefined.exp: Add alpha to dwarf2 xfails. + +2002-04-05 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test. + +2002-03-19 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/ldsym1.d: New test. + + * ld-mmix/bpo-1.d: Tweak for type of linker-script-symbols no + longer set to object. + * ld-mmix/undef-3.d, ld-mmix/start-1.d, ld-mmix/locto-1.d, + ld-mmix/loct-1.d, ld-mmix/locdo-1.d, ld-mmix/local7.d, + ld-mmix/local5.d, ld-mmix/local3.d, ld-mmix/local1.d, + ld-mmix/loc6.d, ld-mmix/loc4.d, ld-mmix/loc3.d, ld-mmix/loc2.d, + ld-mmix/loc1.d, ld-mmix/greg-7.d, ld-mmix/greg-6.d, + ld-mmix/greg-5.d, ld-mmix/greg-4.d, ld-mmix/greg-3.d, + ld-mmix/greg-2.d, ld-mmix/greg-19.d, ld-mmix/greg-1.d, + ld-mmix/bspec2.d, ld-mmix/bspec1.d, ld-mmix/bpo-9.d, + ld-mmix/bpo-6.d, ld-mmix/bpo-5.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-3.d, ld-mmix/bpo-2.d, ld-mmix/bpo-19.d, + ld-mmix/bpo-18.d, ld-mmix/bpo-17.d, ld-mmix/bpo-16.d, + ld-mmix/bpo-14.d, ld-mmix/bpo-11.d, ld-mmix/bpo-10.d: Ditto. + +2002-03-11 Andreas Jaeger <aj@suse.de> + + * ld-elfweak/strongdata.sym: Allow bss section for GCC 3.2 that + places zero initialized data in the bss. + * ld-elfweak/lddsodata.dsym: Likewise. + +2002-03-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/expdyn1.d: Tweak for change in elf.sc. + +2002-02-24 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-sh/ld-r-1.d: Adjust to changes in readelf output. + * ld-sh/shared-1.d, ld-sh/sh64/crangerel1.rd, ld-sh/crangerel2.rd, + ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Ditto. + +2002-02-18 Daniel Jacobowitz <drow@mvista.com> + + * ld-elfvsb/sh1.c: Fix typo in last change. + +2002-02-17 Daniel Jacobowitz <drow@mvista.com> + + * ld-elfvsb/sh1.c: Use #pragma weak. + +2002-02-17 Daniel Jacobowitz <drow@mvista.com> + + * vers.exp: Do not call diff -q. + +2002-02-17 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/b-nosym.d, ld-mmix/sec-6.d: Tweak for change in symbol + output. + * ld-mmix/sec-7m.d, ld-mmix/sec-7a.s, ld-mmix/sec-7b.s, + ld-mmix/sec-7c.s, ld-mmix/sec-7d.s, ld-mmix/sec-7e.s: New test. + + * ld-mmix/bpo-22.d: New test. + + * ld-mmix/local12.d (Sections): Match any LMA for .data, .sbss, + and .bss. + +2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * ld-selective/selective.exp: Link against libgcc on + hppa*-*-linux* targets. + +2002-02-11 Alexandre Oliva <aoliva@redhat.com> + + * ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field. + * ld-sh/sh64/crange-2i.s: Add align to match align in crange-2h.s. + * ld-sh/sh64/crange3-cmpct.rd: Adjust to reflect modifications + in section ordering. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crange3.dd: Likewise. + + * ld-sh/shared-1.d: Fix relocation addend. + +2002-02-09 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-21.d, ld-mmix/bpo-21m.d, ld-mmix/bpo-11.s: New + tests. + +2002-02-08 Alexandre Oliva <aoliva@redhat.com> + + Contribute sh64-elf. + 2002-02-02 Alexandre Oliva <aoliva@redhat.com> + * ld-sh/sh64/crange3-cmpct.rd: Adjust offsets. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + 2002-01-28 Alexandre Oliva <aoliva@redhat.com> + * ld-sh/sh64/abi32.xd: Formatting changes to match the current + output of objdump. + * ld-sh/sh64/cmpct1.xd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/mix1.xd: Likewise. + * ld-sh/sh64/mix2.xd: Likewise. + * ld-sh/sh64/rel32.xd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sh/sh64/sh64.exp: Likewise. Reordered cranges and stack + sessions, to match changes in the linker script. + 2001-06-14 Alexandre Oliva <aoliva@redhat.com> + * ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: Adjust relocation + info to reflect renumbering of relocation types. + 2001-03-14 DJ Delorie <dj@redhat.com> + * ld-sh/sh64/endian.dbd: New file, endian tests. + * ld-sh/sh64/endian.dld: Ditto. + * ld-sh/sh64/endian.ld: Ditto. + * ld-sh/sh64/endian.s: Ditto. + * ld-sh/sh64/endian.sbd: Ditto. + * ld-sh/sh64/endian.sld: Ditto. + * ld-sh/sh64/sh64.exp: Add above tests. Add -L option to ld. + 2001-03-12 DJ Delorie <dj@redhat.com> + * ld-sh/sh64/relax.exp: New file, test disabling relaxing. + * ld-sh/sh64/relax1.s: Ditto. + * ld-sh/sh64/relax2.s: Ditto. + * ld-sh/sh64/relax3.s: Ditto. + * ld-sh/sh64/relax4.s: Ditto. + * ld-sh/sh64/relfail.exp: New file, test for bogus relocs. + * ld-sh/sh64/relfail.s: Ditto. + 2001-03-12 DJ Delorie <dj@redhat.com> + * ld-sh/sh.exp: This test isn't appropriate for SH64 since it + uses SH32 assembler files. + 2001-03-07 DJ Delorie <dj@redhat.com> + * ld-selective/selective.exp: Pass "-e _start" for sh64 to + accomodate expected start symbol in test. + 2001-03-06 DJ Delorie <dj@redhat.com> + * ld-scripts/crossref.exp: Pass -mshelf32 to the linker for sh64, + to match what gcc passes to the linker by default. + * ld-selective/selective.exp: Ditto. + * ld-srec/srec.exp: Ditto, plus XFAIL for sh64. + * ld-undefined/undefined.exp: Add XFAIL for sh64 (it's dwarf2). + 2001-03-06 DJ Delorie <dj@redhat.com> + * ld-sh/sh64/abi32.xd (stack): Adjust for new default stack layout. + * ld-sh/sh64/abi64.xd (stack): Ditto. + * ld-sh/sh64/cmpct1.xd (stack): Ditto. + * ld-sh/sh64/crange1.rd (stack): Ditto. + * ld-sh/sh64/crange2.rd (stack): Ditto. + * ld-sh/sh64/crange3-cmpct.rd (stack): Ditto. + * ld-sh/sh64/crange3-media.rd (stack): Ditto. + * ld-sh/sh64/crange3.rd (stack): Ditto. + * ld-sh/sh64/mix1.xd (stack): Ditto. + * ld-sh/sh64/mix2.xd (stack): Ditto. + * ld-sh/sh64/shdl32.xd (stack): Ditto. + * ld-sh/sh64/shdl64.xd (stack): Ditto. + 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/mix1.xd: Add SORT_ENTRIES for .cranges section. + * ld-sh/sh64/mix2.xd: Ditto. + 2001-01-08 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/abi32.xd: Adjust for bit 0 set on an entry address + being SHmedia. + * ld-sh/sh64/shdl64.xd: Ditto. + * ld-sh/sh64/shdl32.xd: Ditto. + * ld-sh/sh64/mix2.xd: Ditto. + * ld-sh/sh64/crange3-media.rd: Ditto. + * ld-sh/sh64/abi64.xd: Ditto. + 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/crange-2a.s (diversion2): New global symbol. + * ld-sh/sh64/crange1.rd: Adjust to presence of new symbol. + Adjust section type for .cranges; expect sorted contents. + * ld-sh/sh64/crange2.rd: Ditto. + * ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: Ditto. + * ld-sh/sh64/crangerel1.rd: Adjust to presence of new symbol. + * ld-sh/sh64/crangerel2.rd: Ditto. + * ld-sh/sh64/mix1.xd: Adjust to DEBUGGING being set for .cranges. + * ld-sh/sh64/mix2.xd: Ditto. + * ld-sh/sh64/crange3-cmpct.rd, ld-sh/sh64/crange3-media.rd: New + tests. + * ld-sh/sh64/sh64.exp: Tweak test message. Run new tests. + 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/shmix-1.s (start2): Add a NOP to provide a valid + target for (unexpanded) PTB. Add an .align 2 to SHmedia code to + keep properly aligned. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd: Adjust accordingly. + * ld-sh/sh64/mix1-noexp.sd, ld-sh/sh64/mix2-noexp.sd, + ld-sh/sh64/abixx-noexp.sd: New tests for GAS -no-expand and + R_SH_PT_16 relocation. + * ld-sh/sh64/sh64.exp: Run new tests. + 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/crange-2f.s, ld-sh/sh64/crange-2g.s, + ld-sh/sh64/crange-2h.s, ld-sh/sh64/crange-2i.s, + ld-sh/sh64/crange3.dd, ld-sh/sh64/crange3.rd: New tests. + * ld-sh/sh64/sh64.exp: Run new tests. + * ld-sh/sh64/crange1.rd: Correct section flags. + * ld-sh/sh64/crange2.rd: Ditto. + * ld-sh/sh64/crangerel1.rd: Ditto. + 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/crange-1.s, ld-sh/sh64/crange-2a.s, + ld-sh/sh64/crange-2b.s, ld-sh/sh64/crange-2c.s, + ld-sh/sh64/crange-2d.s, ld-sh/sh64/crange-2e.s, + ld-sh/sh64/crange1.rd, ld-sh/sh64/crange2.rd, + ld-sh/sh64/crangerel1.rd, ld-sh/sh64/crangerel2.rd: New tests for + handling .cranges section. + * ld-sh/sh64/sh64.exp: Run new tests. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, + ld-sh/sh64/mix2.xd: Adjust for .cranges section. + 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi32.xd, ld-sh/sh64/abi64.sd, + ld-sh/sh64/abi64.xd, ld-sh/sh64/cmpct1.xd, ld-sh/sh64/mix1.sd, + ld-sh/sh64/mix1.xd, ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, + ld-sh/sh64/shdl32.xd, ld-sh/sh64/shdl64.xd: Adjust to .bss and + .data individually 8-byte aligned. + 2000-12-09 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/rel-1.s, ld-sh/sh64/rel-2.s, ld-sh/sh64/rel32.xd, + ld-sh/sh64/rel64.xd, ld-sh/sh64/reldl-1.s, ld-sh/sh64/reldl-2.s, + ld-sh/sh64/reldl32.rd, ld-sh/sh64/reldl64.rd: New tests. + * ld-sh/sh64/sh64.exp: Make it possible to use readelf as + inspection tool. Run new tests. + 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/abi64.sd, ld-sh/sh64/abi32.sd, ld-sh/sh64/mix1.sd, + ld-sh/sh64/mix2.sd: Correct offsets in PT/PTA/PTB expansions. + * ld-sh/sh64/shdl-1.s, ld-sh/sh64/shdl-2.s, ld-sh/sh64/shdl64.sd, + ld-sh/sh64/shdl64.xd, ld-sh/sh64/shdl32.xd: New tests. + * ld-sh/sh64/sh64.exp: Run new tests. + 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/cmpct1.sd, ld-sh/sh64/cmpct1.xd, + ld-sh/sh64/shcmp-1.s: New test. + * ld-sh/sh64/sh64.exp: Add new test to sh64tests. Reformat. + 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/sh64.exp: Use linker option -mshelf64 for 64-bit ABI + test. + * ld-sh/sh64/abi64.xd: Tweak for 64-bit ELF. + 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/sh64.exp (sh64tests): Use linker option -mshelf32 for + tests. + 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64/abi32.sd, ld-sh/sh64/abi64.sd: Correct MOVI + registers. + * ld-sh/sh64/mix1.sd, ld-sh/sh64/mix1.xd, ld-sh/sh64/shmix-1.s: + New test. + * ld-sh/sh64/mix2.sd, ld-sh/sh64/mix2.xd, ld-sh/sh64/shmix-2.s, + ld-sh/sh64/shmix-3.s: New test. + * ld-sh/sh64/sh64.exp: Add new tests to sh64tests. + 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> + * ld-sh/sh64: New testsuite. + +2002-02-07 Hans-Peter Nilsson <hp@axis.com> + + * ld-selective/keepdot.s: Remove section specifier. + +2002-02-05 Hans-Peter Nilsson <hp@axis.com> + + * ld-selective/keepdot.d, ld-selective/keepdot.ld, + ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests. + * ld-selective/sel-dump.exp: New, driver for run_dump_test:s. + +2002-02-04 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-18.d, ld-mmix/bpo64addr.ld, ld-mmix/bpo-18m.d, + ld-mmix/bpo-9.s, ld-mmix/bpo-19.d, ld-mmix/bpo-19m.d, + ld-mmix/bpo-10.s, ld-mmix/bpo-20.d, ld-mmix/bpo-20m.d: New tests + for on-demand global register allocation. + +2002-02-02 Alexandre Oliva <aoliva@redhat.com> + + * ld-sh/shared-1.d: Fix incorrect offsets. + +2002-02-01 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/bpo-1.d, ld-mmix/bpo-1.s, ld-mmix/bpo-1m.d, + ld-mmix/bpo-15.d, ld-mmix/bpo-4.s, ld-mmix/bpo-6.d, + ld-mmix/bpo-6.s, ld-mmix/bpo-2.d, ld-mmix/bpo-6m.d, + ld-mmix/bpo-12m.d, ld-mmix/bpo-2m.d, ld-mmix/bpo-2.s, + ld-mmix/bpo-5.s, ld-mmix/bpo-3.d, ld-mmix/start3.s, + ld-mmix/bpo-3m.d, ld-mmix/bpo-9m.d, ld-mmix/bpo-4.d, + ld-mmix/bpo-3.s, ld-mmix/bpo-4m.d, ld-mmix/bpo-7.d, + ld-mmix/bpo-5.d, ld-mmix/bpo-16.d, ld-mmix/bpo-5m.d, + ld-mmix/bpo-7m.d, ld-mmix/bpo-9.d, ld-mmix/bpo-8.d, + ld-mmix/start4.s, ld-mmix/bpo-8m.d, ld-mmix/bpo-13m.d, + ld-mmix/bpo-15m.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d, + ld-mmix/bpo-14m.d, ld-mmix/bpo-13.d, ld-mmix/bpo-7.s, + ld-mmix/bpo-12.d, ld-mmix/bpo-16m.d, ld-mmix/bpo-14.d, + ld-mmix/bpo-8.s, ld-mmix/bpo-17.d, ld-mmix/bpo-17m.d: New tests. + +2002-01-31 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris/weakref1.d, ld-cris/libdso-1.d, ld-cris/gotrel2.s, + ld-cris/expdyn1.d, ld-cris/expdyn1.s, ld-cris/dso-1.s: New tests. + * ld-cris/cris.exp: Split run_dump_tests in two parts, executing + tests named *dso-*.d first and copying their tmpdir/dump to files + named as the .d-file. + +2002-01-31 Alan Modra <amodra@bigpond.net.au> + + * ld-scripts/crossref.exp: Allow foo to have a leading dot. + * ld-scripts/cross1.t: Add .opd. + * ld-undefined/undefined.exp: Allow leading dot on sym names. + * lib/ld-lib.exp (default_ld_nm): Strip leading dots from syms. + +2002-01-29 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/emrelocs-eb.d: New file to test --embedded-relocs. + * ld-mips-elf/emrelocs-el.d: Likewise. + * ld-mips-elf/emrelocs1.s: Likewise. + * ld-mips-elf/emrelocs2.s: Likewise. + * ld-mips-elf/emrelocs.ld: Likewise. + * ld-mips-elf/mips-elf.exp: Add the above to the list of tests. + +2002-01-21 Hans-Peter Nilsson <hp@axis.com> + + * ld-cris: New testsuite directory. + +2002-01-15 Nick Clifton <nickc@cambridge.redhat.com> + + * ld-sh/sh.exp: Copy start.s file into test directory. + +2002-01-14 Nick Clifton <nickc@cambridge.redhat.com> + + * ld-selective/selective.exp: For ARM targets, link with libgcc.a. + +2002-01-02 Chris Demetriou <cgd@broadcom.com> + + * ld-mips-elf/empic1-ln.d: New file to test basic linking of + R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocations. + * ld-mips-elf/empic1-lp.d: Likewise. + * ld-mips-elf/empic1-mn.d: Likewise. + * ld-mips-elf/empic1-mp.d: Likewise. + * ld-mips-elf/empic1-sn.d: Likewise. + * ld-mips-elf/empic1-sp.d: Likewise. + * ld-mips-elf/empic1-ref.s: Likewise. + * ld-mips-elf/empic1-space.s: Likewise. + * ld-mips-elf/empic1-tgt.s: Likewise. + * ld-mips-elf/empic2-fwd-0.d: New file to test + R_MIPS_GNU_REL_HI16 and R_MIPS_GNU_REL_LO16 relocation edge + cases. + * ld-mips-elf/empic2-fwd-1.d: Likewise. + * ld-mips-elf/empic2-rev-0.d: Likewise. + * ld-mips-elf/empic2-rev-1.d: Likewise. + * ld-mips-elf/empic2-ref.s: Likewise. + * ld-mips-elf/empic2-space.s: Likewise. + * ld-mips-elf/empic2-fwd-tgt.s: Likewise. + * ld-mips-elf/empic2-rev-tgt.s: Likewise. + * ld-mips-elf/mips-elf.exp: New file to run MIPS 32-bit ELF + tests (including those above). + +2001-11-30 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (build_vers_lib): Preserve the library + order. + +2001-11-29 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp (build_vers_lib): Support linking against + more than one libraries. + Add "vers20a" and "vers20" tests for common symbols. + + * ld-elfvers/vers20.c: New. + * ld-elfvers/vers20.dsym: New. + * ld-elfvers/vers20.map: New. + * ld-elfvers/vers20.ver: New. + * ld-elfvers/vers20a.ver: New. + +2001-11-19 H.J. Lu <hjl@gnu.org> + + * ld-elfvsb/define.s: Mark all global lables as object. + + * ld-elfvsb/hidden0.d: Match large section number. + * ld-elfvsb/hidden1.d: Likewise. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/internal1.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + * ld-elfvsb/protected1.d: Likewise. + + * ld-elfvsb/hidden0.d: Change NOTYPE to OBJECT. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + +2001-11-15 H.J. Lu <hjl@gnu.org> + + * ld-sh/ld-r-1.d: Updated. + +2001-11-14 Nick Clifton <nickc@cambridge.redhat.com> + + * ld-bootstrap/bootstrap.exp: Only scan tail of executable for + PE targets. + +2001-11-12 Donn Terry <donnte@microsoft.com> + + * ld-bootstrap/bootstrap.exp: Only compare the tail end of the two + binary files produced in order to avoid date stamp present in PE + binaries. + +2001-11-11 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/sec-5.d (Sections): Add whitespace missing in commit. + +2001-11-09 H.J. Lu <hjl@gnu.org> + + * ld-discard/discard.exp: New. Test ld discard. + * ld-discard/discard.ld: Likewise. + * ld-discard/exit.s: Likewise. + * ld-discard/extern.d: Likewise. + * ld-discard/extern.s: Likewise. + * ld-discard/start.d: Likewise. + * ld-discard/start.s: Likewise. + * ld-discard/static.d: Likewise. + * ld-discard/static.s: Likewise. + +2001-11-02 H.J. Lu <hjl@gnu.org> + + * ld-elfvsb/elfvsb.exp: Add the "ld -r" test. + + * ld-elfvsb/hidden0.d: New. + * ld-elfvsb/hidden1.d: New. + * ld-elfvsb/internal0.d: New. + * ld-elfvsb/internal1.d: New. + * ld-elfvsb/protected0.d: New. + * ld-elfvsb/protected1.d: New. + * ld-elfvsb/undef.s: New. + * ld-elfvsb/undef.s: New. + +2001-11-02 NIIBE Yutaka <gniibe@m17n.org> + + * ld-sh/sh.exp: Have its own start.s for linux. + +2001-10-31 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix/locdo-1.d: Prune character dump part. + * ld-mmix/local7m.d, ld-mmix/loc4.d, ld-mmix/loc4m.d, + ld-mmix/loc1.d, ld-mmix/bspec1m.d, ld-mmix/bspec2m.d, + ld-mmix/b-nosym.d, ld-mmix/b-fixo2.d, ld-mmix/b-loc64k.d, + ld-mmix/undef-3m.d, ld-mmix/locto.s, ld-mmix/loct.s, + ld-mmix/local3m.d, ld-mmix/local1m.d, ld-mmix/loc6m.d, + ld-mmix/loc2.s, ld-mmix/loc1.s, ld-mmix/gregldo1.s, + ld-mmix/dloc1.s, ld-mmix/b-widec3.s, ld-mmix/b-nosym.s: Remove + unnecessary empty lines. + +2001-10-30 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-mmix: New testsuite directory. + +2001-10-14 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-sh/sub2l-1.d, ld-sh/shared-1.d, ld-sh/weak1.d: Only run on + sh*-*-elf. + + * lib/ld-lib.exp (run_dump_test): Fix typo: asflags(), not asflags{}. + + * ld-sh/rd-sh.exp: New framework file. + * ld-sh/ld-r-1.d, ld-sh/ldr1.s, ld-sh/ldr2.s, ld-sh/shared-1.d, + ld-sh/weak1.s, ld-sh/weak1.d, ld-sh/sub2l.s, ld-sh/sub2l-1.d: New + test files. + +2001-09-29 Hans-Peter Nilsson <hp@axis.com> + + * ld-linkonce/linkonce.exp: New file. + * ld-linkonce/x.s, ld-linkonce/y.s, ld-linkonce/zeroeh.ld, + ld-linkonce/zeroehl32.d: New test. + +2001-09-25 H.J. Lu <hjl@gnu.org> + + * ld-elfweak/dso.dsym: Updated for alpha. + * ld-elfweak/dsodata.dsym: Likewise. + * ld-elfweak/strong.sym: Likewise. + * ld-elfweak/strongcomm.sym: Likewise. + * ld-elfweak/strongdata.sym: Likewise. + +2001-09-15 Hans-Peter Nilsson <hp@bitrange.com> + + * lib/ld-lib.exp (run_dump_test): Handle new option + "objcopy_linked_file". Return after failing, if errors were + expected but none were found. + (slurp_options): Support underscores in option names. + +2001-09-14 H.J. Lu <hjl@gnu.org> + + * ld-elfweak/bar.c: Updated. + * ld-elfweak/bar1a.c: Likewise. + * ld-elfweak/main.c: Likewise. + * ld-elfweak/main1.c: Likewise. + * ld-elfweak/elfweak.exp: Likewise. + * ld-elfweak/weakdata.dsym: Updated. + +2001-09-11 H.J. Lu <hjl@gnu.org> + + * ld-elfweak/elfweak.exp (build_lib): Take a list of object + files. + (build_exec): Likewise. + Add more tests and make some xfail. + + * ld-elfweak/dso.dsym: Support symbol versioning. + * ld-elfweak/dsow.dsym: Likewise. + + * ld-elfweak/main1.c: New. + * ld-elfweak/bar1a.c: Likewise. + * ld-elfweak/bar1b.c: Likewise. + * ld-elfweak/bar1c.c: Likewise. + * ld-elfweak/foo1a.c: Likewise. + * ld-elfweak/foo1b.c: Likewise. + * ld-elfweak/dsodata.dsym: Likewise. + * ld-elfweak/dsowdata.dsym: Likewise. + * ld-elfweak/weakdata.dsym: Likewise. + * ld-elfweak/strongcomm.sym: Likewise. + * ld-elfweak/strongdata.sym: Likewise. + * ld-elfweak/weakdata.dat: Likewise. + * ld-elfweak/strongdata.dat: Likewise. + +2001-09-10 H.J. Lu <hjl@gnu.org> + + * ld-elfweak/elfweak.exp: New. + * ld-elfweak/bar.c: Likewise. + * ld-elfweak/foo.c: Likewise. + * ld-elfweak/main.c: Likewise. + * ld-elfweak/dso.dsym: Likewise. + * ld-elfweak/dsow.dsym: Likewise. + * ld-elfweak/strong.sym: Likewise. + * ld-elfweak/strong.dat: Likewise. + * ld-elfweak/weak.dat: Likewise. + +2001-08-27 Alan Modra <amodra@bigpond.net.au> + Linus Nordberg <linus@swox.se> + + * ld-checks/checks.exp: .lcomm is incompatible with ppc coff. + * ld-scripts/cross1.t: Add .toc section. + * ld-scripts/cross2.t: Likewise. + * ld-scripts/phdrs.exp: powerpc64 is 64 bit. + * ld-srec/srec.exp: xfail powerpc64 + +2001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca> + + * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'. + Continue with other tests when there is a compilation error. + +2001-08-01 Loren J. Rittle <ljrittle@acm.org> + + * ld-cdtest/cdtest-nrv.dat: New file. + * ld-cdtest/cdtest.exp: Do not require any exception support + library. Check results against NRV. + +2001-08-01 Loren J. Rittle <ljrittle@acm.org> + + * ld-srec/srec.exp: Do not require any exception support + library. + +2001-07-27 H.J. Lu <hjl@gnu.org> + + * ld-selective/selective.exp: Fix the error in the last change. + +2001-07-24 Loren J. Rittle <ljrittle@acm.org> + + * ld-selective/selective.exp: Support g++ V3 ABI (along side + the old ABI). Make comparisons against normalized (to + V3-style) demangled nm output. + +2001-07-24 Alan Modra <amodra@bigpond.net.au> + + * config/default.exp (ld_nm): Add "nmflags" arg. + * lib/ld-lib.exp (default_ld_nm): Likewise. + * ld-empic/empic.exp: Adjust call to ld_nm. + * ld-scripts/defined.exp: Likewise. + * ld-scripts/script.exp: Likewise. + * ld-scripts/sizeof.exp: Likewise. + * ld-selective/selective.exp: Likewise. + * ld-sh/sh.exp: Likewise. + +2001-07-12 H.J. Lu <hjl@gnu.org> + + * ld-selective/selective.exp: Mark selective1, selective2, + selective4 and selective5 xfail on alpha*-*. + +2001-06-13 Hans-Peter Nilsson <hp@bitrange.com> + + * config/default.exp (AS, GASP, OBJDUMP, NM, NMFLAGS, OBJCOPY, + OBJCOPYFLAGS, READELF, READELFFLAGS, LD, LDFLAGS): Provide + default. + + * lib/ld-lib.exp (run_dump_test): Import from gas testsuite. Add + new options "ld", "source", "xfail", "target", "notarget" and + "error". Support the runtest_file_p "*.exp=testname" feature. + (slurp_options, regexp_diff, file_contents, verbose_eval): Import + from gas testsuite. + +2001-06-12 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * testsuite/ld-undefined/undefined.exp: Correct setup_xfail rule. + +2001-06-06 H.J. Lu <hjl@gnu.org> + + * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 + on Linux/mips. + + * ld-elfvers/vers.exp: Also run on Linux/mips. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-shared/shared.exp: Likewise. + + * ld-selective/selective.exp: Mark selective2, selective3, + selective4 and selective5 xfail on Linux/mips. + + * ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips. + + * symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips. + + * ld-srec/srec.exp: Add Linux/mips to xfail. + +2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * ld-undefined/undefined.exp: Add a setup_xfail line for a test + that will always fail on s/390. + +2001-05-28 kaz Kojima <kkojima@rr.iij4u.or.jp> + + * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for + the text section. + +2001-05-25 Alan Modra <amodra@one.net.au> + + * ld-elfvers/vers.exp: Replace linuxoldld with linux*oldld and + linuxaout with linux*aout. + +2001-05-24 H.J. Lu <hjl@gnu.org> + + * ld-scripts/phdrs.exp: Add sparc64 to 64 bit platform. + +2001-05-18 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Revert the last change. + + * ld-elfvers/vers2.ver: Put back "tmpdir/" the version + references. + * ld-elfvers/vers3.ver: Likewise. + * ld-elfvers/vers6.ver: Likewise. + * ld-elfvers/vers18.ver: Likewise. + +2001-05-17 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19". + + * ld-elfvers/vers1.ver: Remove "tmpdir/" from the version + definition. + * ld-elfvers/vers2.ver: Likewise. + * ld-elfvers/vers3.ver: Likewise. + * ld-elfvers/vers4a.ver: Likewise. + * ld-elfvers/vers6.ver: Likewise. + * ld-elfvers/vers7a.ver: Likewise. + * ld-elfvers/vers8.ver: Likewise. + * ld-elfvers/vers9.ver: Likewise. + * ld-elfvers/vers15.ver: Likewise. + * ld-elfvers/vers16a.ver: Likewise. + * ld-elfvers/vers17.ver: Likewise. + * ld-elfvers/vers18.ver: Likewise. + +2001-05-03 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers19.ver: Expect vers17.so instead of + *tmpdir/vers17.so. + +2001-05-01 Andreas Jaeger <aj@suse.de>, Andreas Schwab <schwab@suse.de> + + * ld-scripts/phdrs.exp: Fix regexp, s390x is 64 bit platform. + + * ld-scripts/phdrs.t: Use startaddress that's greater than any + MAXPAGESIZE used. + +2001-04-29 H.J. Lu <hjl@gnu.org> + + * ld-shared/symbolic.dat: New. + + * ld-shared/shared.exp: Also check -Bsymbolic. + +2001-04-28 Andreas Jaeger <aj@suse.de> + + * ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it + special. + +2001-04-01 David O'Brien <obrien@FreeBSD.org> + * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even + though it doesn't use DWARF2 yet (but its output is identical). + +2001-04-01 David O'Brien <obrien@FreeBSD.org> + + * ld-selective/selective.exp: Use -O with gcc rather than -O2. + This optimization level is buggy on some platforms, and this test + is not intended to test compiler optimizations. + +2001-03-06 DJ Delorie <dj@redhat.com> + + * ld-scripts/cross2.t: Support any type of text/data sections, not + just the canonical ones. + +2001-02-28 Matt Hiller <hiller@redhat.com> + + * ld-scripts/crossref.exp: Initialize flags to [big_or_little_endian]. + * ld-undefined/undefined.exp: Ditto, and include $flags in ld + invocations. + * lib/ld-lib.exp (big_or_little_endian): Recognize -EB, -eb, -EL + and -el. + (is_endian_output_format): New function. + (default_ld_link): Set flags to [big_or_little_endian] only if ld + is being invoked such that the output format being used is of + known endianness. + (default_ld_simple_link): Ditto. + +2001-02-22 Timothy Wall <twall@cygnus.com> + + * ld-bootstrap/bootstrap.exp: Exclude ia64 flavor from + AIX-specific test. + +2001-02-14 H.J. Lu <hjl@gnu.org> + + * ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3 + for -static on ia64. + + * ld-checks/checks.exp: Don't run on ia64-*-elf* nor + ia64-*-linux*. + + * ld-elfvers/vers.exp: Also run ia64-*-elf* and ia64-*-linux*. + + * ld-elfvsb/elfvsb.exp: Use i?86-*-*. Also run on ia64-*-linux*. + Set up expected failures for ia64-*-linux*. + * ld-shared/shared.exp: Likewise. + +2001-02-08 Stephane Carrez <Stephane.Carrez@worldnet.fr> + + * ld-srec/srec.exp (run_srec_test): m6811 code has references + to soft registers, define them with --defsym. + * ld-selective/selective.exp: Likewise. + +2000-01-23 Alan Modra <alan@spri.levels.unisa.edu.au> + + * ld-srec/sr3.cc (__rethrow): New. + +2001-01-14 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-sh/sh.exp: Use --oformat srec, not -oformat srec. + +2001-01-03 Philip Blundell <pb@futuretv.com> + + * ld-elfvsb/elfvsb.exp: Run test on Linux/Alpha. + * ld-shared/shared.exp: Likewise. + +2001-01-01 Philip Blundell <philb@gnu.org> + + * ld-undefined/weak-undef.exp: New test. + * ld-undefined/weak-undef.s, ld-undefined/weak-undef.t: Supporting + files for above. + + * ld-elfvers/vers.exp: Run test on Linux/ARM. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-shared/shared.exp: Likewise. + +2000-12-31 Nick Clifton <nickc@redhat.com> + + * ld-srec/srec.exp: Use --oformat instead of -oformat. + +2000-12-09 Nick Clifton <nickc@redhat.com> + + * ld-selective/selective.exp: Link in libgcc when target is v850. + + * ld-srec/srec.exp: Expect the srec_test to fail for ARM targets + because the -oformat linker command switch cannot be used. + +2000-11-06 Alan Modra <alan@linuxcare.com.au> + + * ld-elfvsb/main.c (PROTECTED_CHECK): Include stdio.h. + (main): Prune unused args. + +2000-10-29 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-selective/selective.exp <no CXX>: Fix typo for argument to + "untested". + +2000-10-19 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures + for Linux/PPC. + * ld-shared/shared.exp: Likewise. + +2000-10-09 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-selective/selective.exp: Rearrange to be table-driven. + +2000-10-07 Alan Modra <alan@linuxcare.com.au> + + * ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too. + +2000-10-02 Alan Modra <alan@linuxcare.com.au> + + * ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more. + * ld-scripts/crossref.exp: Ditto. + +2000-09-29 Hans-Peter Nilsson <hp@bitrange.com> + + * ld-selective/5.cc: New test. + * ld-selective/selective.exp: Run it as xfailed. + + * ld-selective/4.cc: Correct spelling of "lose". + +2000-09-05 Alan Modra <alan@linuxcare.com.au> + + * ld-selective/selective.exp: Remove the xfails for hppa. + +2000-08-30 Alexandre Oliva <aoliva@redhat.com> + + * ld-undefined/undefined.exp (hppa*64*-*-*, mn10300-*-elf, + sh-*-*): With dwarf-2, `undefined function' can't pass. + +2000-08-03 H.J. Lu (hjl@gnu.org) + + * ld-bootstrap/bootstrap.exp: Add strip. + +2000-07-24 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp: Add -g to $CC to get the location of + the undefined reference. + +2000-07-16 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (support_protected): New variable. Check + and set to "yes" if the protected visibility is expected to + pass. + (visibility_run): Set expected to fail for the "protected" + and "protected_undef_def" tests only if $support_protected is + "no". + + * ld-elfvsb/main.c (PROTECTED_CHECK): Check for the protected + visibility support if defined. + +2000-07-15 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failure + for "protected_undef_def". + + * ld-elfvsb/main.c: Don't define HIDDEN_UNDEF_TEST when + PROTECTED_WEAK_TEST is defined. + Don't define PROTECTED_UNDEF_TEST when PROTECTED_WEAK_TEST is + defined. + Define PROTECTED_TEST when PROTECTED_UNDEF_TEST is defined. + + * ld-elfvsb/sh1.c (visibility): Mark protected only if + PROTECTED_TEST, PROTECTED_UNDEF_TEST or PROTECTED_WEAK_TEST + is defined. + (visibility_var): Likewise. + +2000-07-10 Alan Modra <alan@linuxcare.com.au> + + * ld-srec/srec.exp: xfail hppa. + + * ld-scripts/weak.exp: Define $global$ for hppa. + + * ld-scripts/crossref.exp: Fix string quoting. + +2000-06-05 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Redirect the linker output + to link_output and make it global. + + * ld-elfvsb/elfvsb.exp (visibility_test): Add "hidden_undef", + "hidden_undef_def", "hidden_weak", "protected_undef", + "protected_undef_def" and "protected_weak". + (visibility_run): Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + + * ld-elfvsb/elfvsb.dat: Updated. + +2000-05-21 H.J. Lu (hjl@gnu.org) + + * ld-elfvsb/main.c (main_visibility_check): Fix the protected + visibility test. + +2000-05-13 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Redirect the linker output + to link_output and make it global. + + * ld-elfvsb/elf-offset.ld: New. ELF visibility fearture + tests. + * ld-elfvsb/elfvsb.dat: Likewise. + * ld-elfvsb/elfvsb.exp: Likewise. + * ld-elfvsb/main.c: Likewise. + * ld-elfvsb/sh1.c: Likewise. + * ld-elfvsb/sh2.c: Likewise. + +Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com> + + * ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too. + +2000-04-12 Alan Modra <alan@linuxcare.com.au> + + * ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure. + + * ld-selective/selective.exp (test4): Test for presence of + foo__1B, not absence. Also check for foo__1A and _start. + White space changes throughout file. + +2000-03-13 Nick Clifton <nickc@cygnus.com> + + * ld-scripts/phdrs.t: Discard all unexpected sections. + +2000-02-27 H.J. Lu (hjl@gnu.org) + + * lib/ld-lib.exp (default_ld_link): Added "$LIBS" to libs. + +1999-11-01 Nick Clifton <nickc@cygnus.com> + + * ld-selective/selective.exp: Fix test to disable these checks for + PE based targets. + +1999-10-29 Catherine Moore <clm@cygnus.com> + + * ld-selective/selective.exp: Remove test6. + * ld-selective/5.cc: Delete. + +1999-10-28 Scott Bambrough <scottb@netwinder.org> + + * ld-srec/srec.exp: Setup expected failures for + srec tests on ARM Linux. + +1999-09-17 Alan Modra <alan@spri.levels.unisa.edu.au> + + * ld-shared/shared.exp: xfail linux*libc1 shared (non PIC, load + offset) test. + +1999-09-12 Ian Lance Taylor <ian@zembu.com> + + * ld-scripts/script.exp: Add --image-base 0 for PE targets. + +1999-08-17 H.J. Lu <hjl@gnu.org> + + * ld-cdtest/cdtest-foo.cc (Foo::init_foo): Use "%ld" for sizeof. + +1999-08-09 Jakub Jelinek <jj@ultra.linux.cz> + + * ld-elfvers/vers.exp: Run tests on sparc*-*-linux*. + * ld-shared/shared.exp: Likewise. + +1999-07-28 Nick Clifton <nickc@cygnus.com> + + * lib/ld-lib.exp (proc big_or_little_endian): New proc. + Determine if a big endian or little endian output format hass + been selected by any of the multilib options, and if so return + a suitable command line option for the linker/assembler. + (proc default_ld_link): Include the result of proc + big_or_little_endian on the command line to the linker. + (proc ld_simple_link): Include the result of proc + big_or_little_endian on the command line to the linker. + (proc default_ld_compile): Append multilib flags to compiler + switches. + (proc default_ld_assemble): Include the result of proc + big_or_little_endian on the command line to the linker. + +1999-07-21 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers1.c: Add missing prototypes and include + <stdio.h> if necessary. + * ld-elfvers/vers15.c: Likewise. + * ld-elfvers/vers19.c: Likewise. + * ld-elfvers/vers2.c: Likewise. + * ld-elfvers/vers3.c: Likewise. + * ld-elfvers/vers4.c: Likewise. + * ld-elfvers/vers6.c: Likewise. + * ld-elfvers/vers7.c: Likewise. + * ld-elfvers/vers9.c: Likewise. + * ld-shared/main.c: Likewise. + * ld-srec/sr3.cc (Foo::Foo): Remove arg name. + +Thu Jul 15 18:00:30 1999 Mark P. Mitchell <mark@codesourcery.com> + + * ld-undefined/undefined.exp: XFAIL on IRIX6 for the usual as + with other DWARF2 targets. + +1999-07-13 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: Do not expect arm toolchains to fail + the undefined line test. + +1999-07-10 Ian Lance Taylor <ian@zembu.com> + + * ld-elfvers/vers.exp: Use -rpath in new vers19 test. + +1999-07-07 Ian Lance Taylor <ian@zembu.com> + + * ld-elfvers/vers.exp: Add new tests vers17 to vers19. + * ld-elfvers/{vers17.*, vers18.*, vers19.*}: New files. + +1999-06-13 Ian Lance Taylor <ian@zembu.com> + + * ld-checks/asm.s: Use a symbol name for .lcomm. + * ld-checks/checks.exp: Use different names for the two tests. + Don't add extra text when invoking fail. + +1999-06-12 Ian Lance Taylor <ian@zembu.com> + + * ld-scripts/phdrs.exp: Change target check from "*-*-linuxaout*" + to "*-*-linux*aout*". + * ld-scripts/weak.exp: Likewise. + * ld-shared/shared.exp: Likewise. Simplify condition a bit. + +Wed Jun 9 12:02:33 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de> + + * ld-cdtest/cdtest-main.cc: Avoid `implicit int' warning. + * ld-shared/sh1.c: Fix typo. + +1999-06-04 H.J. Lu <hjl@gnu.org> + + * lib/ld-lib.exp (default_ld_nm): Clear nm_output first if + necessary. + +1999-05-17 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: Add xfail for mcore-elf. + +1999-05-11 DJ Delorie <dj@cygnus.com> + + * ld-srec/srec.exp: Do not run tests for PE based ports. + +1999-03-05 Nick Clifton <nickc@cygnus.com> + + * ld-selective/selective.exp: Do not run tests for COFF or PE + based ports. + +1999-02-17 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: Add expected failures for StrongARM + targets. + + * ld-srec/srec.exp: Add expected failures for StrongARM targets. + + * ld-selective/selective.exp: Add expected failure for ARM-COFF + targets. + +1999-02-16 Nick Clifton <nickc@cygnus.com> + + * ld-checks/asm.s: Use .long instead of .word. + Replace custom section names with .text, .data and .bss. + * ld-checks/script: Replace custom section names with .text, .data + and .bss. + * ld-checks/checks.exp: Replace custom section names with .text, + .data and .bss. + +1999-02-11 Nick Clifton <nickc@cygnus.com> + + * ld-checks: New directory: Tests for the linker's + --check-sections option. + * ld-checks/checks.exp: New file. + * ld-checks/script: Bogus linker script. + * ld-checks/asm.s: Simple test assembler file. + +Tue Feb 2 19:15:02 1999 Catherine Moore <clm@cygnus.com> + + * ld-selective/selective.exp: Disable test for unsupported + targets. Change tests to check for absence of symbols instead + of address zero. + +Mon Jan 18 03:44:52 1999 Ian Lance Taylor <ian@cygnus.com> + + * config/default.exp (get_link_files): Quote target_triplet and CC + when invoking shell. + (get_target_emul): Likewise. + +1999-01-03 Ken Raeburn <raeburn@cygnus.com> + + * config/default.exp (get_link_files, get_target_emul): New procs; + run shell commands to extract information from configure.host and + configure.tgt in the source tree. + (top level): Use them to get information needed to run tests, if + not otherwise provided. + + * ld-shared/elf-offset.ld: New file. Builds a shared library, but + gives non-zero addresses for memory region. + * ld-shared/shared.exp: Run the non-PIC non-AIX test again using + the new linker script. + +Tue Dec 8 22:56:05 1998 Geoff Keating <geoffk@ozemail.com.au> + + * ld-srec/srec.exp: Delete xfails for PPC Linux targets, + newer glibc lets link succeed. + +Sun Dec 6 12:59:37 1998 H.J. Lu <hjl@gnu.org> + + * ld-elfvers/vers1.c: Add missing return types and values. + * ld-elfvers/vers2.c: Likewise. + * ld-elfvers/vers3.c: Likewise. + * ld-elfvers/vers4.c: Likewise. + * ld-elfvers/vers5.c: Likewise. + * ld-elfvers/vers6.c: Likewise. + * ld-elfvers/vers7.c: Likewise. + * ld-elfvers/vers9.c: Likewise. + * ld-elfvers/vers15.c: Likewise. + +Fri Oct 23 16:28:29 1998 Catherine Moore <clm@cygnus.com> + + * ld-selective: New directory with new files to test + selective linking. + + * lib/ld-lib.exp (ld_nm): Strip leading underscore from $name. + +Sun Oct 4 22:17:05 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers16.dsym: Work correctly on a system without + versioned system libraries. + +Mon Sep 28 21:31:12 1998 Richard Henderson <rth@cygnus.com> + + * ld-elfvers/vers.exp: Run tests on alpha-linux. + * ld-elfvers/*.sym, ld-elfvers/*.dsym: Adjust patters to match + Alpha's use of st_other. + +1998-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld-elfvers/vers.exp (vers16, vers16a): New tests. + * ld-elfvers/{vers16.*, vers16a.*}: New files. + +Thu Sep 17 17:18:19 1998 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: Make undefined line test be an xfail + for arm/thunb elf toolchains. + +Wed Sep 9 14:10:15 1998 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: change test for elf/dwarf2 targets. + + * ld-srec/srec.exp: Arm-elf now passes this test. + +Wed Aug 19 11:59:19 1998 Nick Clifton <nickc@cygnus.com> + + * ld-srec/srec.exp: Add arm/thumb-elf expected failures. + +Thu Aug 13 12:41:58 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-bootstrap/bootstrap.exp: Don't run the --static bootstrap + test if we don't have a static libbfd.a. + +Wed Aug 12 15:19:35 1998 Ian Lance Taylor <ian@cygnus.com> + + Based on patch from H.J. Lu <hjl@gnu.org>: + * ld-srec/srec.exp: Add xfails for Alpha ELF targets. + +Mon Aug 10 15:42:20 1998 Richard Henderson <rth@cygnus.com> + + * ld-scripts/weak.t (.text, .data): Focus data to be used. + (/DISCARD/): All the rest. + * ld-scripts/weak1.s, ld-scripts/weak2.s: Put stuff in .data. + +Fri Jul 24 18:37:17 1998 Ian Lance Taylor <ian@cygnus.com> + + * config/default.exp: Create tmpdir/gas subdirectory, add a + symlink to as-new, and set gcc_gas_flag variable. + * lib/ld-lib.exp (default_ld_compile): If the compiler appears to + be gcc, use gcc_gas_flag when compiling. + +Thu Jul 23 12:23:29 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers.exp: Just check for i?86 rather than checking + for i386, i486, and i586. + (objdump_versionstuff): If we can't find the line, dump the file. + +Fri Jul 3 00:27:41 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/phdrs.exp: Run test on *-*-eabi*. + * ld-scripts/weak.exp: Likewise. + +Wed Jul 1 10:51:46 1998 Nick Clifton <nickc@cygnus.com> + + * ld-srec/srec.exp: Add xfail for v850. + + * ld-undefined/undefined.exp: arm and thumb PE toolchains now pass + these tests. + +Fri Jun 19 17:12:52 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/weak.exp: New test. + * ld-scripts/weak.t: New file. + * ld-scripts/weak1.s: New file. + * ld-scripts/weak2.s: New file. + +Tue Jun 16 12:40:38 1998 Geoff Keating <geoffk@ozemail.com.au> + + * ld-elfvers/vers.exp: Run tests on powerpc ELF targets. + * ld-shared/shared.exp: Likewise. + * ld-elfvers/vers1.dsym: Allow for .sdata. + * ld-srec/srec.exp: Add setup_xfails for PowerPC Linux. + +Fri May 29 15:02:50 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Add xfails for powerpc*-*-eabi. + (run_srec_test): On mn10200, define __truncsipsi2_do_d2. + * ld-srec/sr1.c (__main): Change return type to void. + * ld-srec/sr3.cc (__main): Likewise. + (__builtin_delete, __builtin_new): Likewise. + (__get_dynamic_handler_chain): Return 0. + (__get_eh_context): Likewise. + +Thu May 21 15:21:33 1998 Nick Clifton <nickc@cygnus.com> + + * ld-undefined/undefined.exp: Add support for thumb-pe target. + * ld-srec/srec.exp: Add support for arm-pe and thumb-pe targets. + +Mon May 4 17:54:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld-shared/shared.exp: Remove setup_xfails for m68k-linux. + +Mon May 4 17:12:06 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-shared/main.c (shlib_overriddencall2): New function. + (main): Call shlib_shlibcall2. + * ld-shared/sh1.c (shlib_shlibcall2): New function. + (shlib_overriddencall2): New function. + * ld-shared/shared.dat: Add output line for new test. + * ld-shared/sun4.dat: Likewise. + + * ld-srec/sr3.cc (__get_eh_context): New function. + +Tue Apr 7 12:50:17 1998 Manfred Hollstein <manfred@s-direktnet.de> + + * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be static to + avoid compiler warning. + * ld-srec/sr3.cc (class Foo): Likewise. + +Tue Feb 10 16:42:40 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/sr3.cc (__get_dynamic_handler_chain): New function. + +Mon Feb 2 14:17:48 1998 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/phdrs.exp: Adjust phdrs_regexp for a 64 bit target. + +Thu Dec 18 11:13:28 1997 Nick Clifton <nickc@cygnus.com> + + * ld-srec/srec.exp: Duplicated Arm patch for Thumb targets. + +Tue Dec 2 09:50:19 1997 Nick Clifton <nickc@cygnus.com> + + * ld-srec/srec.exp: Applied patch from Tony.Thompson@arm.com which + fixes ARM tests. + +Mon Dec 1 16:12:05 1997 Nick Clifton <nickc@cygnus.com> + + * ld-srec/srec.exp: Add expected failures of tests 1 and 2 for ARM + coff targets. + +Wed Nov 12 14:18:31 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-cdtest/cdtest-foo.h (class Foo): Declare len to be int to + avoid compiler warning. + * ld-srec/sr3.cc (class Foo): Likewise. + +Mon Nov 10 14:25:43 1997 Ian Lance Taylor <ian@cygnus.com> + + * lib/ld-lib.exp (default_ld_simple_link): Permit the linker to + have any name when looking for entry symbol warnings. + + * ld-srec/sr3.cc (__eh_pc): Define. + +Mon Oct 20 14:36:39 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/sr3.cc: Add definitions for terminate, __terminate, and + __throw, since the current g++ expects them to be defined. + +Fri Oct 3 12:24:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers.exp (objdump_emptyverstuff): Accept the output + file if the string libc appears in it. + (objdump_versionstuff): Accept unexpected lines in the output + file. Compare lines using string match. + * ld-elfvers/vers6.ver: Permit any value in the vna_other field. + +Tue Aug 12 16:01:22 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/crossref.exp: Correct string quoting. + +Sat Aug 9 00:56:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * config/default.exp: Change ld, as, nm and strip from .new to + -new. Load ld-lib.exp rather than ld.exp. + * ld-bootstrap/bootstrap.exp: Use ld-new rather than ld.new. + * lib/ld-lib.exp: Rename from lib/ld.exp, for the benefit of + DejaGnu changes. + +Thu Jun 26 12:07:03 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers.exp: Use egrep rather than grep when looking for + an alternation. From Greg Margo <gmargo@dl.com>. + +Wed Jun 25 12:47:22 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld-shared/shared.exp: Add setup_xfail for m68k-linux on tests + with non PIC shared libraries. + +Fri Jun 6 17:35:47 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers6.ver: Update for recent elflink.h patch to + version handling. + +Wed Jun 4 12:06:48 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Define ___get_dynamic_handler_chain as well. + +Fri May 30 12:21:39 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Define __get_dynamic_handler_chain when + linking. + +Mon May 12 11:17:55 1997 Ian Lance Taylor <ian@cygnus.com> + + * config/default.exp: Use $base_dir rather than $objdir when + setting ld. From John David Anglin <dave@hiauly1.hia.nrc.ca>. + +Fri Apr 25 09:07:00 1997 Jeffrey A Law (law@cygnus.com) + + * ld-srec/srec.exp: Define various out of line prologue/epilogue + functions for the mn10200 to avoid needing libgcc.a. + +Wed Mar 26 13:56:10 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Don't expect failures on mips*-*-elf*. + +Mon Mar 17 19:27:13 1997 Ian Lance Taylor <ian@cygnus.com> + + * ld-elfvers/vers.exp: Don't run on SunOS or AIX. + +Wed Mar 12 21:44:19 1997 Eric Youngdale <eric@andante.jic.com> + + * ld-elfvers/vers.exp, *: New tests for symbol versioning. + * config/default.exp: Set ar and strip. + +Fri Feb 7 16:47:02 1997 Bob Manson <manson@charmed.cygnus.com> + + * ld-bootstrap/bootstrap.exp: Use prune_warnings instead of + prune_system_crud. + * ld-cdtest/cdtest.exp: Ditto. + * ld-scripts/crossref.exp: Ditto. + * ld-sh/sh.exp: Ditto. + * ld-shared/shared.exp: Ditto. + * ld-srec/srec.exp: Ditto. + * lib/ld.exp: Ditto. + +Wed Jan 29 00:47:29 1997 Bob Manson <manson@charmed.cygnus.com> + + * ld-cdtest/cdtest.exp: Put a slash between $srcdir/$subdir. + * ld-scripts/script.exp: Ditto. + * ld-sh/sh.exp: Ditto. + * ld-undefined/undefined.exp: Ditto. + * ld-versados/versados.exp: Ditto. + * lib/ld.exp: Ditto. + +Mon Dec 30 17:08:04 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/crossref.exp: Fix quoting for --defsym $global$. + +Tue Oct 1 15:52:31 1996 Ian Lance Taylor <ian@cygnus.com> + + * lib/ld.exp (default_ld_version): Fix for current version + printing. + +Fri Sep 13 15:51:45 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/crossref.exp: Define $global$ for hppa-elf. + +Thu Aug 8 14:29:32 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/cross2.t: Map XCOFF sections to .text or .data. + + * lib/ld.exp: Use verbose -log instead of calling both verbose and + send_log. + +Wed Aug 7 18:00:58 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/phdrs.exp: New test. + * ld-scripts/phdrs.s, ld-scripts/phdrs.t: New files. + +Sun Aug 4 21:58:12 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/crossref.exp: On a29k targets, use --defsym to define + V_SPILL and V_FILL. + +Thu Aug 1 14:10:27 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/crossref.exp: New test. + * ld-scripts/{cross1.c, cross2.c, cross3.c}: New files. + * ld-scripts/{cross1.t, cross2.t}: New files. + +Sat Jun 29 13:40:11 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-sh/sh.exp: Fix debugging messages. + * ld-sh/sh1.s: Use .align 4. + +Wed May 1 16:45:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-sh/sh.exp: Use -O when compiling with -mrelax. + +Mon Apr 29 10:33:10 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> + + * ld-shared/shared.exp: Run the shared library tests on + Linux/m68k. + +Fri Apr 5 16:20:55 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-shared/shared.exp: Run the shared library tests on Linux. + +Mon Feb 26 12:45:26 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-shared/shared.exp: Don't use -fpic on MIPS targets. + +Wed Jan 31 15:09:57 1996 Jeffrey A Law (law@cygnus.com) + + * ld-srec/srec.exp: Add xfails for hppa*-*-*elf*. + * ld-undefined/undefined.exp: Likewise. + +Fri Jan 26 18:43:03 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: ELF targets should now pass the + undefined line test. + +Thu Jan 25 15:36:13 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-empic/empic.exp: Update for change to MIPS disassembler. + +Mon Jan 15 15:05:53 1996 Ian Lance Taylor <ian@cygnus.com> + + * ld-bootstrap/bootstrap.exp: Expect failure for mips*-*-irix5* + when doing the --static test. + * ld-shared/shared.exp: Run tests on mips*-*-irix5*. + +Fri Dec 29 12:33:09 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-bootstrap/bootstrap.exp: On AIX, don't pass the -bI option + when creating ld-partial.o. + +Tue Dec 26 17:37:23 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: If powerpc*-*-eabi*, use --defsym to define + __eabi. + +Tue Dec 19 18:01:01 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Add setup_xfails for XCOFF targets. + +Fri Dec 15 16:36:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: On a29k targets, use --defsym to define + V_SPILL and V_FILL. + * ld-srec/sr1.c (V_SPILL, V_FILL): Remove definitions. + * ld-srec/sr3.cc: Likewise. + + * ld-srec/srec.exp: Remove i960 COFF setup_xfail. + +Sat Dec 2 01:20:31 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Don't use [] in setup_xfail expressions. + +Fri Dec 1 13:18:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Add setup_xfails for MIPS ELF targets. + +Wed Nov 29 13:01:10 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Add setup_xfail for i960 COFF targets. + +Mon Nov 27 14:36:11 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: Add setup_xfail calls for i[345]86-*-aout*. + + * ld-srec/sr1.c (V_SPILL, V_FILL): Define. + * ld-srec/sr3.cc: Likewise. + +Tue Nov 21 16:05:53 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-empic/empic.exp: Update for changes in objdump output. + +Wed Nov 15 17:42:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-srec/srec.exp: New tests. + * ld-srec/sr1.c, ld-srec/sr2.c, ld-srec/sr3.cc: New files. + * lib/ld.exp (ld_simple_link): Discard warnings about not being + able to find the entry symbol. + +Tue Nov 14 20:03:54 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-sh/sh2.c (__main): Define. + +Mon Nov 6 14:39:18 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-empic/empic.exp: Accept a . in the address symbol. + + * ld-shared/shared.exp: Run tests on rs6000*-*-aix* and + powerpc*-*-aix*. Add code to create appropriate exports files, + and pass appropriate compilation flags, and test against + appropriate expected output. + * ld-shared/xcoff.dat: New file. + * ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can + not be linked using XCOFF. Use shlib_shlibvar1 as a sample + function pointer, rather than shlib_mainvar. + * ld-shared/sh1.c: Likewise. + * ld-shared/shared.dat: Update for change from using shlib_mainvar + to using shlib_shlibvar1. + * ld-shared/sun4.dat: Likewise. + +Sat Oct 28 01:54:25 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/script.t: Put .pr in .text, and .rw in .data, for + convenience when testing XCOFF. + +Thu Oct 26 22:53:17 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-bootstrap/bootstrap.exp: On AIX, pass -bI/lib/syscalls.exp + along with --static. + + * ld-scripts/script.s: Make symbols global. + +Fri Oct 20 12:22:16 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: Add setup_xfails for arm*-*-pe*. + +Fri Sep 29 11:06:10 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: Use -e when invoking the linker, to + prevent the SunOS linker from trying to create a shared library. + +Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add + appropriate modifications and setup_xfails. + * ld-shared/sun4.dat: New file. + +Mon Sep 18 14:12:56 1995 Ian Lance Taylor <ian@cygnus.com> + + * lib/ld.exp (default_ld_version): Call prune_system_crud. + (default_ld_relocate, default_ld_link): Likewise. + (default_ld_simple_link, default_ld_compile): Likewise. + (default_ld_assemble, default_ld_nm): Likewise. + +Fri Sep 8 17:15:38 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the + tests as untested rather than unresolved. + +Wed Aug 23 10:46:38 1995 Ian Lance Taylor (ian@cygnus.com) + + * ld-sh/sh.exp: Call prune_system_crud on the output of cmp. + +Tue Aug 15 17:35:35 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/script.exp: Split script verification into a proc. + Add simple test of MRI script. + * ld-scripts/scriptm.t: New file. + +Wed Jul 26 11:38:58 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-sh/sh.exp: Mark `SH confirm relaxing' test unresolved when + appropriate. + +Mon Jul 24 15:34:31 1995 Ian Lance Taylor <ian@cygnus.com> + + * config/default.exp: Define objcopy if it is not defined. + * ld-sh/*: New tests for SH relaxing. + + * ld-empic/empic.exp: If $CC does not exist, call untested rather + than unresolved. + +Thu Jul 20 15:09:26 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: If $CC does not exist, mark the + tests as untested rather than unresolved. Clear ELF xfails for + mips*, not just mips. + +Tue Jul 18 12:00:41 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: Add setup_xfail for sh-*-* for + undefined line test. + +Fri Jul 14 13:07:48 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-undefined/undefined.exp: New test, to check reporting of + undefined symbols. + * ld-undefined/undefined.c: New file. + +Mon Jul 10 11:13:39 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-versados/versados.exp: If a test fails, report it correctly: + don't try to run the next test, and don't report a pass as well as + a fail. + +Mon Jul 3 14:26:37 1995 Steve Chamberlain <sac@slash.cygnus.com> + + * versados/(t1,t2).ld: End in newlines. + +Mon May 22 20:19:38 1995 Ken Raeburn <raeburn@cujo.cygnus.com> + + * lib/ld.exp (default_ld_compile): If cc argument is multiple + words, use only the first when trying to verify the availability + of the compiler. + +Mon Feb 6 11:46:49 1995 Ian Lance Taylor <ian@cygnus.com> + + * ld-scripts/defined.t: Mention .data and .bss explicitly. + +Tue Jan 24 14:51:48 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ld-bootstrap/bootstrap.exp: If not in the ld build directory, + call untested for each test, rather than ignoring it. If one test + fails, go on to the next one instead of returning. + * ld-cdtest/cdtest.exp: If compilations fail, mark tests as + unresolved. + * ld-empic/empic.exp: Likewise. Also, always pass the same test + name to pass or fail. + * ld-shared/shared.exp: Likewise. Also, always run all tests. + * ld-scripts/defined.exp: If as or nm fail, mark test as + unresolved. Always pass the same test name to pass or fail. + * ld-scripts/script.exp: Likewise. + * ld-scripts/sizeof.exp: Likewise. + +Wed Jan 11 11:48:31 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ld-scripts/sizeof.exp: New test, based on bug report from + anders.blomdell@control.lth.se. + * ld-scripts/sizeof.s: New file. + * ld-scripts/sizeof.t: New file. + +Wed Jan 4 18:56:27 1995 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * lib/ld.exp: Use [which $ld] rather than [file exists $ld] to see + if the linker exists. + +Wed Dec 14 16:39:03 1994 Ken Raeburn <raeburn@cujo.cygnus.com> + + * lib/ld.exp (prune_system_crud): Define if not already defined, + in case the user isn't using the newest DejaGnu version that we + haven't released to the net yet. + +Fri Dec 2 14:17:02 1994 Ian Lance Taylor <ian@rtl.cygnus.com> + + * config/default.exp: Define objdump if it is not defined. + * ld-empic/*: New tests to test -membedded-pic code. + +Mon Nov 28 11:24:36 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ld-bootstrap/bootstrap.exp: Pass cmp output through + prune_system_crud. + * ld-cdtest/cdtest.exp: Pass diff output through + prune_system_crud. + * ld-shared/shared.exp: Likewise. + + * config/default.exp: Remove unused and useless proc ld_load. + +Sun Oct 30 13:02:34 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * lib/ld.exp (default_ld_compile): Remove the output file before + compiling. + + * ld-shared/shared.exp: Move common test code into a procedure. + Add tests for compiling the non shared code PIC. + * ld-shared/main.c (main): Call main_called, and print the result. + * ld-shared/shared.dat: Adjust accordingly. + +Thu Oct 27 17:30:12 1994 Ian Lance Taylor <ian@sanguine.cygnus.com> + + * ld-shared: New directory, with new files to test generating ELF + shared libraries. + + * lib/ld.exp (default_ld_compile): If the compilation worked, but + no object file was created, check to see if the compiler foolishly + ignored the -o switch when compiling, and move the resulting + object if it did. + +Thu Sep 29 12:36:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * VMS does not permits `.' in directory names. Renamed + ld.bootstrap to ld-bootstrap, ld.cdtest to ld-cdtest, and + ld.scripts to ld-scripts. + +Wed Sep 28 12:18:54 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * config/default.exp: Set variables as and nm. Create tmpdir if + it does not already exist. + * ld.bootstrap/bootstrap.exp: Don't create tmpdir here. + * ld.cdtest/cdtest.exp: Likewise. + * ld.scripts/defined.exp: Likewise. Also, don't set as and nm + here. Change perror for no variables found to fail. + * ld.scripts/script.exp: New test. + * ld.scripts/script.t, ld.scripts/script.s: New files. + +Tue Sep 27 14:59:51 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + + * ld.scripts: New directory. + * ld.scripts/defined.exp, ld.scripts/defined.s: New files. + * ld.scripts/defined.t: New file. + * lib/ld.exp (default_ld_simple_link): New function. + (default_ld_assemble, default_ld_nm): New functions. + * config/default.exp: Rename from unix-ld.exp. + (ld_simple_link, ld_assemble, ld_nm): New functions. + + * config/unix-ld.exp: Set ld using findfile. + * lib/ld.exp (default_ld_relocate): Return a value. Change format + of log messages. + (default_ld_compile): Likewise. + (default_ld_link): Likewise. Also, don't include $BFDLIB and + $LIBIBERTY in link. + * ld.bootstrap/bootstrap.exp: Rewrite. + * ld.cdtest/cdtest.exp: Rewrite. + * ld.cdtest/cdtest-foo.cc: Update from top level ld directory. + * ld.cdtest/cdtest-foo.h: Likewise. + * ld.cdtest/cdtest-main.cc: Likewise. + +Fri May 27 09:35:04 1994 Ken Raeburn (raeburn@cygnus.com) + + * ld.cdtest/cdtest.exp: Don't look for $result before it's + defined. + +Tue May 17 15:06:49 1994 Bill Cox (bill@rtl.cygnus.com) + + * ld.bootstrap/bootstrap.exp, lib/ld.exp: Replace error proc + calls with perror calls. + +Wed May 11 16:47:46 1994 Ken Raeburn (raeburn@rtl.cygnus.com) + + * ld.cdtest/cdtest-bar.cc: Renamed from cdtest-func.cc. + * ld.cdtest/cdtest.exp: Adjusted. + +Fri Jan 28 13:25:41 1994 Ken Raeburn (raeburn@cujo.cygnus.com) + + * lib/ld.exp (simple_diff): Indicate failure if files have + different numbers of lines. Don't muck with $differences to avoid + indicating a pass, just return. + + * ld.cdtest/{cdtest-foo.h,cdtest-foo.cc,cdtest-main.cc}: + Fix test case to be valid ANSI C++. Don't require use of header + files, so "../gcc/xgcc -B../gcc/" can be used for CXX. + * ld.cdtest/cdtest.exp: Combine "rm" lines. Add some + commentary on things that are still broken with this test case. + +Fri Sep 10 09:58:23 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * ld.cdtest/cdtest.exp: Added CXXFLAGS to compile stage. + +Thu Aug 12 16:05:37 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * lib/ld.exp: add compiler and linker support + * config/unix-ld.exp: add compiler and linker support + * ld.bootstrap/bootstrap.exp: fixed to do partial links + * ld.cdtest/cdtest.exp: constructor/destructor testscase + +Wed Aug 4 21:00:18 1993 Jeffrey Wheat (cassidy@cygnus.com) + + * lib/ld.exp: new file + * config/unix-ld.exp: new file + * ld.bootstrap/bootstrap.exp: new file + +Local Variables: +mode: change-log +left-margin: 8 +fill-column: 74 +version-control: never +End: |