aboutsummaryrefslogtreecommitdiff
path: root/bfd/peigen.c
AgeCommit message (Collapse)AuthorFilesLines
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-22/+76
* libpei.h (_bfd_pei_final_link_postscript): Declare. (coff_final_link_postscript): Define. * peigen.c (_bfd_pei_swap_aouthdr_out): Don't set value for data directory entries here. (_bfd_pei_final_link_postscript): New function.
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-44/+0
* peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets section flags based on the section name.
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-17/+40
* 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-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-95/+149
* peigen.c (add_data_entry): Declare. (pei_swap_aouthdr_out): Get image size right. Set linker version more intuitively. (pei_swap_scnhdr_out): Test for UNINIT section, not .bss. (pe_print_idata): Code cleanup, print more info, get rid of (now) extraneous ImageBase. (pe_print_edata): Likewise. (pe_print_pdata): Likewise. Print exception entries. (pe_print_reloc): Likewise. Print MIPS_JMPADDR. (tbl): Make const, add "UNKNOWN". (_bfd_pe_print_private_bfd_data_common): Print timestamp. (_bfd_pe_bfd_copy_private_bfd_data_common): Don't copy deleted section data directory. (_bfd_pe_bfd_copy_private_section_data): Copy pe_flags.
1999-09-121999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-0/+15
* 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-111999-09-11 Donn Terry <donn@interix.com>Ian Lance Taylor1-0/+1810
* 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.