Kazu Hirata
6fa957a9b9
2000-12-14 Kazu Hirata <kazu@hxi.com>
...
* peigen.c: Fix formatting.
* som.c: Likewise.
* som.h: Likewise.
2000-12-14 21:38:31 +00:00
Kazu Hirata
9602af5112
2000-12-13 Kazu Hirata <kazu@hxi.com>
...
* peigen.c: Fix formatting.
2000-12-13 21:43:57 +00:00
DJ Delorie
3e4554a206
* peigen.c (_bfd_pei_swap_scnhdr_out): note extended relocs
...
* coffcode.h (coff_set_alignment_hook): read extended reloc count
(coff_write_relocs): write extended reloc count
(coff_write_object_contents): account for extended relocs
2000-10-06 19:47:51 +00:00
DJ Delorie
3028b4c011
* peigen.c (_bfd_pei_swap_aouthdr_in): If some DataDirectory
...
is empty, make sure that its rva also 0. NT loader dislikes
having otherwise.
2000-09-26 20:42:29 +00:00
Alan Modra
db8503c490
Fix problems introduced with my last change.
2000-05-16 02:10:00 +00:00
Alan Modra
a76b448c6f
Restore some functionality removed by previous patch.
...
Tidy printing of bfd_vma's.
2000-05-11 23:24:27 +00:00
Alan Modra
8181c4030f
DataDirectory virtual address is relative. Fix to suit.
2000-05-08 05:52:58 +00:00
Jim Wilson
fac417805a
Bfd support for generating IA-64 EFI binaries.
...
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo.
(BFD64_BACKENDS_CFILES): Mention coff-ia64.c
(coff-ia64.lo): Add dependency.
* Makefile.in: Regenerate.
* coff-ia64.c: New file.
* efi-app-ia32.c: Ditto.
* efi-app-ia64.c: Ditto.
...
2000-04-18 04:03:16 +00:00
Nick Clifton
17505c5cfa
Add WinCE support.
2000-02-28 18:56:11 +00:00
Ian Lance Taylor
2fbadf2cf5
1999-09-11 Donn Terry <donn@interix.com>
...
* 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-12 00:45:26 +00:00
Ian Lance Taylor
8c42d01089
1999-09-11 Donn Terry <donn@interix.com>
...
* peigen.c (_bfd_pei_swap_scnhdr_out): Remove code which sets
section flags based on the section name.
1999-09-12 00:32:32 +00:00
Ian Lance Taylor
cb43721da5
1999-09-11 Donn Terry <donn@interix.com>
...
* 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-12 00:30:27 +00:00
Ian Lance Taylor
5933bdc9a1
1999-09-11 Donn Terry <donn@interix.com>
...
* 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-12 00:22:01 +00:00
Ian Lance Taylor
7d2b58d612
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.
1999-09-12 00:02:11 +00:00
Ian Lance Taylor
277d1b5e45
1999-09-11 Donn Terry <donn@interix.com>
...
* 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 23:37:28 +00:00