summaryrefslogtreecommitdiff
path: root/bfd/peicode.h
Commit message (Collapse)AuthorAgeFilesLines
...
* Add WinCE support.Nick Clifton2000-02-281-12/+856
|
* fix PE file format detectionNick Clifton1999-12-281-1/+4
|
* Move PE format object file detection code into common place.Nick Clifton1999-12-171-0/+81
|
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-2/+14
| | | | | | | | * peicode.h (coff_swap_scnhdr_in): If COFF_IMAGE_WITH_PE, the get the overflow of the s_nlnno field from the s_nreloc field. * peigen.c (_bfd_pei_swap_scnhdr_out): If doing a final link, swap the s_nlnno overflow of the .text section into the s_nreloc field.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-121-0/+2
| | | | | | * 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.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-1929/+51
| | | | | | | | | | | | | * 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.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-6/+12
| | | | | | | * 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.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-0/+2
| | | | | | * coffcode.h (coff_mkobject_hook): Set timestamp field in coff_data_type to f_timdat. * peicode.h (pe_mkobject_hook): Likewise.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-0/+15
| | | | | * peicode.h (coff_swap_filehdr_in): Check the NT executable magic number if COFF_IMAGE_WITH_PE.
* 1999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1999-09-111-0/+3
| | | | | | | | | * 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.
* 1999-08-08 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-08-081-0/+2
| | | | | | | | | | | | | * section.c (SEC_SHARED): Define. * coffcode.h (sec_to_styp_flags): Handle SEC_SHARED. (styp_to_sec_flags): Likewise. * peicode.h (coff_swap_scnhdr_out): Likewise. * bfd-in2.h: Rebuild. 1999-08-08 Ian Lance Taylor <ian@zembu.com> * coffcode.h (coff_classify_symbol): Comment out part of 1999-08-05 change which breaks cygwin DLLs.
* * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1999-07-121-5/+5
| | | | | | | | | | | | | | | | | | | | | as appropriate. Use EMPTY_HOWTO as appropriate. Fill in structure initializations. Add casts. * reloc.c (EMPTY_HOWTO): Define. * bfd-in2.h: Rebuild. * coff-h8300.c (h8300_reloc16_extra_cases): Remove useless comparisons against 0. * elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Change previous_ibfd_e_flags to unsigned long. * vms.h (struct vms_private_data_struct): Change section_count to unsigned. * vms-gsd.c (_bfd_vms_slurp_gsd): Change psect_idx to unsigned. (_bfd_vms_write_gsd): Change symnum to unsigned. * vms-hdr.c (_bfd_vms_write_hdr): Change symnum to unsigned. * vms-tir.c (etir_sta): Change psect to unsigned. (alloc_section): Change idx to unsigned. (tir_sta, tir_ctl): Change psect to unsigned. (_bfd_vms_write_tir): Change len and before to bfd_size_type. * vms.c (priv_section_count): Change to unsigned.
* fix copyrightIan Lance Taylor1999-06-261-1/+1
|
* 1999-06-26 Mumit Khan <khan@xraylith.wisc.edu>Ian Lance Taylor1999-06-261-1/+5
| | | | | * peicode.h (coff_swap_scnhdr_out): Mark non readonly BFD sections as writable PE sections.
* * peicode.h (coff_swap_sym_in): When we create the actual sectionDJ Delorie1999-05-251-0/+1
| | | | | | to reflect the not-there section C_SECTION symbols refer to, change the symbol class to C_STAT as the section is now really there.
* * ecoff.c (_bfd_ecoff_write_armap): give the symtab element aDJ Delorie1999-05-111-0/+50
| | | | | | | | | | | | | | | reasonable mode until "ar x" is smart enough to skip it (fixes gcc/libgcc.a builds on mips-ecoff targets * coffcode.h (styp_to_sec_flags): Explain how COMDATs are supposed to work. Hack to support MS import libraries, which use different COMDAT types than GNU. (coff_slurp_symbol_table): C_SECTION symbols are local; they refer to implied zero-length sections (see peicode below) * coffgen.c (coff_get_normalized_symtab): Properly read long MS filename symbols, which use one *or more* auxents. * coffswap.h (coff_swap_aux_in): ditto * peicode.h (coff_swap_sym_in): Build the implied zero-length sections
* Initial revisionRichard Henderson1999-05-031-0/+2144