aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcore.h
AgeCommit message (Collapse)AuthorFilesLines
2008-08-01 * elfcore.h (elf_core_file_p): Ensure we have a backend matchAlan Modra1-0/+2
with the correct arch size before rejecting the generic fallback. * elfcode.h (elf_object_p): Likewise. Ensure arch size matches before accepting a target.
2008-05-10 * elfcore.h (elf_core_file_p): Warn about core truncation.Alan Modra1-2/+28
2007-08-042007-08-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* elf-bfd.h (xvec_get_elf_backend_data): Add const. * elfcode.h (elf_object_p): Use xvec_get_elf_backend_data. * elfcore.h (elf_core_file_p): Likewise.
2007-07-03Switch sources over to use the GPL version 3Nick Clifton1-3/+4
2005-05-04Update the address and phone number of the FSF organization in the GPL noticesNick Clifton1-1/+1
2005-05-04Update the FSF address in the copyright/GPL noticeNick Clifton1-1/+1
2005-03-03update copyright datesAlan Modra1-1/+1
2005-02-14(elf_core_file_p): Move the call to elf_backend_object_p to allow the correctNick Clifton1-11/+12
machine to be set before processing the program headers.
2003-08-07 * elfxx-target.h: Remove PTR cast.Alan Modra1-3/+3
* targets.c (bfd_target): Make backend_data const void *. * elf-bfd.h: Constify all occurrences of struct elf_backend_data. * elf-m10300.c: Likewise. * elf.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i386.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-sh64.c: Likewise. * elf32-sparc.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-mips.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. * elfxx-mips.h: Likewise. * elf.c (prep_headers): Remove useless check for null backend_data. * bfd-in2.h: Regenerate.
2003-08-04 * elfcode.h: Convert to C90, remove unneeded casts and prototypes.Alan Modra1-15/+8
* elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elf.c (sym_is_global): Remove INLINE. (align_file_position): Replace INLINE with inline. * elfcode.h (elf_swap_dyn_in, elf_swap_dyn_out): Remove INLINE. (elf_file_p): Replace INLINE with inline.
2003-07-08 * elfcode.h (elf_object_p): Allocate tdata via _bfd_set_format.Alan Modra1-6/+4
* elfcore.h (elf_core_file_p): Likewise. * section.c (bfd_section_init): Remove prototype.
2003-02-14(elf_core_file_p): Compare alternate machine codes for ELF backends whenNick Clifton1-33/+32
checking if the generic ELF target should be used.
2002-11-30s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra1-4/+4
comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
2002-11-12Missed commit in last change.Alan Modra1-33/+13
2002-06-25 * aout-adobe.c: Don't compare against "true" or "false.Alan Modra1-3/+3
* 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.
2002-01-28* elfcore.h (elf_core_file_p): Improve comment for last change.Jason Thorpe1-1/+3
2002-01-27* elfcore.h (elf_core_file_p): Set the machine architectureJason Thorpe1-7/+7
before processing the program headers.
2001-12-18 * elfcode.h (struct bfd_preserve): New.Alan Modra1-17/+29
(elf_object_p): Replace preserved_* vars with instance of above. Save and restore arch_info pointer rather than arch, mach so that more cases can be restored. Save and restore new section_tail, section_htab structure, and init appropriately. Move "rest of section header" code so that i_shdrp needs no NULL initialisation. Free old section_htab on success. * elfcore.h (elf_core_file_p): Likewise.
2001-11-02 * elfcore.h (elf_core_file_p): Preserve and clear abfd sectionHans-Peter Nilsson1-0/+21
information. Save bfd arch and mach values. Restore on error.
2001-09-18Touches most files in bfd/, so likely will be blamed for everything..Alan Modra1-8/+10
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-06-30 * elfcore.h (elf_core_file_p): Call bfd_section_from_phdr directlyAlan Modra1-1/+1
instead of _bfd_elfcore_section_from_phdr. * elf-bfd.h (_bfd_elfcore_section_from_phdr): Remove. * elf.c (_bfd_elfcore_section_from_phdr): Remove. (_bfd_elfcore_make_pseudosection): Expedite tail-call. (elfcore_grok_prstatus): Likewise. (elfcore_grok_lwpstatus): Likewise. (bfd_get_elf_phdr_upper_bound): Likewise. (elfcore_make_note_pseudosection): Formatting. (_bfd_elfcore_strndup): Formatting. * elf32-mips.c (mips_elf_sym_is_global): Formatting. (_bfd_elf32_mips_grok_prstatus): Expedite tail-call.
2001-03-08Update copyright noticesNick Clifton1-1/+2
2001-01-032001-01-03 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-19/+16
* ecoffswap.h: Fix formatting. * elf-bfd.h: Likewise. * elfarm-nabi.c: Likewise. * elfarm-oabi.c: Likewise. * elfcode.h: Likewise. * elfcore.h: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elfxx-ia64.c: Likewise. * elfxx-target.h: Likewise.
2000-12-15Move to the start of the program headers before attempting to read them.Nick Clifton1-0/+4
2000-06-19Applied Stephane Carrez <Stephane.Carrez@worldnet.fr> patches to add supportNick Clifton1-3/+1
for m68hc11 and m68hc12 processors.
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-12/+21
* elfcore.h (elf_core_file_p): preserve value of tdata at entry, and restore it on failure. Release newly allocated tdata on failure.
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder1-0/+8
* elfcore.h (elf_core_file_p): call backend_object_p which thereby gets an opportunity to update the arch/machine type.
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+226