* ld.texinfo (Options): Add a brief description of the types of
[binutils-gdb.git] / ld / ChangeLog
index 76a94b907060ec96106759a2b8a1c888675632c8..503ea728341e871b88a3e449f25cf7b9e94f753a 100644 (file)
@@ -1,3 +1,235 @@
+start-sanitize-sky
+Wed Jan 28 12:19:31 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure.tgt (dvp-*-*): Recognize.
+
+end-sanitize-sky
+Wed Jan 28 14:10:01 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.texinfo (Options): Add a brief description of the types of
+       information included in a link map.
+
+       * ld.texinfo (Options): Mention LDEMULATION in description of -m.
+       (Environment): Mention LDEMULATION.
+
+       * ld.texinfo (Options): Clarify --export-dynamic a bit.
+
+Thu Jan 22 16:07:23 1998  Richard Henderson  <rth@cygnus.com>
+
+       * ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
+       pattern could match.
+
+Wed Jan 21 22:26:46 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
+       a relocateable link, set the image base to 0, and don't define the
+       various symbols.
+       * emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
+       * scripttempl/pe.sc: Swap the .data and .bss sections so that
+       .data comes first.  If doing a relocateable link, use
+       RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
+       sections at 0, and don't define any symbols.
+
+       * ldlang.c (lang_memory_default): Correct parenthisization of
+       expression.
+
+Wed Jan 21 21:20:32 1998  Manfred Hollstein  <manfred@s-direktnet.de>
+
+       * emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
+       here; they are included already via sysdep.h.
+
+Tue Jan  6 13:40:02 1998  Richard Henderson  <rth@cygnus.com>
+
+       * scripttempl/i960.sc: Don't explicitly set .data and .bss start.
+
+Fri Jan  2 20:15:37 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * ldgram.y (attributes_opt): Pass region pointer to
+       lang_set_flags, not &region->flags.
+
+       * ldlang.c (lang_memory_default): New function to figure out a
+       default memory region for a section if it was not specified.
+       (lang_memory_region_lookup): Zero flags, not_flags field.
+       (lang_map{,_flags}): Print attribute flags in memory map.
+       (lang_size_sections): Call lang_memory_default to get default
+       memory region.
+       (lang_set_flags): Implement attribute flags for real.  Take new
+       argument to give the flags we are to skip for this region.
+
+       * ldlang.h (memory_region_struct): Add not_flags field, make both
+       flags fields flagword type.
+       (lang_output_section_state): Make flags field flagword type.
+       (lang_set_flags): Update prototype to match new calling sequence.
+       (lang_memory_region_default): Add prototype.
+
+start-sanitize-d30v
+       * emulparams/d30v{_e,_o,elf}.sh ({TEXT,DATA,EMEM}_DEF_SECTION):
+       Define whether or not the region gets default sections, and if so,
+       what sections.
+
+       * scripttempl/elfd30v.sc (MEMORY): Set up which of the regions get
+       default sections.
+
+Thu Jan  1 22:58:04 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * scripttempl/elfd30v.sc (.eh_frame): Link into the data section.
+
+end-sanitize-d30v
+Thu Jan  1 18:04:51 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * scripttempl/h8300h.sc: Fix typo.
+       * scripttempl/h8300s.sc: Likewise.
+
+Sun Dec 21 12:51:49 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldexp.c (fold_name): Don't crash if the symbol is defined in a
+       section with no output section, such as a shared library section.
+
+Wed Dec 17 12:14:11 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * lexsup.c (parse_args): Keep track of where we are in the option
+       parsing before calling ldemul_parse_args, so that we don't call it
+       multiple times on the same argument and confuse the getopt
+       internals.
+
+start-sanitize-d30v
+Thu Dec 11 09:00:15 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * configure.tgt (d30v-elf-*): Rename d30velf_e to d30v_e and
+       d30velf_o to d30v_o to work in DOS environments.
+       * Makefile.{am,in}: Ditto.
+
+       * emulparams/d30v_{o,e}: Rename from d30velf_{o,e}.
+       * emulparams/d30velf_{o,e}: Deleted.
+
+end-sanitize-d30v
+Wed Dec 10 17:40:08 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/armcoff.sc: Add glue sections (code taken from Arm
+       branch). 
+
+       * emulparams/armcoff.sh (TEMPLATE_NAME): Set to armcoff.
+
+       * emultempl/armcoff.em: New file, imported from Arm branch.
+
+start-sanitize-d30v
+Wed Dec 10 14:10:44 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * scripttempl/elfd30v.sc: Add .rel and .rela sections for all
+       defined sections.  Set up __{D,C}TOR_{LIST,END}__.  Add onchip and
+       external memory sections for rodata.  Delete .string, .rodata1,
+       and .data1 sections.
+
+end-sanitize-d30v
+Tue Dec  9 15:28:17 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * Makefile.am: Add Oct 23 changes to Makefile.in here.
+
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add ed10velf.o.
+
+start-sanitize-tic80
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add etic80coff.o.
+end-sanitize-tic80
+
+start-sanitize-d30v
+       * Makefile.{am,in}: (ALL_EMULATIONS): Add ed30velf{,_e,_o}.o.
+       (ed30velf_e.c): Like d30velf, except .text/.data/etc always go in
+       external memory.
+       (ed30velf_o.c): Like d30velf, except .text/.data/etc always go in
+       onchip memory.
+
+       * emulparams/d30velf.sh (STACK_START_ADDR): Top of default
+       stack.
+       ({TEXT,DATA,EMEM}_SIZE): Sizes of the 3 memory areas.
+       ({TEXT,DATA,BSS}_MEMORY): Which memory region .text, .data, and
+       .bss should go in.
+
+       * emulparams/d30velf_{e,o}.sh: New files to be explicit whether
+       .text, .data, etc go in external memory or onchip memory.
+
+       * configure.tgt (d30v-*-*ext*): New configuration to default
+       .text, .data, etc. in external memory.
+       (d30v-*-*onchip*): New configuration to default .text, .data,
+       etc. in onchip memory.
+       (d30v-*-*): Add d30velf_{e,o} emulations.
+
+       * scripttempl/elfd30v.sc: Allow .text, .data, .bss to be put in
+       either the onchip text/data areas or the external memory area.
+       (MEMORY): Get sizes from d30velf.sh.
+       (.e{data,text,bss}): Put sections in the external memory region.
+       (.stext): Put section in the onchip text region.
+       (.s{data,bss}): Put sections in the onchip data region.
+       (__stack): Assign from ${STACK_START_ADDR}.
+       (.text): Put in ${TEXT_MEMORY} memory region.
+       (.data{,1}/.strings/.rodata{,1}): Put in ${DATA_MEMORY} memory
+       region.
+       (.bss): Put in ${BSS_MEMORY} memory region.
+end-sanitize-d30v
+
+Tue Dec  2 10:14:47 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Add support for Thumb target.
+
+Sat Nov 22 15:23:19 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ldlex.l: Don't define hex_mode.  Correct number regexp to not
+       accept hex digits without a leading $ or 0x.  Handle leading $
+       correctly.  Pass 0 rather than hex_mode to bfd_scan_vma.
+       * ldlex.h (hex_mode): Don't declare.
+
+start-sanitize-d30v
+Sun Nov 16 20:16:45 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * emulparams/d30velf.sh ({DATA,EMEM}_START_ADDR): Define as start
+       of internal data area and external memory on chip.
+
+       * scripttempl/elfd30v.sc: Define a MEMORY region that describes
+       the 3 regions of memory on the chip.  Put .text/.init/.fini into
+       the text memory region, put other segments into the data memory
+       region.  Add more of the standard elf sections.  Default __stack
+       to be 0x20008000, which is 1 byte beyond end of the internal data
+       region.
+
+end-sanitize-d30v
+Thu Nov 13 13:45:00 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * configure.tgt (targ_extra_emuls): Make FreeBSD a i386bsd
+       variant.
+
+Sun Nov  2 14:51:36 1997  H.J. Lu  <hjl@gnu.ai.mit.edu>
+
+       * configure.host (alpha*-*-linux*): Correct HOSTING_CRT0.  Set
+       HOSTING_LIBS.
+
+Thu Oct 30 12:25:55 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ld.h (args_type): Add warn_mismatch field.
+       * ldmain.c (main): Initialize warn_mismatch field.
+       * lexsup.c (parse_args): Handle --no-warn-mismatch option.
+       * ldlang.c (ignore_bfd_error): New static function.
+       (lang_check): If warn_mismatch is false, don't warn about
+       mismatched input files.
+       * ld.texinfo, ld.1: Document new option.
+
+start-sanitize-tx49
+Wed Oct 29 17:50:26 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * configure.tgt: Add tx49 configury.
+
+end-sanitize-tx49
+Thu Oct 23 14:38:18 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * scripttempl/v850.sc: Rename linker symbol '_stack' to '__stack'
+       to avoid conflicts with C code which is defining a variable called
+       'stack'.
+
+Thu Oct 23 00:57:45 1997  Richard Henderson  <rth@dot.cygnus.com>
+
+       * Makefile.in (ALL_EMULATIONS): Move eelf64_sparc.o ...
+       (ALL_64_EMULATIONS): ... here.
+       (eelf64_sparc.c): Template should be elf32 not generic.
+       * emulparams/elf64_sparc.sh (TEMPLATE_NAME): New definition.
+
 Thu Oct 23 00:44:20 1997  Richard Henderson  <rth@dot.cygnus.com>
 
        * configure.tgt: Add sparc64-*-linux*.