1999-09-11 Donn Terry <donn@interix.com>
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index c3efbe4c6ec96f607c3290f7bfb26ccb2b1170cd..ae92bcea79a784671824a8a0ab2413f90983229e 100644 (file)
@@ -7,6 +7,52 @@
 
 1999-09-11  Donn Terry  <donn@interix.com>
 
+       * libpei.h (_bfd_pe_bfd_get_symbol_info): Declare.
+       * peigen.c (_bfd_pe_bfd_get_symbol_info): New function.
+       * peicode.h (coff_get_symbol_info): Define.
+
+       * config.bfd (i[3456]86-*-interix*): Set targ_cflags to
+       -DSTRICT_PE_FORMAT.
+       * coffcode.h (styp_to_sec_flags): Check STRICT_PE_FORMAT rather
+       than __INTERIX.
+       (coff_classify_symbol): Re-revert 1999-08-08 patch if
+       STRICT_PE_FORMAT.
+
+       * libpei.h: New file, broken out of peicode.h.
+       * peigen.c: New file, broken out of peicode.h.
+       * peicode.h: A bunch of code moved out to libpei.h and peigen.c.
+       * configure.in: Add peigen.lo to list of files required for each
+       PE target.
+       * Makefile.am: Rebuild dependencies.
+       (BFD32_BACKENDS): Add peigen.lo.
+       (BFD32_BACKENDS_CFILES): Add peigen.c.
+       (SOURCE_HFILES): Add libpei.h.
+       * configure, Makefile.in: Rebuild.
+
+       * peicode.h (coff_swap_scnhdr_in): Don't check for a special
+       section name of _BSS; check IMAGE_SCN_CNT_UNINITIALIZED_DATA
+       instead.  Don't clear the s_paddr field for an uninitialized data
+       section.
+
+       * coffcode.h (coff_mkobject_hook): Set timestamp field in
+       coff_data_type to f_timdat.
+       * peicode.h (pe_mkobject_hook): Likewise.
+
+       * peicode.h (coff_swap_filehdr_in): Check the NT executable magic
+       number if COFF_IMAGE_WITH_PE.
+
+       * coffcode.h (coff_mkobject_hook): If COFF_WITH_PE, set HAS_DEBUG
+       to the reverse of IMAGE_FILE_DEBUG_STRIPPED.
+       (coff_write_object_contents): Set IMAGE_FILE_DEBUG_STRIPPED if
+       there is no SEC_DEBUGGING section.
+       * peicode.h (pe_mkobject_hook): Set HAS_DEBUG to the reverse of
+       IMAGE_FILE_DEBUG_STRIPPED.
+
+       * pe-i386.c (COFF_LONG_FILENAMES): Define.
+       (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
+       * pei-i386.c (COFF_LONG_FILENAMES): Define.
+       (COFF_SECTION_ALIGNMENT_ENTRIES): Define.
+
        * coffswap.h (IMAGE_BASE): Don't define.
        * pei-arm.c (IMAGE_BASE): Don't define.
        * pei-i386.c (IMAGE_BASE): Don't define.
This page took 0.027889 seconds and 4 git commands to generate.