summaryrefslogtreecommitdiff
path: root/bfd/bfdwin.c
Commit message (Collapse)AuthorAgeFilesLines
* * bfdwin.c (bfd_get_file_window): Fix memory leak.Nick Clifton2011-09-081-16/+25
|
* * aoutx.h (aout_get_external_symbols): Declare 'amt' locally.Tom Tromey2009-07-021-2/+2
| | | | * bfdwin.c (bfd_free_window): Cast to unsigned long.
* 2008-11-20 Tristan Gingold <gingold@adacore.com>Tristan Gingold2008-11-201-4/+2
| | | | * bfdwin.c: Fix comment.
* PR 868Nick Clifton2008-02-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * libbfd.c (bfd_realloc_or_free): New function. Performs like bfd_realloc, but if the (re)allocation fails, the pointer is freed. * libbfd-in.h: Prototype. * libbfd.h: Regenerate. * bfdio.c (bfd_bwrite): Use the new function. (bfd_seek): Likewise. * bfdwin.c:(bfd_get_file_window): Likewise. * elf-strtab.c (_bfd_elf_strtab_add): Likewise. * elf32-ppc.c (ppc_elf_relax_section): Likewise. * elf32-xtensa.c (vsprintf_msg): Likewise. * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise. * stabs.c (_bfd_link_seciton_stabs): Likewise. * vms-misc.c (_bfd_vms_get_record): Likewise. * vms-tir.c (check_section): Likewise. * vms.c (vms_new_section_hook): Likewise. * elf32-arm.c (elf32_arm_section_map_add): Check that the allocation of sec_data->map succeeded before using it. * elflink.c (elf_link_output_sym): Do not overwrite finfo-> symshndxbuf until it is known that the reallocation succeeded.
* Switch sources over to use the GPL version 3Nick Clifton2007-07-031-13/+14
|
* * bfdwin.c (bfd_get_file_window): Seek into file in place ofAlan Modra2005-10-271-5/+8
| | | | using bfd_cache_lookup.
* * cache.c (bfd_cache_lookup_worker): Don't abort on failing toAlan Modra2005-10-261-0/+2
| | | | | | | | | | | reopen file. (cache_btell, cache_bseek, cache_bflush, cache_bstat): Return -1 on bfd_cache_lookup failure. (cache_bread, cache_bwrite): Return 0 on the same. * bfdwin.c (bfd_get_file_window): Likewise. * hppabsd-core.c (hppabsd_core_core_file_p): Likewise. * sco5-core.c (sco5_core_file_p): Likewise. * trad-core.c (trad_unix_core_file_p): Likewise.
* Update the address and phone number of the FSF organization in the GPL noticesNick Clifton2005-05-041-1/+1
|
* Update the FSF address in the copyright/GPL noticeNick Clifton2005-05-041-1/+1
|
* * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.Alan Modra2003-11-041-1/+1
| | | | | | | | | * coff-apollo.c, coff-sparc.c, coff-w65.c, coff-we32k.c: Ditto. * coff-z8k.c, coffgen.c, cpu-frv.c, cpu-h8500.c, cpu-hppa.c: Ditto. * cpu-ia64-opc.c, cpu-m10300.c, cpu-mips.c, cpu-msp430.c: Ditto. * cpu-rs6000.c, cpu-z8k.c, efi-app-ia32.c, elf32-am33lin.c: Ditto. * gen-aout.c, hash.c, hp300hpux.c, init.c, mach-o.c: Ditto. * nlm-target.h, nlm.c, som.h, stabs.c, sysdep.h, xsym.h: Ditto.
* Convert to C90 and a few tweaks.Alan Modra2003-06-291-16/+12
|
* s/boolean/bfd_boolean/ s/true/TRUE/ s/false/FALSE/. SimplifyAlan Modra2002-11-301-10/+10
| | | | comparisons of bfd_boolean vars with TRUE/FALSE. Formatting.
* 2002-11-16 Klee Dienes <kdienes@apple.com>Klee Dienes2002-11-181-0/+255
* Makefile.am (BFD32_LIBS): Add bfdwin.lo, bfdio.lo. (BFD32_LIBS_CFILES): Add bfdwin.c, bfdio.c. (BFD_H_FILES): Add bfdwin.c, bfdio.c. (LIBBFD_H_FILES): Add bfdwin.c, bfdio.c. Add dependencies for bfdwin.c, bfdio.c. * bfd.c: Remove bfd_get_mtime, bfd_get_size. * libbfd.c: Remove real_read, bfd_bread, _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat, bfd_seek. * bfdio.c: New file. Contains real_read, bfd_bread, bfd_write, bfd_tell, bfd_flush, bfd_stat, bfd_seek, bfd_ge_mtime, bfd_get_size (moved from libbfd.c and bfd.c). * bfdwin.c New file. Contains _bfd_window_internal, bfd_init_window, bfd_free_window, bfd_get_file_window (moved from libbfd.c and bfd.c). * po/SRC-POTFILES.in: Regenerate. * po/bfd.pot: Regenerate. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * aclocal.m4: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. 2002-11-16 Klee Dienes <kdienes@apple.com> * Makefile.am (DOCFILES): Add bfdwin.texi, bfdio.texi. (PROTOS): Add bfdio.p, bfdwin.p. (SRCDOC): Add bfdio.c, bfdwin.c. (SRCPROT): Add bfdio.c, bfdwin.c. (SRCIPROT): Add bfdio.c, bfdwin.c. (LIBBFD_H_DEP): Add bfdio.c, bfdwin.c. (BFD_H_DEP): Add bfdio.c, bfdwin.c. Add rules for bfdio.texi, bfdwin.text. * bfd.texinfo: Include bfdio.texi.