aboutsummaryrefslogtreecommitdiff
path: root/bfd/sysdep.h
AgeCommit message (Collapse)AuthorFilesLines
2017-01-02Update year range in copyright notice of all files.Alan Modra1-1/+1
2016-01-01Copyright update for binutilsAlan Modra1-1/+1
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-1/+1
2014-03-14Fix build time problem with MingGW hosts, which do not have a strnlen() ↵Nick Clifton1-0/+4
function. 2014-03-13 Meador Inge <meadori@codesourcery.com> * configure.in: Add strnlen to AC_CHECK_DECLS. * config.in: Regenerate. * configure: Regenerate. * sysdep.h (strnlen): Add prototype. * dwarf.c (strnlen): Move prototype ... * sysdep.h (strnlen): ... to here.
2014-03-05Update copyright yearsAlan Modra1-2/+1
2013-05-27bfd: Make bfd_cache_max_open depend on actual open file limit.Mark Wielaard1-0/+4
The current hard coded limit of open files in bfd/cache.c is 10. This is pretty low these days. Binaries are often linked against much more than 10 files (and sometimes against more than 100 shared libraries). When debugging with GDB some files are opened and closed multiple times because of this low limit. If possible make the BFD cache file limit depend on the actual open file limit of the process so more BFD files can be open at the same time. * cache.c (BFD_CACHE_MAX_OPEN): Remove define. (max_open_files): New static int initialized to zero. (bfd_cache_max_open): New static function to set and return max_open_files. (bfd_cache_init): Use bfd_cache_max_open. (bfd_open_file): Likewise. * configure.in (AC_CHECK_HEADERS): Add sys/resource.h. (AC_CHECK_FUNCS): Add getrlimit. * configure: Regenerated. * config.in: Likewise. * sysdep.h: Check and include sys/resource.h for getrlimit.
2012-05-17 PR 14072Nick Clifton1-0/+4
* configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * alpha-opc.c: Include sysdep.h before any other header file. * alpha-dis.c: Likewise. * avr-dis.c: Likewise. * cgen-opc.c: Likewise. * cr16-dis.c: Likewise. * cris-dis.c: Likewise. * crx-dis.c: Likewise. * d10v-dis.c: Likewise. * d10v-opc.c: Likewise. * d30v-dis.c: Likewise. * d30v-opc.c: Likewise. * h8500-dis.c: Likewise. * i370-dis.c: Likewise. * i370-opc.c: Likewise. * m10200-dis.c: Likewise. * m10300-dis.c: Likewise. * micromips-opc.c: Likewise. * mips-opc.c: Likewise. * mips61-opc.c: Likewise. * moxie-dis.c: Likewise. * or32-opc.c: Likewise. * pj-dis.c: Likewise. * ppc-dis.c: Likewise. * ppc-opc.c: Likewise. * s390-dis.c: Likewise. * sh-dis.c: Likewise. * sh64-dis.c: Likewise. * sparc-dis.c: Likewise. * sparc-opc.c: Likewise. * spu-dis.c: Likewise. * tic30-dis.c: Likewise. * tic54x-dis.c: Likewise. * tic80-dis.c: Likewise. * tic80-opc.c: Likewise. * tilegx-dis.c: Likewise. * tilepro-dis.c: Likewise. * v850-dis.c: Likewise. * v850-opc.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * xgate-dis.c: Likewise. * xtensa-dis.c: Likewise. * rl78-decode.opc: Likewise. * rl78-decode.c: Regenerate. * rx-decode.opc: Likewise. * rx-decode.c: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * sysdep.h: Generate an error if included before config.h. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * bfd-in.h: Generate an error if included before config.h. * sysdep.h: Likewise. * bfd-in2.h: Regenerate. * compress.c: Remove #include "config.h". * plugin.c: Likewise. * elf32-m68hc1x.c: Include sysdep.h before alloca-conf.h. * elf64-hppa.c: Likewise. * som.c: Likewise. * xsymc.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * aclocal.m4: Regenerate. * Makefile.am: Use wrappers around C files generated by flex. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * itbl-lex-wrapper.c: New file. * config/bfin-lex-wrapper.c: New file. * cgen.c: Include as.h before setjmp.h. * config/tc-dlx.c: Include as.h before any other header. * config/tc-h8300.c: Likewise. * config/tc-lm32.c: Likewise. * config/tc-mep.c: Likewise. * config/tc-microblaze.c: Likewise. * config/tc-mmix.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-xtensa.c: Likewise. * configure.in: Add check that sysdep.h has been included before any system header files. * configure: Regenerate. * config.in: Regenerate. * unwind-ia64.h: Include config.h.
2009-09-02update copyright datesAlan Modra1-1/+1
2007-07-03Switch sources over to use the GPL version 3Nick Clifton1-15/+16
2007-04-26bfd/Alan Modra1-3/+3
* sysdep.h: Include config.h first. Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2007-04-25 * sysdep.h: Revert last change.Alan Modra1-0/+2
2007-04-24 * acinclude.m4: Include config/stdint.m4.Alan Modra1-2/+0
* configure.in: Invoke GCC_HEADER_STDINT. * sysdep.h: Don't include ansidecl.h here. * configure: Regenerate. * config.in: Regenerate. * Makefile.in: Regenerate.
2005-05-05Fix ia64-hpux build failure, patch from Steve Ellcey.Jim Wilson1-0/+5
* configure.in (ACX_HEADER_STRING): New. * configure: Regenerate. * config.in: Regenerate. * sysdep.h (STRING_WITH_STRINGS): Use.
2005-05-05 * Makefile.am (INCLUDES): Don't -D_GNU_SOURCE here.Hans-Peter Nilsson1-3/+1
* configure.in: Call AC_GNU_SOURCE here, after AC_PROG_CC. * configure, config.in, Makefile.in: Regenerate. * sysdep.h (stpcpy): Revert last change.
2005-05-04 * sysdep.h (stpcpy): Wrap declaration in parentheses.Hans-Peter Nilsson1-1/+3
2005-05-042005-05-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-0/+4
* configure.in: Add AC_CHECK_DECLS(stpcpy). * configure: Regenerated. * config.in: Likewise. * sysdep.h (stpcpy): New.
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-04-22 * configure.in: Replace BFD_NEED_DECLARATION checks by theJerome Guitton1-6/+6
corresponding AC_CHECK_DECLS. * sysdep.h: Replace NEED_DECLARATION_* checks by the corresponding HAVE_DECL_*. * bfd.m4 (BFD_NEED_DECLARATION): Remove, obsolete. * configure: Regenerate. * config.in: Ditto.
2005-04-20 * configure.in: Fix the check for basename declaration. Add checkJerome Guitton1-0/+24
for declarations of ftello, ftello64, fseeko, fseeko64. * configure: Regenerate. * config.in: Ditto. * sysdep.h: If needed, declare ftello, ftello64, fseeko, fseeko64.
2005-03-30 * configure.in: Check for ffs decl and alphabetize.Aaron W. LaFramboise1-8/+12
* config.in: Regenerate. * configure: Regenerate. * sysdep.h [NEED_DECLARATION_FFS] (ffs): Prototype and alphabetize.
2003-11-04 * aout-target.h, aoutf1.h, bfdio.c, bfdwin.c: Update copyright date.Alan Modra1-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.
2001-08-19 * archive.c (offsetof): Remove define.Alan Modra1-0/+6
* elf.c: Likewise. * oasys.c: Likewise * sysdep.h (offsetof): Define.
2001-03-08Update copyright noticesNick Clifton1-1/+2
2000-12-202000-12-19 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-1/+1
* sco5-core.c: Fix formatting. * section.c: Likewise. * sparclinux.c: Likewise. * sparclynx.c: Likewise. * sparcnetbsd.c: Likewise. * srec.c: Likewise. * stabs.c: Likewise. * stab-syms.c: Likewise. * sunos.c: Likewise. * syms.c: Likewise. * sysdep.h: Likewise.
2000-05-31Add comment describoing why dgettext() is used in _() macro.Nick Clifton1-0/+12
2000-05-26Eli Zaretskii's DOSish file name patches.Alan Modra1-9/+10
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+144