X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2FChangeLog;h=0ddfe7537220f4a93700a9b0ed46e8b5b97fdebc;hb=b71e277823b0b8e12b2f53f6fe77a9b401357407;hp=84695a1e0fa9ce714371b5e2514211068dc0ca98;hpb=c2f1343c8b32713ccf65984725f6b170cddb884f;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ChangeLog b/ld/ChangeLog index 84695a1e0f..0ddfe75372 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,315 @@ +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" + * Makefile.in: Regenerate. + +2000-05-26 Eli Zaretskii + + * ldmain.c: Include filenames.h. + (set_scripts_dir): Support backslashes in program name. + +2000-05-22 Igor Shevlyakov + + * 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 + + * ld.1: Add documentation for new command line option: + --section-start = + 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 + + * lexsup.c (parse_args): `i' == `r', not `q'. + +Thu May 18 10:47:57 2000 Jeffrey A Law (law@cygnus.com) + + * configure.tgt (hppa*64*-*-*): Enable PA64 target. + +2000-05-17 S. Bharadwaj Yadavalli + Rick Gorton + + 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 + + * ld/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 * lexsup.c (parse_args): Update the year in the copyright notice. @@ -560,7 +872,7 @@ Wed Nov 3 23:31:19 1999 Jeffrey A Law (law@cygnus.com) 1999-09-22 Nick Clifton - * Makefile.am: Add earm_epoc_pe.c build target. + * Makefile.am: Add earm_epoc_pe.c build target. Sat Sep 18 07:57:10 1999 Jeffrey A Law (law@cygnus.com) @@ -10066,7 +10378,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.