aboutsummaryrefslogtreecommitdiff
path: root/bfd/peicode.h
AgeCommit message (Collapse)AuthorFilesLines
1998-05-18Fix nightly testing bug.Nick Clifton1-9/+19
1998-04-23Fixed internationalisation.Nick Clifton1-14/+14
1998-04-22 * Many files: Added gettext invocations around user-visibleTom Tromey1-56/+56
strings. * libbfd-in.h: Added gettext includes and defines. * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY, HAVE_LC_MESSAGES): Define. * configure.in: Call CY_GNU_GETTEXT. Create po/Makefile.in and po/Makefile. * Makefile.am (SUBDIRS): Added po. (POTFILES): New macro. (po/POTFILES.in): New target. (SOURCE_HFILES): New macro. (HFILES): Use it. * po/Make-in, po/POTFILES.in, po/bfd.pot: New files.
1998-04-21Arm specific code changed to conform to BFD coding conventions.Nick Clifton1-13/+9
1998-03-26Remove (most of the) target dependent code from peicode.hNick Clifton1-13/+33
1998-03-25Support interworking for thumb-pe and arm-pe targets.Nick Clifton1-102/+207
1997-10-16Fix mangled patchMichael Meissner1-12/+2
1997-10-15 * peicode.h (pe_mkobject_hook): Set DLL flag.Ian Lance Taylor1-1/+5
(pe_bfd_copy_private_bfd_data): Copy DLL flag.
1997-10-15 * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLEIan Lance Taylor1-3/+12
for .stab* sections. Replace strlen of constant strings with number.
1997-05-21 * peicode.h: Add & 0xffffffff when using ImageBase in case bfd_vmaIan Lance Taylor1-32/+95
is 64 bits.
1996-06-26 * coffswap.h (coff_swap_reloc_out): Use RELSZ, not sizeof.Ian Lance Taylor1-10/+14
(coff_swap_filehdr_out): Use FILHSZ, not sizeof. (coff_swap_sym_out): Use SYMESZ, not sizeof. (coff_swap_aux_out): Use AUXESZ, not sizeof. (coff_swap_lineno_out): Use LINESZ, not sizeof. (coff_swap_aouthdr_out): Use AOUTSZ, not sizeof. (coff_swap_scnhdr_out): Use SCNHSZ, not sizeof. * peicode.h: Corresponding changes.
1996-06-20 * coffcode.h (coff_set_alignment_hook): Change COFF_IMAGE_WITH_PEDavid Edelsohn1-5/+28
ifdef to COFF_WITH_PE. (coff_compute_section_file_positions): Likewise. (coff_write_object_contents): Likewise. Delete COFF_OBJ_WITH_PE. * pe-{arm,i386,ppc}.c (COFF_OBJ_WITH_PE): Delete. * peicode.h (pe_bfd_copy_private_bfd_data): Delete ifdef COFF_IMAGE_WITH_PE, always include.
1996-06-20 * peicode.h (coff_swap_scnhdr_out): ".drectve" doesn't have trailing 0.David Edelsohn1-4/+2
1996-06-13 * cofflink.c (_bfd_coff_final_link): Handle long section names.Ian Lance Taylor1-7/+47
* coffcode.h (coff_write_object_contents): If there are long section names, always set the f_symptr field, even if there are no symbols. * peicode.h (coff_swap_filehdr_in): Don't clear the f_symptr field if there are no symbols.
1996-04-18 * libcoff-in.h (struct coff_final_link_info): Add last_bf_indexIan Lance Taylor1-2/+2
and last_bf fields. * libcoff.h: Rebuild. * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN symbols. (coff_swap_aux_out): Likewise. * peicode.h (coff_swap_aux_in): Likewise. (coff_swap_aux_out): Likewise. * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN symbols. * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index field. (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. Fix up .bf endndx link fields. * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index field. * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN symbols. PR 9467.
1996-03-31 * peicode.h (coff_swap_aouthdr_out): Delete test for .junk.Steve Chamberlain1-5/+0
* coffcode.h (coff_compute_section_file_positions): Likewise. (coff_write_object_contents): Likewise.
1996-03-27update copyrightsIan Lance Taylor1-1/+1
1996-03-27 * peicode.h (coff_swap_aux_in): Swap in extra PE x_scn fields.Ian Lance Taylor1-0/+12
(coff_swap_aux_out): Swap out extra PE x_scn fields. * coffswap.h (coff_swap_aux_in): Zero out extra PE x_scn fields. * coffgen.c (coff_print_symbol): If any of the extra PE x_scn fields is non-zero, print them.
1996-03-27 * peicode.h (pe_print_idata): Move otherwise unused variables intoIan Lance Taylor1-47/+69
the #ifdef where they are used. Always return a value. (pe_print_edata): Change fprintf strings and add cast to make fprintf strings correspond to actual types. Always return a value. (pe_print_pdata): Removed unused variable addr_value. Always return a value. (pe_print_reloc): Remove unused variable onaline. Make fprintf strings and arguments correspond. Always return a value.
1995-12-12Fixes for .relocKim Knuttila1-0/+92
1995-12-04Dumper for PowerPC .edata sectionKim Knuttila1-6/+185
1995-12-01 * libbfd.c (bfd_malloc, bfd_realloc): New functions.Ian Lance Taylor1-16/+7
(bfd_zmalloc): Return PTR, not char *. Take size_t, not bfd_size_type. * libbfd-in.h (bfd_malloc, bfd_realloc): Declare. (bfd_zmalloc): Change declaration. * libbfd.h: Rebuild. * Many files: Use bfd_malloc and bfd_realloc rather than malloc and realloc. Don't set bfd_error_no_memory if they fail.
1995-11-29 * peicode.h (pe_print_idata): Call malloc rather than xmalloc.Ian Lance Taylor1-4/+19
(pe_print_pdata): Likewise.
1995-11-29 * opncls.c (bfd_alloc_by_size_t): Set bfd_error_no_memory ifIan Lance Taylor1-8/+5
obstack_alloc fails. (bfd_alloc_finish): Set bfd_error_no_memory if obstack_finish fails. * libbfd.c (bfd_zmalloc): Set bfd_error_no_memory if malloc fails. * Many files: don't set bfd_error_no_memory if one of the above routines fails.
1995-11-15 * peicode.h (coff_swap_aouthdr_out): For PPC PE, start isize at 0,Ian Lance Taylor1-10/+391
not at the file position of the first section. * coffcode.h (coff_compute_section_file_positions): Avoid using unportable #elif. (coff_write_object_contents): When generating a PPC PE executable with no symbols, round up the file size to a COFF_PAGE_SIZE boundary. * cofflink.c (_bfd_coff_final_link): If there are no symbols, don't write out a string table.
1995-10-28Sat Oct 28 01:25:34 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-15/+34
* cofflink.c (_bfd_coff_generic_relocate_section): Make callback decide what goes in .relocs. * pe[i]-i386.c (TARGET_UNDERSCORE): Define. * peicode.h (pe_mkobject_hook): Only copy aouthdr if there is one.
1995-10-03Tue Oct 3 16:28:32 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-8/+78
* coffcode.h (coff_bfd_copy_private_symbol_data, coff_bfd_copy_private_section_data, coff_bfd_copy_private_bfd_data): ifdef to allow overrides. * peicode.h (coff_bfd_copy_private_bfd_data): New (pe_bfd_copy_private_bfd_data): New. (coff_swap_scnhdr_in): Swap bss size into the right place. (pe_print_private_bfd_data): Add some newlines.
1995-09-19Tue Sep 19 14:02:21 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-14/+20
* peicode.h (coff_swap_scnhdr_out): Get sizes for BSS right. (pr 8045)
1995-09-12Thu Sep 7 12:45:34 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-25/+23
* coffcode.h (coff_compute_section_file_positions): Keep the raw size safe. (coff_write_object_contents): Remember if it's a relocatable file. * libcoff-in.h (pe_data_type): New member 'has_reloc_section' * peicode.h (coff_swap_filehdr_out): Clear not-reloc flag if relocatable file. Swap out saved raw size.
1995-09-12 Extensive minor changes to avoid various gcc warnings. Also:Ian Lance Taylor1-17/+32
* Makefile.in (BFD32_BACKENDS): Remove coff-arm.o. * archures.c (bfd_arch_info_type): Change mach field from long to unsigned long. (bfd_lookup_arch): Change machine parameter from long to unsigned long.
1995-08-31Thu Aug 31 16:00:53 1995 steve chamberlain <sac@slash.cygnus.com>Steve Chamberlain1-0/+1083
* Makefile.in: Update dependencies. * aout-target.h (MY_bfd_print_private_bfd_data): New. * bfd-in.h (PE STUFF): Deleted. * bfd.c (tdata->pe_obj_data): New. (bfd_print_private_bfd_data): New. * coff-i386.c, coff-arm.c (coff_*-rtype_to_howto): Get image base from new place. * libcoff.h, libbfd.h, bfd-in2.h: Rebuilt. * coffcode.h (pe_value): Delete (coff_mkobject, coff_mkobject_hook): Conditionally build. (coff_compute_section_file_positions): Look in new place. (add_data_entry, fill_pe_header_info): Deleted. (coff_write_object_contents): Remove PE stuff. (coff_bfd_print_private_bfd_data): New. * coffswap.h: Remove PE stuff. * elfxx-target.h (bfd_elfNN_bfd_print_private_bfd_data): New. * libbfd-in.h (_bfd_generic_bfd_print_private_bfd_data): New. * libcoff-in.h (pe_data_type): New. * libecoff.h (_bfd_ecoff_bfd_print_private_bfd_data): New. * targets.c (_bfd_print_private_bfd_data): New. * peicode.h: New file.