* scripttempl/alpha.sc: Clean up section alignment to ensure that
[deliverable/binutils-gdb.git] / ld / ChangeLog
index eb13102082faca36bbea2129540ca1cb54fabba7..420abdfab8c55685ed6d6eb0b6b19386a1bdf0dd 100644 (file)
@@ -1,3 +1,112 @@
+Thu Mar 31 18:07:06 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * scripttempl/alpha.sc: Clean up section alignment to ensure that
+       sections never overlap when using -r.
+
+Wed Mar 30 15:51:15 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldmisc.c (vfinfo): Change symbol reading slightly for recent BFD
+       changes: get_symtab_upper_bound renamed and returns long,
+       bfd_canonicalize_symtab returns long, check for error indications.
+
+Fri Mar 25 17:20:01 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (print_input_section): For section size, use
+       _cooked_size if it is non-zero, size otherwise.
+       (size_input_section): Likewise.
+       (lang_do_assignments): Likewise (case lang_input_section_enum).
+
+Thu Mar 24 15:20:47 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (new_afile): Add new argument add_to_list.  Don't set
+       real to true for lang_input_file_is_marker_enum.  Clear the_bfd.
+       (lang_add_input_file): Pass true to new_afile for add_to_list.
+       (lookup_name): Remove force_load argument.  Changed all callers.
+       Pass false to new_afile for add_to_list.  Split loading of symbols
+       out into separate function.
+       (load_symbols): New function split out of lookup_name.  Don't load
+       the symbols if they are already loaded.
+       (open_input_bfds): For lang_input_statement_enum call load_symbols
+       rather than lookup_name.
+       (lang_process): Pass abs_output_section rather than NULL to
+       lang_size_sections.
+       (lang_startup): Set real field of first_file to true.
+
+Wed Mar 23 14:15:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (had_relax): Removed.
+       (relax_again): New static variable.
+       (lang_size_sections): Change call to bfd_relax_section to
+       correspond to BFD changes.  Set relax_again appropriately.
+       (lang_process): Remove #if 0 code.  When relaxing, keep calling
+       lang_do_assignments and lang_size_sections until relax_again
+       becomes false.
+
+       * emultemp/gld960.em: Include libiberty.h
+       (gld960_before_parse): Pass NULL as final argument to concat.
+
+Tue Mar 22 13:08:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * scripttempl/aout.sc: Force _end and __end to be aligned to a
+       four byte boundary.
+
+       * ldwrite.c (build_link_order): Handle lang_data_statement_enum by
+       building a bfd_data_link_order, rather than by setting the section
+       contents immediately.
+
+Mon Mar 21 18:28:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       Changes to make -Ur work again.
+       * ldmain.c (add_to_set): Now takes reloc argument rather than
+       bitsize.  Check config.build_constructors here.  If an new hash
+       table entry is created, mark it as undefined.
+       (constructor_callback): No longer takes bitsize argument.  Pass
+       BFD_RELOC_CTOR to ldctor_add_set_entry, but first make sure the
+       BFD backend supports it.
+       (reloc_overflow): Handle a NULL abfd argument.
+       (reloc_dangerous, unattached_reloc): Likewise.
+       * ldctor.c: Include ldmain.h.
+       (struct set_info): Change bitsize field to reloc.
+       (ldctor_add_set_entry): Now takes reloc argument rather than
+       bitsize.  Don't bother to check config.build_constructors here.
+       (ldctor_build_sets): Get the size from the reloc howto.  If
+       generating relocateable output, call lang_add_reloc rather than
+       lang_add_data.
+       * ldctor.h (ldctor_add_set_entry): Change declaration to use reloc
+       instead of bitsize.
+       * ldlang.h (statement_enum): Add lang_reloc_statement_enum.
+       (lang_reloc_statement_type): New structure.
+       (lang_statement_union_type): Add reloc_statement field.
+       (lang_add_reloc): Declare new function.
+       * ldlang.c (lang_for_each_statement_worker): Handle
+       lang_reloc_statement_enum.
+       (map_input_to_output_sections, print_statement): Likewise.
+       (lang_size_sections, lang_do_assignments): Likewise.
+       (print_reloc_statement): New function.
+       (lang_add_reloc): New function.
+       * ldwrite.c (build_link_order): Handle lang_reloc_statement_enum.
+
+       * Makefile.in (cdtest.out, cdtest-ur.o): New targets.
+       (cdtest-ur, cdtest-ur.out): New targets.
+       (check-cdtest): Now also check that -Ur works correctly.
+
+       * scripttemp/alpha.sc: Align all sections to 16 byte boundaries.
+
+Thu Mar 17 12:45:41 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ldlang.c (lang_process): Move lang_common call before
+       map_input_to_output_sections, to ensure that any alignment
+       constraints set by common symbols are copied over to the output
+       sections.
+
+Fri Mar 11 22:17:34 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * emulparams/elf32ppc.sh (TEMPLATE_NAME): Don't define.
+       (OTHER_READWRITE_SECTIONS): Rename .toc to .got.
+       * Makefile.in (em_elf32ppc.c): Depend upon generic.em, not ppc.em.
+       * emultempl/ppc.em: Remove ugly stub code; turns out not to be
+       needed for ELF.
+
 Tue Mar  8 04:22:27 1994  David J. Mackenzie  (djm@rtl.cygnus.com)
 
        * config/i386bsd.mh: New file.
@@ -2485,3 +2594,7 @@ Fri Oct  4 21:51:58 1991  John Gilmore  (gnu at cygnus.com)
        * ldfile.c, ldlang.c, ldmain.c, ldwrite.c:  Cope with renames of a
        few BFD types & enums.
 
+\f
+Local Variables:
+version-control: never
+End:
This page took 0.025048 seconds and 4 git commands to generate.