aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-i386.c
AgeCommit message (Collapse)AuthorFilesLines
2003-06-25Correct spelling of "relocatable".Alan Modra1-6/+6
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-28/+29
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-06-25 * aout-adobe.c: Don't compare against "true" or "false.Alan Modra1-2/+2
* aout-target.h: Likewise. * aoutx.h: Likewise. * archive.c: Likewise. * bout.c: Likewise. * cache.c: Likewise. * coff-a29k.c: Likewise. * coff-alpha.c: Likewise. * coff-i386.c: Likewise. * coff-mips.c: Likewise. * coff-or32.c: Likewise. * coff64-rs6000.c: Likewise. * coffcode.h: Likewise. * coffgen.c: Likewise. * cpu-ns32k.c: Likewise. * ecoff.c: Likewise. * ecofflink.c: Likewise. * elf.c: Likewise. * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-d30v.c: Likewise. * elf32-i386.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-sh64.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-sh64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.h: Likewise. * elfxx-mips.c: Likewise. * i386os9k.c: Likewise. * ieee.c: Likewise. * libbfd.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * nlm32-alpha.c: Likewise. * nlm32-i386.c: Likewise. * nlm32-ppc.c: Likewise. * nlm32-sparc.c: Likewise. * nlmcode.h: Likewise. * oasys.c: Likewise. * pdp11.c: Likewise. * peicode.h: Likewise. * reloc.c: Likewise. * som.c: Likewise. * srec.c: Likewise. * tekhex.c: Likewise. * vms.c: Likewise. * xcofflink.c: Likewise. * elf64-sparc.c: Edit comment to not use "== false". * aoutf1.h: Don't use "? true : false". * ecoff.c: Likewise. * format.c: Likewise. * ieee.c: Likewise. * linker.c: Likewise. * mmo.c: Likewise. * oasys.c: Likewise.
2001-09-18Touches most files in bfd/, so likely will be blamed for everything..Alan Modra1-2/+2
o bfd_read and bfd_write lose an unnecessary param and become bfd_bread and bfd_bwrite. o bfd_*alloc now all take a bfd_size_type arg, and will error if size_t is too small. eg. 32 bit host, 64 bit bfd, verrry big files or bugs in linker scripts etc. o file_ptr becomes a bfd_signed_vma. Besides matching sizes with various other types involved in handling sections, this should make it easier for bfd to support a 64 bit off_t on 32 bit hosts that provide it. o I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*) generally available. They now cast their args to bfd_vma and bfd_byte * as appropriate, which removes a swag of casts from the source. o Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and aout-encap.c. o Zillions of formatting and -Wconversion fixes.
2001-05-08 * coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd isIan Lance Taylor1-2/+6
NULL or is not COFF. (coff_i386_rtype_to_howto): Don't dump core if output section owner is not COFF.
2001-04-13* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable sectionDJ Delorie1-2/+2
flag on pe-i386 targets.
2001-03-08Update copyright noticesNick Clifton1-1/+2
2000-11-102000-11-10 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-1/+1
* coff-h8300.c: Fix formatting. * coff-h8500.c: Likewise. * coff-i386.c: Likewise. * coff-i860.c: Likewise. * coff-i960.c: Likewise. * coff-ia64.c: Likewise.
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-3/+1
for m68hc11 and m68hc12 processors.
2000-06-182000-06-18 H.J. Lu <hjl@gnu.org>H.J. Lu1-1/+22
* coff-i386.c (coff_i386_reloc): Don't return in case of output_bfd == (bfd *) NULL if COFF_WITH_PE is defined. Compensate PE relocations when linking with non-PE object files to generate a non-PE executable.
2000-01-26Most of these changes are really only cosmetic. The readelf.c patchAlan Modra1-2/+1
fixes a thinko in get_dynamic_flags. I found at least one message string that included a `%' being passed to printf in the format argument.
1999-12-17Move PE format object file detection code into common place.Nick Clifton1-65/+2
1999-09-18Support 8 and 16-bit relocs for i386coff. Enable i386 gas testsuite testsAlan Modra1-100/+108
previously disabled for lack of such support. For *-*-linux*libc1 targets, XFAIL a ld testsuite that fails due to a bug in the dynamic linker prior to glibc-2.1.
1999-09-07 * coff-i386.c (in_reloc_p): Add declaration.Ian Lance Taylor1-11/+12
(i386coff_vec): Simplify initialization of application_section_flags.
1999-08-181999-08-18 Donn Terry <donn@interix.com>Ian Lance Taylor1-10/+25
* coff-i386.c (coff_i386_reloc): Handle R_IMAGEBASE. (RTYPE2HOWTO): Return NULL if reloc type is out of range. (coff_i386_rtype_to_howto): Likewise. * coffcode.h (coff_slurp_symbol_table): Change a -2 to N_DEBUG. Completely ignore symbols which are all zero. (dummy_reloc16_estimate): Add return 0. * cofflink.c (_bfd_coff_link_input_bfd): Rename inner scope variable copy to name_copy to avoid shadowing outer scope variable. * libcoff-in.h (coff_data_type): Change raw_syment_count field from unsigned int to unsigned long. Add timestamp field. * libcoff.h: Rebuild. Also comment changes.
1999-07-19Add new field to bfd_target structure.Nick Clifton1-1/+3
Initialise this field for all known bfd targets. Add new search function to targets.c
1999-07-12 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-19/+19
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.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+637