X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=0f91e79ed765b5eb12b0850e000d93eeb29d71a4;hb=3f7deb8a34ed3d6ad3e4b5194a9c0b697452ec6b;hp=bfd7846a3b3027347ac10be10ed7b965b286a91f;hpb=36af4a4e51338a12cdd06009ae335ad776b496ff;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index bfd7846a3b..0f91e79ed7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,582 @@ +2003-10-10 H.J. Lu + + * 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 + + * emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. + +2003-10-11 Hans-Peter Nilsson + + * ld.texinfo (Builtin Functions) : Say that only symbols + defined before the statement using DEFINED yield 1. + * ldexp.c (fold_name) : 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) : 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 + + * scripttempl/elf.sc (__executable_start): Provide. + +2003-10-09 Daniel Jacobowitz + + * emulparams/armelf.sh: Define NO_SMALL_DATA. + * emulparams/armelf_linux.sh, emulparams/armelf_oabi.sh, + emulparams/armnto.sh: Likewise. + +2003-10-08 Alexandre Oliva + + * ldlang.c (lang_size_sections_1): Use IGNORE_SECTION to tell + whether to skip test for no memory region. + +2003-10-08 Nick Clifton + + * 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 + + * ldexp.c (fold_name) : Set section of result to + abs_output_section. + +2003-10-07 Bob Wilson + + * 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 + + * configure.host (HOSTING_LIBS): Define for hppa*-*-linux*. + +2003-10-07 Nathan Sidwell + + * 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 + + * 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 + + * emulparams/hppanbsd.sh: Remove OUTPUT_FORMAT. + * emulparams/hppaobsd.sh: Add OUTPUT_FORMAT="elf32-hppa". + +2003-10-06 Robert Millan + + * configure.tgt: Match GNU/KNetBSD with new knetbsd*-gnu triplet. + +2003-10-02 Ivan Warren + + * pe-dll.c (make_one): Correct sym def order & pick right sym for + .idata$7 reloc. + +2003-09-30 Chris Demetriou + + * NEWS: Add an indication of the cutoff for 2.14. + +2003-09-30 Chris Demetriou + + * ldmain.c (get_emulation): Ignore "-mips64r2". + +2003-09-03 Robert Millan + + * configure.host: Match GNU/KFreeBSD with new kfreebsd*-gnu + triplet. + * configure.tgt: Likewise. + +2003-08-29 Jafa + + * emulparams/elf32ip2k.sh (TEMPLATE_NAME): Define. + +2003-08-21 Nick Clifton + + * po/tr.po: Updated Turkish translation. + +2003-08-20 Nick Clifton + + * 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 handed 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 + + * 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 + + * 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 + + * dep-in.sed: Remove libintl.h. + * Makefile.am (POTFILES.in): Unset LC_COLLATE. + * Makefile.in: Regenerate. + +2003-08-13 Alan Modra + + * 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 + + * 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 + + * 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 + + * 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 + Jason Eckhardt + + * 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 + + * emultempl/elf32.em (before_allocation): Prepend "warning: " + to messages produced for .gnu.warning.SYMBOL sections. + +2003-08-04 Alan Modra + + * 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 + + * 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 + + * scripttempl/elfm68hc12.sc: Add gcc_except_table. + * scripttempl/elfm68hc11.sc: Likewise. + +2003-07-28 Alan Modra + + * 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 + + * 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 + + * po/fr.po: Updated French translation. + +2003-07-23 Stephane Carrez + + * scripttempl/elfm68hc11.sc: Keep ctor/dtor sections; Take into + account .tramp sections; + * scripttempl/elfm68hc12.sc: Likewise. + +2003-07-17 Charles Wilson + + * ld/pe-dll.c: Add libcygwin to autofilter_liblist[] + +2003-07-17 Nick Clifton + + * po/es.po: New Spanish translation. + +2003-07-11 Alan Modra + + * po/ld.pot: Regenerate. + +2003-07-10 Bob Wilson + + * 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 + + 2001-08-22 Alexandre Oliva + * emulparams/elf32am33lin.sh: Adjust to match kernel parameters. + 2001-05-09 Alexandre Oliva + * 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 + + 2001-04-17 Alexandre Oliva + * emulparams/mn10300.sh (TEMPLATE_NAME): Define. + (GENERATE_SHLIB_SCRIPT): Likewise. + +2003-07-10 Alan Modra + + * 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 + + * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation): + Allow second call from ldemul_finish. + +2003-07-04 J"orn Rennecke + + * emulparams/shelf32.sh (STACK_ADDR): Don't define. + (OTHER_SECTIONS): Include .stack. + * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise. + +2003-07-02 Jakub Jelinek + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * emultempl/ppc32elf.em: Convert to C90. + +2003-06-20 Alan Modra + + * emultempl/ppc64elf.em: Convert to C90 function definitions, remove + unnecessary prototypes and casts. + +2003-06-19 Alan Modra + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Dump out + statistics from ppc64_elf_build_stubs. + +2003-06-19 Alan Modra + + * emultempl/ppc64elf.em (build_section_lists): Check return status + from ppc64_elf_next_input_section. + +2003-06-17 H.J. Lu + + * ldlang.c (section_already_linked): Put back assignment of + kept_section. + +2003-06-17 Rainer Keuchel + + * pe-dll.c (generate_reloc): Catch and ignore an ARM_26D + reloc. + +2003-06-17 Loren James Rittle + + * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 + if not produced by gcc. + +2003-06-16 Hans-Peter Nilsson + + * configure.tgt: Add specific case for cris-*-linux-gnu* + with crislinux emulation only. + +2003-06-13 Robert Millan + + * configure.tgt: Add i386-netbsd-gnu target. + +2003-06-12 Richard Sandiford + + * configure.tgt (mips*-sgi-irix6*): Add the o32 and n64 emulations + to $targ_extra_libpath. + +2003-06-11 H.J. Lu + + * po/Make-in (DESTDIR): New. + (install-data-yes): Support $(DESTDIR). + (uninstall): Likewise. + +2003-06-10 Doug Evans + + * Makefile.am (ALL_EMULATIONS): Add em32relf.o. + * Makefile.in: Regenerate. + +2003-06-10 Richard Sandiford + + * 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 + + * 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 + + * 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 + + * emultempl/elf32.em (gld${EMULATION_NAME}_list_options): Remove + extra \t in -z noexecstack line. + +2003-05-23 Jakub Jelinek + + * 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 + and Bernd Schmidt + and Alexandre Oliva + + * 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 + + * 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 + + * emulparams/shlelf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes. + * emulparams/shlelf32_linux.sh (GENERATE_PIE_SCRIPT): Likewize. + +2003-06-02 Fabrizio Gennari + + * 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 Jakub Jelinek @@ -73,7 +652,7 @@ * configure.tgt: Add armeb-elf and arm*b-*-linux-gnu. 2003-05-09 Nick Clifton - + * 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. @@ -292,7 +871,7 @@ 2003-03-25 Stan Cox Nick Clifton - Contribute support for Intel's iWMMXt chip - an ARM variant: + 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. @@ -325,12 +904,12 @@ 2003-03-18 Danny Smith - * defilep.y (opt_base): If no number given, set to default + * deffilep.y (opt_base): If no number given, set to default (-1), not 0. 2003-03-13 Danny Smith - * deffilep.y (def_import): Use default extension of "dll" + * 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. @@ -589,7 +1168,7 @@ * 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 + * pe-dll.c (pe_implied_import_dll): Add code to prevent importing a dll multiple times. 2003-01-23 Alan Modra @@ -638,7 +1217,7 @@ 2002-01-14 Charles Wilson - * ld/ld.texinfo (node WIN32): Some clarifications + * ld.texinfo (node WIN32): Some clarifications and formatting fixups. 2003-01-09 Chris Demetriou @@ -692,7 +1271,7 @@ 2003-01-03 Charles Wilson - * ld/pe-dll.c (autofilter_symbollist): Add cygwin_crt0. + * pe-dll.c (autofilter_symbollist): Add cygwin_crt0. 2003-01-04 Daniel Jacobowitz @@ -745,7 +1324,7 @@ 2002-12-30 Ralf Habacker Charles Wilson - * ld/config.in (HAVE_REALPATH): New entry. + * config.in (HAVE_REALPATH): New entry. (HAVE_SYS_STAT_H, HAVE_SYS_TYPES_H): Removed: obsolete. 2002-12-30 Ralf Habacker @@ -795,7 +1374,7 @@ 2002-12-17 Ralf Habacker - * ld/emultempl/pe.em (pe_find_data_imports): Don't search for data + * emultempl/pe.em (pe_find_data_imports): Don't search for data import when auto-import is disabled. 2002-12-17 Danny Smith @@ -822,7 +1401,7 @@ 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 + 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. @@ -1252,7 +1831,7 @@ 2002-08-27 Nick Clifton - * emultempl/armelf.em: Revert this patch, it is not needed. + * emultempl/armelf.em: Revert this patch, it is not needed. 2002-08-22 Adam Nemet @@ -1260,8 +1839,8 @@ * configure.in: added --with-lib-path argument to ld's configure to set LIB_PATH. - * ld/NEWS: Document new switch. - * ld/README: Mention new switch. + * NEWS: Document new switch. + * README: Mention new switch. * configure: Regenerate. * Makefile.in: Regenerate. @@ -1568,7 +2147,7 @@ 2002-06-20 Nathanael Nerode - * ld/configure.host (romp): Drop support. + * configure.host (romp): Drop support. 2002-06-18 Chris Demetriou @@ -1590,7 +2169,7 @@ 2002-06-17 Tom Rix - * emultempl/elf32.em: gld*_get_script: Check for + * 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. @@ -1623,9 +2202,9 @@ 2002-06-07 Charles Wilson - * ld/ldmain.c (main): initialize link_info.pei386_auto_import + * ldmain.c (main): initialize link_info.pei386_auto_import to -1 == implicit enable. - * ld/emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): + * 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 @@ -2049,7 +2628,7 @@ 2002-04-07 matthew green - * ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF. + * configure.host (*-*-netbsd*): Add support for NetBSD/ELF. 2002-04-04 Alan Modra @@ -2303,12 +2882,12 @@ 2002-02-14 Phil Edwards - * ld.texinfo (VERSION scripts): Symbol names are globbing patterns. - * ldgram.y (lang_new_vers_regex): Rename to lang_new_vers_pattern; + * 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. + * ldlang.c: Likewise. + * ldlang.h: Likewise. + * ldlex.l (V_IDENTIFIER): Allow '[', ']', '-', '!', and '^' also. 2002-02-12 Jakub Jelinek @@ -2381,35 +2960,35 @@ 2002-01-18 Alexandre Oliva * emulparams/shelf32.sh (STACK_ADDR): Define. (OTHER_RELOCATABLE_SECTIONS): Renamed to... - (OTHER_SECTIONS): this. Removed stack settings. + (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 + 2001-03-12 DJ Delorie * emultempl/sh64elf.em (sh64_elf_$_before_allocation): Disable relaxing if any shmedia or mixed sections are found. - 2001-03-07 DJ Delorie + 2001-03-07 DJ Delorie * 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 + einfo. Gracefully decline to output to non-elf formats. + 2001-03-06 Hans-Peter Nilsson * 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 + 2001-01-14 Hans-Peter Nilsson * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Tweak comment. 2001-01-10 Ben Elliston * emulparams/shelf32.sh (OTHER_RELOCATING_SECTIONS): Avoid non-portable shell constructs. From Hans-Peter Nilsson. - 2001-01-09 Hans-Peter Nilsson + 2001-01-09 Hans-Peter Nilsson * 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 + 2001-01-06 Hans-Peter Nilsson * 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 + 2000-12-30 Hans-Peter Nilsson * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): Don't stop when .cranges section found to be necessary; continue and set stored @@ -2420,20 +2999,20 @@ (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 + is initialized. Use that container, not elf_gp_size, to hold size of linker-generated cranges contents. - 2000-12-18 Hans-Peter Nilsson + 2000-12-18 Hans-Peter Nilsson * 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 + 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 + 2000-12-18 Hans-Peter Nilsson * emultempl/sh64elf.em: New file. * Makefile.am (eshelf32.c, eshlelf32.c): Adjust dependencies. * Makefile.in: Regenerate. @@ -2441,13 +3020,13 @@ (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. + 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 + OUTPUT_FORMAT. Source shelf64.sh. + 2000-12-15 Hans-Peter Nilsson * emulparams/shelf64.sh (OTHER_RELOCATING_SECTIONS): Include .cranges section. (DATA_START_SYMBOLS): Define, provide ___data. @@ -2459,20 +3038,20 @@ * emulparams/shelf32.sh: Ditto. (ALIGNMENT): Define to 8. * emulparams/shelf32.sh: Ditto. - 2000-12-12 Hans-Peter Nilsson + 2000-12-12 Hans-Peter Nilsson * configure.tgt (sh64-*-elf*): Assign targ_extra_libpath to get built-in linker scripts. - 2000-11-30 Hans-Peter Nilsson + 2000-11-30 Hans-Peter Nilsson * 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 + 2000-11-29 Hans-Peter Nilsson * configure.tgt (sh64-*-elf*): Add shelf as default. Add shlelf to targ_extra_emuls. - 2000-11-24 Hans-Peter Nilsson + 2000-11-24 Hans-Peter Nilsson * emulparams/shelf32.sh: New file. * emulparams/shlelf32.sh: New file. * Makefile.am: Add support for shlelf32 and shelf32. @@ -2640,8 +3219,8 @@ * configure.tgt (sh*le-*-netbsdelf*): New target. (sh*-*-netbsdelf*): New target. * emulparams/shelf.sh: Document that shelf_nbsd.sh sources this file. - * ld/emulparams/shelf_nbsd.sh: New emulation. - * ld/emulparams/shlelf_nbsd.sh: New emulation. + * emulparams/shelf_nbsd.sh: New emulation. + * emulparams/shlelf_nbsd.sh: New emulation. 2002-01-07 Nick Clifton @@ -2813,7 +3392,7 @@ * emultempl/aix.em (choose_target): Change default target to OUTPUT_FORMAT for ppcmacos. Add braces to remove compiler warning. - (gld*_read_file): Fix typo. + (gld*_read_file): Fix typo. (change_symbol_mode): Add prototype. (is_syscall): Same. @@ -2842,8 +3421,8 @@ * 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. + * 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. @@ -2904,7 +3483,7 @@ * scripttempl/elfi370.sc (OTHER_READONLY_SECTIONS): Likewise. (OTHER_READWRITE_SECTIONS): Likewise. * scripttempl/nw.sc (OTHER_READONLY_SECTIONS): Likewise. - (OTHER_READWRITE_SECTIONS): Likewise + (OTHER_READWRITE_SECTIONS): Likewise. * emulparams/armelf.sh (OTHER_RELOCATING_SECTIONS): Delete. (STACK_ADDR): Define. @@ -3142,7 +3721,7 @@ 2001-10-18 Danny Smith - * pe-dll.c (autofilter_objectlist): Add startup objects + * pe-dll.c (autofilter_objectlist): Add startup objects for profiling. (auto-export): Constify char * p. Extract file basename and use strcmp rather than ststr @@ -4075,7 +4654,7 @@ 2001-05-22 Nick Clifton - * lexsup.c (ld_options): Allow -I to be an alias for + * 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. @@ -5487,7 +6066,7 @@ * scripttempl/elfm68hc12.sc: New file. * emulparams/m68hc12elfb: New emulation. * emulparams/m68hc12elf: New emulation. - * emulparams/m68hc11elfb.sh: New file. User configurable 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 @@ -5549,7 +6128,7 @@ 2000-05-22 Thomas de Lellis * ld.1: Add documentation for new command line option: - --section-start = + --section-start = This is a generic version of -Ttext etc. which accepts any section name as a parameter instead of just text/data/ bss. @@ -6002,7 +6581,7 @@ 2000-01-05 Catherine Moore - * ld.h (wildcard_spec): Change exclude_name to exclude_name_list. + * 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.