* elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
[binutils-gdb.git] / bfd / ChangeLog
index d8d9af89aba66d0fc13dee0051e1a59f7432ab70..7cbfe73d68bf667bb7895c08c248ad4288da7a27 100644 (file)
@@ -1,3 +1,110 @@
+Wed Jun 17 13:55:31 1992  Fred Fish  (fnf@cygnus.com)
+
+       * elf.c (bfd_section_from_shdr, elf_slurp_symbol_table):
+       Correct misconception that there can be only one symbol table.
+       Only call elf_slurp_symbol_table on the full symbol table, not
+       the dynamic one which is only a subset of the full one.
+
+Wed Jun 17 15:54:57 1992  Ken Raeburn  (Raeburn@Cygnus.COM)
+
+       * coffcode.h (coff_compute_section_file_positions): For I960,
+       don't align sections in file.
+
+Tue Jun 16 06:28:21 1992  Ken Raeburn  (Raeburn@Cygnus.COM)
+
+       * targets.c (struct bfd_target): Added field for target-specific
+       (but not file-specific) data, for distinguishing minor
+       characteristics between (e.g.) a.out formats.
+
+       * section.c (struct sec): New field user_set_vma indicates vma
+       field should be heeded, not assumed to be unset.
+       (STD_SECTION): Initialize that field of standard sections to zero.
+       * bfd-in.h (bfd_set_section_vma): Set user_set_vma to true.
+
+       * coffcode.h (coff_write_relocs): Write out swapped reloc, not
+       pre-swapped version.
+
+       * archures.c (struct bfd_arch_info): Fixed order of comment and
+       field decl.  New fields indicate size of page and segment for
+       architecture.
+       * cpu-m68k.c (N): Fill in values.
+       * cpu-sparc.c (arch_info_struct): Ditto.
+
+       * libaout.h (struct aout_backend_data): Various bits of data (not
+       all used currently) with characteristics of a.out implementation.
+       Important field for now is text_includes_header, indicating that
+       the text section starts immediately after the file header, which
+       gets mapped in with it.
+       (struct aout_data): New fields indicate whether vma has been
+       adjusted yet (not yet used), and what magic number will be used in
+       the output file (should go away in favor of vma_adjusted).
+       (WRITE_HEADERS): Code for dealing with section sizes and related
+       header fields replaced with call to adjust_sizes_and_vmas.
+       * aoutx.h (some_aout_object_p): Fill in magic number field.
+       Set WP_TEXT flag for ZMAGIC as well as NMAGIC files.
+       (set_arch_mach): Set page size and segment size once CPU
+       type is known.
+       (adjust_sizes_and_vmas): New function; has much code moved
+       from set_section_contents and WRITE_HEADERS.  Sets or adjusts vma
+       and size parameters, as well as many header fields, after deciding
+       on magic number for output file.  Checks to ensure that this
+       adjustment has only been done once.
+       (set_section_contents): Call adjust_sizes_and_vmas instead of
+       doing much of the work here.
+
+       * aout-target.h (MY_make_debug_symbol, MY_backend_data): Provide
+       default (null) values of these fields.
+       * aoutf1.h (sunos4_write_object_contents): Don't override a_text
+       value in exec header.
+       (sunos4_aout_backend, MY_backend_data): Define backend data
+       indicating file header is included in text section.
+
+       * aoutf1.h (MY_reloc_howto_type_lookup): Fix typo.
+
+       * hosts/sparc.h (abort, exit): Hide these names if compiling with
+       gcc version 2, to avoid warnings.
+
+Mon Jun 15 12:26:56 1992  Fred Fish  (fnf@cygnus.com)
+
+       * config/ncr3000.mh (INSTALL, RANLIB):  Don't use /usr/ucb/install,
+       it's broken on ncr 3000's.  Use simple "true" for RANLIB.
+
+Sat Jun 13 09:16:43 1992  Michael Tiemann  (tiemann@rtl.cygnus.com)
+
+       * configure.in (m680[01234]0-wrs-*): Fix typo in match pattern.
+
+Fri Jun 12 19:48:34 1992  John Gilmore  (gnu at cygnus.com)
+
+       * section.c (STD_SECTION):  Remove extra semicolon in declarations.
+       * configure.in:  Rewrite target parsing to use simple format.
+       Handle sparc-sun-solaris2 configuration.
+       * aout64.h:  Avoid ANSI C brain death warning.
+       * elf.c:  Avoid trigraph (???) or /* in comments.
+
+Fri Jun 12 14:51:14 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
+
+       * config/sysv4.mh: new file, RANLIB=echo
+
+       * configure.in: handle Solaris2 as -sysv4 or -solaris2
+
+Thu Jun 11 00:52:03 1992  John Gilmore  (gnu at cygnus.com)
+
+       * elf.c (elf_obj_tdata):  Merge elf_obj_tdata_struct and
+       elf_core_tdata_struct into a single common struct.  Core files
+       wouldn't have worked at all without this.
+       (bfd_elf_find_section):  New function for GDB's undercover use
+       to find string sections that BFD hides from it.
+       (elf_get_str_section):  Avoid multiple alloc&reads for same data;
+       lint.
+       (elf_object_p, elf_core_file_p):  Allocate internal file header
+       storage dynamically.
+       * bfd.c (union {...} tdata):  Remove elf_core_tdata_struct.
+       * demo64.c:  Prevent "empty translation unit" warnings from idiots.
+
+Tue Jun  9 17:15:26 1992  Fred Fish  (fnf at cygnus.com)
+
+       * config/{i386v4.mh, ncr3000.mh}:  Update RANLIB, add INSTALL.
+
 Sat Jun  6 17:02:51 1992  John Gilmore  (gnu at cygnus.com)
 
        * configure.in:  Handle Solaris2 as *-sun-sysv4 or as *-sun-sunos5.