X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=043f67f9227894f29f492be3b3b0fe5e4cba7caa;hb=a963dc6ade92e7fc92756912815fc7d852576792;hp=5315bfd9f4880094e048d054fa9b566f55f27aab;hpb=2114f57b9397aebda1c89a5c627dba0d34159280;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 5315bfd9f4..043f67f922 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,493 @@ +2000-08-14 Jason Eckhardt + + * NEWS: Mention i860 support. + +2000-08-14 Andreas Schwab + + * scripttempl/elf.sc: Fix last change to use correct comment + syntax. + +2000-08-10 Geoff Keating + + * 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 + + * 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 + + * emulparams/mipspe.sh (ENTRY): Add definition. + +2000-08-08 Peter Jeremy + + * emultempl/elf32.em (_after_close): Refer to -rpath not --rpath + in error message. + +2000-08-08 Stephane Carrez + + * scripttempl/elfm68hc11.sc: Define __bss_size symbol to indicate + the final size of .bss section. + * scripttempl/elfm68hc12.sc: Likewise. + +2000-08-04 Alan Modra + + * 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 + + * configure.tgt: Select targ_emul=elf_i386 for Unixware 7 + (i586-sco-sysv5uw7.1.0). + +2000-07-27 H.J. Lu + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * ld/lexsup.c: Add optional style to demangle switch + * ld/ld.texinfo: Document optional style to demangle switch. + +2000-07-20 Hans-Peter Nilsson + + * 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 + + * emultempl/elf32.em (gld_${EMULATION_NAME}_list_options): + Print out ignored -z options. + +2000-07-19 H.J. Lu + + * 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 + + * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Call + bfd_elf_set_dt_needed_soname (). + +2000-07-18 DJ Delorie + + * pe-dll.c (pe_dll_id_target): check object target name also + +2000-07-18 Hans-Peter Nilsson + + * 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 + + * src/ld/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 + + * 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 + + * pe-dll.c (make_one): fix a typo in the __imp_ name decoration + for dll import libraries + +2000-07-12 Mark Elbrecht + + * scripttempl/i386go32.sc: Support the g++ attribute init_priority in + gcc 2.95.2 and later. + +2000-07-11 Kazu Hirata + + * ldfile.c (ldfile_try_open_bfd): Output '\n' after an error + message. + +2000-07-10 Alan Modra + + * 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 + + * 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 + + * configure.tgt: Remove extraneous hppa*-*-linux-gnu*. + + From Ryan Bradetich + * ldwrite.c (SSIZE): Remove to cure macro redefinition warning. + +2000-07-09 Alan Modra + + 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 + + * lexsup.c (parse_args): Copy section name. + +2000-07-07 Charles Wilson + + * 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 + + * 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 + + * MAINTAINERS: new + +2000-07-01 Koundinya K + + * 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 + + * Makefile.am (EXTRA_ld_new_SOURCES): Set to deffilep.y for + automake to use YLWRAP. + * Makefile.in: Rebuild. + +2000-07-01 Alan Modra + + * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed + (CLEANFILES): Add DEPA. + * Makefile.in: Regenerate. + +2000-06-30 Timothy Wall + + * scripttempl/tic54xcoff.sc: PAGE N is not implemented, so encode + the page in the upper octet of the address. + +2000-06-26 Marek Michalkiewicz + + * emulparams/avrmega161.sh (ARCH): Change to avr:5. + +2000-06-24 Alan Modra + + * NEWS: arm-elf does --gc-sections too. + +2000-06-22 Alan Modra + + * Makefile.am (DEP): grep for leading `/' in DEP1, and fail if we + find one. + * Makefile.in: Regenerate. + +2000-06-21 H.J. Lu + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 H.J. Lu + + * Makefile.am: Rebuild dependency. + * Makefile.in: Rebuild. + +2000-06-20 Timothy Wall + + * 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 + + * ldmain.c (set_scripts_dir): Correct pointer comparison when + checking for backslashes. + +2000-06-19 Alan Modra + + * NEWS: Move entries not in 2.10 above "Changes in version 2.10". + +2000-06-18 Alan Modra + + * 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 + + * 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 + + * ldmain.c (main): Only change SEC_READONLY for final link. + +2000-06-13 H.J. Lu + + * configure: Regenerate. + +2000-06-08 David O'Brien + + * configure.in (VERSION): Update to show this is the CVS mainline. + +2000-06-07 Michael Sokolov + + * 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 + + * ldgram.y (vers_defns): Handle 'extern "C++" { ... }' in + version scripts. + + * ldlex.l (V_IDENTIFIER): Accept `::' in symbols. + +2000-05-23 Marek Michalkiewicz + + * 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 * Makefile.am: Update dependencies with "make dep-am" @@ -10118,7 +10608,7 @@ Fri Oct 11 15:43:04 1991 Roland H. Pesch (pesch at cygnus.com) Fri Oct 11 13:51:54 1991 Per Bothner (bothner at cygnus.com) * ldmain.c (main): Make config.magic_demand_paged be true - by default. Don't the WP_TEXT and D_PAGED flags of + by default. Don't set the WP_TEXT and D_PAGED flags of output_bfd here; it's too late, so set it when output_bfd is created (in ldlang.c). Also fix setting of EXEC_P flag * ldlang.c (ldlang_open_output): Set output_bfd->flags here.