Select elf for Unixware 7 (ix86-*-sysv5*)
[deliverable/binutils-gdb.git] / ld / ChangeLog
index b84d38ab629c4b43dd8bff7cd0f4159f8cd1425e..e33c885cd00720713d4e6becce8d8d6cbd5b87e7 100644 (file)
@@ -1,3 +1,420 @@
+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>
+
+        * ld/lexsup.c: Add optional style to demangle switch
+        * ld/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>
+
+       * 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  <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
@@ -10144,7 +10561,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.
This page took 0.02736 seconds and 4 git commands to generate.