* ld.texinfo (Options): Add a brief description of the types of
[binutils-gdb.git] / ld / ChangeLog
index d7d13a09fea68b7d225c6c1b80ee0cbec9164147..503ea728341e871b88a3e449f25cf7b9e94f753a 100644 (file)
+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.
@@ -18,8 +164,8 @@ Tue Dec  9 15:28:17 1997  Michael Meissner  <meissner@cygnus.com>
        (.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.