* coffcode.h (styp_to_sec_flags): If COFF_PAGE_SIZE is defined,
[binutils-gdb.git] / bfd / ChangeLog
index 2086cf02e190c121ca47932e6fc5043dadca8b5f..c080c0b9d3e682e583fbf5cf05384a8f64f305ec 100644 (file)
@@ -1,5 +1,42 @@
+Tue Jun  7 13:25:08 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * coffcode.h (styp_to_sec_flags): If COFF_PAGE_SIZE is defined,
+       set SEC_DEBUGGING for STYP_INFO sections.
+       (coff_compute_section_file_positions): If COFF_PAGE_SIZE is
+       defined, and D_PAGED is set, set the file position equal to the
+       section VMA modulo COFF_PAGE_SIZE.
+       * coffgen.c (coff_real_object_p): If F_EXEC is set, set D_PAGED.
+       * coff-i386.c: Set D_PAGED in BFD target.
+       (COFF_PAGE_SIZE): Define.
+       * coff-m68k.c, coff-sparc.c: Likewise.
+
 Mon Jun  6 10:57:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
+       * elfcode.h (bfd_section_from_shdr): Don't turn a reloc section
+       into a BFD section just because SHF_ALLOC is set; require that it
+       not use the normal symbol table.
+       (elf_section_from_bfd_section): Corresponding change.
+
+       Better indirect and warning symbol handling inspired by Stuart
+       Quick <stuck@cs.man.ac.uk>.
+       * linker.c (enum link_action): Add REF, MIND, CWARN, REFC.
+       (link_action): Change UNDEF_ROW/def and UNDEFW_ROW/def from NOACT
+       to REF.  Change UNDEF_ROW/indr and UNDEFW_ROW/indr from CYCLE to
+       REFC.  Change DEF_ROW/indr and COMMON_ROW/indr from CYCLE to MDEF.
+       Change DEFW_ROW/indr from CYCLE to NOACT.  Change INDR_ROW/indr
+       from MDEF to MIND.  Change INDR_ROW/warn from WARNC to CYCLE.
+       Change WARN_ROW/def and WARN_ROW/indr from MWARN to CWARN.  Change
+       WARN_ROW/com from MWARN to WARN.  Change WARN_ROW/warn from NOACT
+       to CYCLE.  Change SET_ROW/warn from WARNC to CYCLE>
+       (_bfd_generic_link_add_one_symbol): Handle REF, MIND, CWARN and
+       REFC.  If a new indirect symbol has been referenced, push the
+       reference down to the symbol it points to.  FIx handling of WARN.
+       * aoutx.h (translate_from_native_sym_flags): If N_WARNING, don't
+       clobber e_type of next symbol.
+       (translate_to_native_sym_flags): Likewise.
+       (aout_link_write_symbols): Loop on bfd_link_hash_warning as well
+       as bfd_link_hash_indirect.
+
        * libaout.h (struct aout_link_hash_entry): New field written.
        * aoutx.h (NAME(aout,link_hash_newfunc)): Initialize written.
        (aout_link_write_symbols): Use written, not root.written.