binutils-gdb/bfd
Joel Brobecker ceae87f3fe Use fputc in place of putc to avoid -Wunused-value warning (AIX).
Currently, bfd does not compile with -Wunused-value because
the following code:

        val = putc ('\n', f);

gets expanded into some code that triggers a warning:

        warning: value computed is not used [-Wunused-value]

This is because putc is implemented as a macro...

>#define putc(__x, __p)  (((!((__p)->_flag & 0xC000)) && \
>                        ((__p)->_flag = ((__p)->_flag  & 0x3FFF) | 0x8000)),\
>                        (--(__p)->_cnt < 0 ? \
>                        __flsbuf((unsigned char) (__x), (__p)) : \
>                        (int) (*(__p)->_ptr++ = (unsigned char) (__x))))

It's the first part, before the coma operator, which triggers
the unused-value warning.

This patch fixes the issue by simply avoiding the macro and using
fputc instead.

bfd/ChangeLog:

        * bfd.c (_bfd_default_error_handler): Replace use of putc
        by fputc.  Add comment explaining why.
2013-05-09 06:58:16 +00:00
..
doc * Makefile.am ($(MKDOC)): Append $(EXEEXT_FOR_BUILD) to temp file. 2013-04-15 03:31:29 +00:00
hosts Add Linux/x86_64 core support to i[3-7]86-*-linux 2012-10-30 08:36:10 +00:00
po * Makefile.am (BFD64_BACKENDS): Remove elf-nacl.lo. 2013-02-04 06:02:10 +00:00
.gitignore
acinclude.m4 Add copyright notices 2012-12-17 16:56:12 +00:00
aclocal.m4 Regenerate. 2012-11-08 03:03:26 +00:00
aix5ppc-core.c * aix5ppc-core.c: Define macros for the default architecture and 2008-04-18 09:22:24 +00:00
aix386-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
aout0.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
aout32.c update copyright dates 2009-09-02 07:25:43 +00:00
aout64.c update copyright dates 2009-09-02 07:25:43 +00:00
aout-adobe.c
aout-arm.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
aout-cris.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-ns32k.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-sparcle.c PR binutils/13558 2012-05-16 14:26:46 +00:00
aout-target.h PR binutils/14481 2012-11-07 05:51:37 +00:00
aout-tic30.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
aoutf1.h
aoutx.h PR binutils/13121 2012-05-01 16:07:36 +00:00
archive64.c * archive64.c (bfd_elf64_archive_write_armap): Fix calculation of 2013-03-04 09:21:43 +00:00
archive.c * archive.c (_bfd_archive_close_and_cleanup): Clear parent 2013-04-15 03:13:20 +00:00
archures.c * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
armnetbsd.c
bfd-in2.h * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
bfd-in.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
bfd.c Use fputc in place of putc to avoid -Wunused-value warning (AIX). 2013-05-09 06:58:16 +00:00
bfd.m4 Add copyright notices 2012-12-17 16:56:12 +00:00
bfdio.c PR binutils/14813 2013-01-14 13:14:08 +00:00
bfdwin.c * bfdwin.c (bfd_get_file_window): Fix memory leak. 2011-09-08 16:06:11 +00:00
binary.c include/ChangeLog 2011-07-11 15:03:09 +00:00
bout.c
cache.c PR binutils/14813 2013-01-14 13:14:08 +00:00
cf-i386lynx.c
cf-sparclynx.c update copyright dates 2009-09-02 07:25:43 +00:00
ChangeLog Use fputc in place of putc to avoid -Wunused-value warning (AIX). 2013-05-09 06:58:16 +00:00
ChangeLog-0001 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-0203 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 correct pr reference 2013-02-04 05:10:44 +00:00
ChangeLog-9193 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-9495 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-9697 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-9899 Add copyright notices 2012-12-10 12:48:03 +00:00
cisco-core.c * cisco-core.c (cisco_core_file_failing_command): Make static. 2012-07-23 13:19:28 +00:00
coff64-rs6000.c dangling pointer in coff64-rs6000 archive cache. 2012-10-16 22:56:55 +00:00
coff-alpha.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coff-apollo.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-arm.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
coff-aux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-go32.c update copyright dates 2009-09-02 07:25:43 +00:00
coff-h8300.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
coff-h8500.c Remove trailing redundant `;' 2012-11-09 08:29:34 +00:00
coff-i386.c ChangeLog bfd 2012-10-18 17:42:29 +00:00
coff-i860.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coff-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-ia64.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-m68k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-m88k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-mcore.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-mips.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coff-or32.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-ppc.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coff-rs6000.c Dangling bfd pointer in archive cache. 2012-10-16 22:47:03 +00:00
coff-sh.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-sparc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-stgo32.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-svm68k.c update copyright dates 2009-09-02 07:25:43 +00:00
coff-tic4x.c bfd/ 2012-11-06 05:51:18 +00:00
coff-tic30.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-tic54x.c include/coff/ 2013-02-04 05:25:41 +00:00
coff-tic80.c include/coff/ 2013-02-04 05:25:41 +00:00
coff-u68k.c
coff-w65.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
coff-we32k.c
coff-x86_64.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coff-z8k.c * pe-arm-wince.c (pe_print_compressed_pdata): Define new function to 2008-07-18 11:30:22 +00:00
coff-z80.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coffcode.h * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
coffgen.c * coffgen.c (coff_real_object_p): Make global. 2013-03-21 14:07:08 +00:00
cofflink.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
coffswap.h
compress.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
config.bfd * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
config.in * config.in: Disable sanity check for kfreebsd. 2012-09-10 22:30:57 +00:00
configure * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
configure.com Add copyright notices 2012-12-17 16:56:12 +00:00
configure.host Add copyright notices 2012-12-17 16:56:12 +00:00
configure.in * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
COPYING Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
corefile.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-aarch64.c Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
cpu-alpha.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-arc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-arm.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-avr.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-bfin.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-cr16.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-cr16c.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-cris.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-crx.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-d10v.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-d30v.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-dlx.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-epiphany.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-fr30.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-frv.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-h8300.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-h8500.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-hppa.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i370.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i386.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-i860.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-ia64-opc.c Add Intel Itanium Series 9500 support 2012-09-04 13:52:06 +00:00
cpu-ia64.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-ip2k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-iq2000.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-k1om.c Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
cpu-l1om.c Don't use multi byte nop instructions for i386 2012-02-09 22:51:58 +00:00
cpu-lm32.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-m9s12x.c * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
cpu-m9s12xg.c * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
cpu-m32c.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m32r.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68hc11.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68hc12.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m68k.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-m88k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m10200.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-m10300.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-mcore.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-mep.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-metag.c * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
cpu-microblaze.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-mips.c * archures.c: Add support for MIPS r5900 2013-01-04 17:22:53 +00:00
cpu-mmix.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-moxie.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-msp430.c * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
cpu-mt.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-nios2.c 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
cpu-ns32k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-openrisc.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-or32.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-pdp11.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-pj.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-plugin.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-powerpc.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-rl78.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-rs6000.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-rx.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-s390.c 2012-07-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-27 15:56:43 +00:00
cpu-score.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-sh.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-sparc.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-spu.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic4x.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-tic6x.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic30.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic54x.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tic80.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-tilegx.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-tilepro.c PR binutils/13558 2012-05-16 14:26:46 +00:00
cpu-v850_rh850.c Add support for V850E3V5 architecture 2013-01-24 11:14:05 +00:00
cpu-v850.c Add support for V850E3V5 architecture 2013-01-24 11:14:05 +00:00
cpu-vax.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-w65.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
cpu-we32k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-xc16x.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
cpu-xgate.c Add support for Motorola XGATE embedded CPU 2012-05-03 13:04:57 +00:00
cpu-xstormy16.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-xtensa.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-z8k.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
cpu-z80.c Support arch-dependent fill 2012-01-31 17:54:39 +00:00
demo64.c update copyright dates 2009-09-02 07:25:43 +00:00
dep-in.sed * dep-in.sed: Don't use \n in replacement part of s command. 2009-06-04 06:51:11 +00:00
dwarf1.c PR 11103 2010-01-11 09:53:27 +00:00
dwarf2.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
ecoff.c * ecoff.c: casting the return value of BFD_ALIGN to int 2013-04-24 13:19:27 +00:00
ecofflink.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
ecoffswap.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-am33lin.c * elf-bfd.h (struct core_elf_obj_tdata): New. 2013-02-21 03:02:30 +00:00
elf32-arc.c Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
elf32-arm.c bfd/efl32-arm.c: Fix handling of IRELATIVE relocs. 2013-04-29 09:48:32 +00:00
elf32-avr.c PR ld/12494 2013-04-09 15:50:38 +00:00
elf32-avr.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-bfin.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-cr16.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-cr16c.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-cris.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-crx.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-d10v.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-d30v.c Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
elf32-dlx.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-epiphany.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-fr30.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-frv.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-gen.c
elf32-h8300.c PR ld/14902 2013-03-22 15:53:36 +00:00
elf32-hppa.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
elf32-hppa.h update copyright dates 2009-09-02 07:25:43 +00:00
elf32-i370.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-i386.c bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs. 2013-05-07 17:03:52 +00:00
elf32-i860.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-i960.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-ip2k.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-iq2000.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-lm32.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-m32c.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-m32r.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
elf32-m68hc1x.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-m68hc1x.h * elf32-m68hc1x.c (elf32_m68hc11_merge_symbol_attribute): New function. 2012-02-13 02:29:51 +00:00
elf32-m68hc11.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m68hc12.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf32-m68k.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-m88k.c
elf32-mcore.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-mep.c * elf-bfd.h (RELOC_AGAINST_DISCARDED_SECTION): Handle compound 2012-05-07 03:27:52 +00:00
elf32-metag.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-metag.h * common.h: Fix case of "Meta". 2013-01-10 09:49:22 +00:00
elf32-microblaze.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-mips.c bfd/ 2013-05-04 09:33:08 +00:00
elf32-moxie.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-msp430.c * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
elf32-mt.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-nios2.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-openrisc.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-or32.c Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
elf32-pj.c
elf32-ppc.c * elf32-ppc.c (ppc_elf_check_relocs): Use SYMBOLIC_BIND. 2013-04-06 06:44:45 +00:00
elf32-ppc.h bfd/ 2012-05-19 06:58:48 +00:00
elf32-rl78.c * elf32-rl78.c (GET_RELOC): Assert that there are relocs to get. 2013-04-02 23:29:51 +00:00
elf32-rx.c bfd/ 2013-02-21 02:29:11 +00:00
elf32-s390.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-score7.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-score.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-score.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-sh64-com.c update copyright dates 2009-09-02 07:25:43 +00:00
elf32-sh64.c
elf32-sh64.h update copyright dates 2009-09-02 07:25:43 +00:00
elf32-sh-relocs.h
elf32-sh-symbian.c * elf-bfd.h (_bfd_elf_merge_symbol): Delete declaration. 2013-03-23 10:25:02 +00:00
elf32-sh.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-sparc.c * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. 2013-03-27 13:37:51 +00:00
elf32-spu.c bfd/ 2013-02-21 02:29:11 +00:00
elf32-spu.h bfd/ 2009-08-05 20:40:34 +00:00
elf32-tic6x.c * ecoff.c: casting the return value of BFD_ALIGN to int 2013-04-24 13:19:27 +00:00
elf32-tic6x.h include/elf/ 2011-03-31 08:58:28 +00:00
elf32-tilegx.c * elf-bfd.h (struct core_elf_obj_tdata): New. 2013-02-21 03:02:30 +00:00
elf32-tilegx.h
elf32-tilepro.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-tilepro.h * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
elf32-v850.c * ecoff.c: casting the return value of BFD_ALIGN to int 2013-04-24 13:19:27 +00:00
elf32-vax.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-xc16x.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
elf32-xgate.c * elfcode.h (elf_checksum_contents): Free contents. 2013-02-11 05:30:54 +00:00
elf32-xgate.h Add support for Motorola XGATE embedded CPU 2012-05-03 13:04:57 +00:00
elf32-xstormy16.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32-xtensa.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf32.c
elf64-aarch64.c * elf64-aarch64.c (elf64_aarch64_check_relocs): Move relocation 2013-04-29 08:33:51 +00:00
elf64-alpha.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-gen.c
elf64-hppa.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-hppa.h
elf64-ia64-vms.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-mips.c 2013-05-06 Paul Brook <paul@codesourcery.com> 2013-05-06 15:25:45 +00:00
elf64-mmix.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-ppc.c * elf64-ppc.c (opd_entry_value): Handle case where symbol 2013-05-06 09:32:55 +00:00
elf64-ppc.h bfd/ 2013-04-22 03:11:40 +00:00
elf64-s390.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-sh64.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf64-sparc.c * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. 2013-03-27 13:37:51 +00:00
elf64-tilegx.c * elf-bfd.h (struct core_elf_obj_tdata): New. 2013-02-21 03:02:30 +00:00
elf64-tilegx.h
elf64-x86-64.c bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs. 2013-05-07 17:03:52 +00:00
elf64.c
elf-attrs.c PR binutils/14873 2013-02-07 03:44:26 +00:00
elf-bfd.h bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs. 2013-05-07 17:03:52 +00:00
elf-eh-frame.c bfd/ 2013-02-21 02:29:11 +00:00
elf-hppa.h * aout-arm.c (MY(bfd_reloc_type_lookup)): Use bfd_arch_bits_per_address. 2010-08-25 07:02:40 +00:00
elf-ifunc.c bfd/elf-ifunc.c: Add header size arg to _bfd_elf_allocate_ifunc_dyn_relocs. 2013-05-07 17:03:52 +00:00
elf-linux-psinfo.h 2013-02-04 Sergio Durigan Junior <sergiodj@redhat.com> 2013-02-04 18:26:34 +00:00
elf-m10200.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
elf-m10300.c PR ld/15323 2013-03-30 10:14:15 +00:00
elf-nacl.c bfd/ 2013-02-21 02:29:11 +00:00
elf-nacl.h bfd/ 2012-04-03 16:01:38 +00:00
elf-s390-common.c 2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2012-07-13 15:47:27 +00:00
elf-strtab.c PR ld/12549 2013-02-18 10:40:19 +00:00
elf-vxworks.c bfd/ 2013-02-21 02:29:11 +00:00
elf-vxworks.h update copyright dates 2009-09-02 07:25:43 +00:00
elf.c * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. 2013-03-27 13:37:51 +00:00
elfcode.h bfd/ 2013-02-21 02:29:11 +00:00
elfcore.h * elf-bfd.h (struct core_elf_obj_tdata): New. 2013-02-21 03:02:30 +00:00
elflink.c * elflink.c (elf_link_add_object_symbols): Don't omit reading 2013-05-08 23:31:38 +00:00
elfn32-mips.c 2013-05-06 Paul Brook <paul@codesourcery.com> 2013-05-06 15:25:45 +00:00
elfnn-ia64.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
elfxx-ia64.c
elfxx-ia64.h
elfxx-mips.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
elfxx-mips.h bfd/ 2012-12-03 16:17:48 +00:00
elfxx-sparc.c PR ld/15323 2013-03-30 10:14:15 +00:00
elfxx-sparc.h Annotate sparc objects with cpu hardware capabilities used. 2011-09-21 20:49:16 +00:00
elfxx-target.h * elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Provide 2013-02-11 22:15:53 +00:00
elfxx-tilegx.c PR ld/15323 2013-03-30 10:14:15 +00:00
elfxx-tilegx.h * elf-bfd.h (enum elf_reloc_type_class): Add reloc_class_ifunc. 2013-03-27 13:37:51 +00:00
epoc-pe-arm.c
epoc-pei-arm.c
format.c * archive.c (bfd_generic_archive_p): Return target and keep 2013-01-28 07:58:16 +00:00
freebsd.h
gen-aout.c
genlink.h
go32stub.h
hash.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
host-aout.c
hp300bsd.c
hp300hpux.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
hppabsd-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
hpux-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386aout.c
i386bsd.c
i386dynix.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386freebsd.c update copyright dates 2009-09-02 07:25:43 +00:00
i386linux.c * i386linux.c (linux_link_hash_table_create): Allocate table 2013-02-10 04:01:15 +00:00
i386lynx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386mach3.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386msdos.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
i386netbsd.c
i386os9k.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
ieee.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
ihex.c
init.c
irix-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
libaout.h
libbfd-in.h * elfcode.h (elf_checksum_contents): Free contents. 2013-02-11 05:30:54 +00:00
libbfd.c 2012-07-24 Teresa Johnson <tejohnson@google.com> 2012-07-24 21:06:58 +00:00
libbfd.h * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
libcoff-in.h ChangeLog bfd 2012-10-18 17:42:29 +00:00
libcoff.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
libecoff.h
libhppa.h
libieee.h update copyright dates 2009-09-02 07:25:43 +00:00
libnlm.h Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
liboasys.h
libpei.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
libxcoff.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
linker.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
lynx-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
m68k4knetbsd.c
m68klinux.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
m68knetbsd.c
m88kmach3.c
m88kopenbsd.c update copyright dates 2009-09-02 07:25:43 +00:00
mach-o-i386.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
mach-o-target.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
mach-o-x86-64.c correct some mach-o section specification nits. 2012-02-10 11:07:33 +00:00
mach-o.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
mach-o.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
MAINTAINERS Add copyright notices 2012-12-17 16:56:12 +00:00
Makefile.am 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
Makefile.in 2013-02-06 Sandra Loosemore <sandra@codesourcery.com> 2013-02-06 23:22:26 +00:00
makefile.vms Add copyright notices 2012-12-17 16:56:12 +00:00
mep-relocs.pl
merge.c * elfcode.h (elf_checksum_contents): Free contents. 2013-02-11 05:30:54 +00:00
mipsbsd.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
mmo.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
netbsd-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
netbsd.h
newsos3.c include/aout/ 2009-10-02 14:40:41 +00:00
nlm32-alpha.c
nlm32-i386.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
nlm32-ppc.c PR binutils/13558 2012-05-16 14:26:46 +00:00
nlm32-sparc.c
nlm32.c
nlm64.c
nlm-target.h
nlm.c update copyright dates 2009-09-02 07:25:43 +00:00
nlmcode.h
nlmswap.h Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
ns32k.h Switch sources over to use the GPL version 3 2007-07-03 14:26:43 +00:00
ns32knetbsd.c PR binutils/13558 2012-05-16 14:26:46 +00:00
oasys.c bfd/ 2012-02-11 15:10:12 +00:00
opncls.c * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
osf-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
pc532-mach.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
pdp11.c * i386linux.c (linux_link_hash_table_create): Allocate table 2013-02-10 04:01:15 +00:00
pe-arm-wince.c
pe-arm.c ChangeLog bfd 2012-10-18 17:42:29 +00:00
pe-i386.c ChangeLog bfd 2012-10-18 17:42:29 +00:00
pe-mcore.c
pe-mips.c
pe-ppc.c
pe-sh.c
pe-x86_64.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
pef-traceback.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
pef.c * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, 2013-01-26 02:08:01 +00:00
pef.h PR binutils/13558 2012-05-16 14:26:46 +00:00
pei-arm-wince.c
pei-arm.c update copyright dates 2009-09-02 07:25:43 +00:00
pei-i386.c
pei-ia64.c
pei-mcore.c
pei-mips.c
pei-ppc.c
pei-sh.c update copyright dates 2009-09-02 07:25:43 +00:00
pei-x86_64.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
peicode.h * coffcode.h: Added a cast to void when a bfd_set_section_*() 2013-04-17 14:16:01 +00:00
peXXigen.c * coffgen.c (coff_real_object_p): Make global. 2013-03-21 14:07:08 +00:00
plugin.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
plugin.h
PORTING Add copyright notices 2012-12-17 16:56:12 +00:00
ppcboot.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
ptrace-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
README Add copyright notices 2012-12-17 16:56:12 +00:00
reloc16.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
reloc.c * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
riscix.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
rs6000-core.c
sco5-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
section.c * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, 2013-01-26 02:08:01 +00:00
simple.c
som.c PR symtab/8423: 2013-04-08 20:08:21 +00:00
som.h PR symtab/8423: 2013-04-08 20:08:21 +00:00
sparclinux.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
sparclynx.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
sparcnetbsd.c
srec.c include/ChangeLog 2011-07-11 15:03:09 +00:00
stab-syms.c PR binutils/13558 2012-05-16 14:26:46 +00:00
stabs.c Updated soruces in bfd/* to compile cleanly with -Wc++-compat. 2009-09-09 21:38:59 +00:00
stamp-h.in
sunos.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
syms.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
sysdep.h PR 14072 2012-05-17 15:13:28 +00:00
targets.c * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
targmatch.sed
tekhex.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
ticoff.h Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
TODO Add copyright notices 2012-12-17 16:56:12 +00:00
trad-core.c * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
vax1knetbsd.c
vaxbsd.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
vaxnetbsd.c
verilog.c
versados.c Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section 2012-05-05 03:05:32 +00:00
version.h daily update 2013-05-09 00:00:05 +00:00
vms-alpha.c * ecoff.c: casting the return value of BFD_ALIGN to int 2013-04-24 13:19:27 +00:00
vms-lib.c PR binutils/14813 2013-01-14 13:14:08 +00:00
vms-misc.c 2011-06-27 Tristan Gingold <gingold@adacore.com> 2011-06-27 08:24:21 +00:00
vms.h
warning.m4 Add copyright notices 2012-12-17 16:56:12 +00:00
xcofflink.c * coff-arm.c (coff_arm_link_hash_table_create): Use bfd_zmalloc. 2013-02-10 04:36:33 +00:00
xsym.c * bfd.c (struct bfd_preserve, bfd_preserve_save, bfd_preserve_restore, 2013-01-26 02:08:01 +00:00
xsym.h * aix386-core.c: Remove use of PTR and PARAMS macros. 2012-07-13 14:22:50 +00:00
xtensa-isa.c Remove trailing white spaces in bfd 2013-01-10 20:03:55 +00:00
xtensa-modules.c 2010-05-28 Sterling Augustine <sterling@tensilica.com> 2010-05-28 18:10:45 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

BFD is an object file library.  It permits applications to use the
same routines to process object files regardless of their format.

BFD is used by the GNU debugger, assembler, linker, and the binary
utilities.

The documentation on using BFD is scanty and may be occasionally
incorrect.  Pointers to documentation problems, or an entirely
rewritten manual, would be appreciated.

There is some BFD internals documentation in doc/bfdint.texi which may
help programmers who want to modify BFD.

BFD is normally built as part of another package.  See the build
instructions for that package, probably in a README file in the
appropriate directory.

BFD supports the following configure options:

  --target=TARGET
	The default target for which to build the library.  TARGET is
	a configuration target triplet, such as sparc-sun-solaris.
  --enable-targets=TARGET,TARGET,TARGET...
	Additional targets the library should support.  To include
	support for all known targets, use --enable-targets=all.
  --enable-64-bit-bfd
	Include support for 64 bit targets.  This is automatically
	turned on if you explicitly request a 64 bit target, but not
	for --enable-targets=all.  This requires a compiler with a 64
	bit integer type, such as gcc.
  --enable-shared
	Build BFD as a shared library.
  --with-mmap
	Use mmap when accessing files.  This is faster on some hosts,
	but slower on others.  It may not work on all hosts.

Report bugs with BFD to bug-binutils@gnu.org.

Patches are encouraged.  When sending patches, always send the output
of diff -u or diff -c from the original file to the new file.  Do not
send default diff output.  Do not make the diff from the new file to
the original file.  Remember that any patch must not break other
systems.  Remember that BFD must support cross compilation from any
host to any target, so patches which use ``#ifdef HOST'' are not
acceptable.  Please also read the ``Reporting Bugs'' section of the
gcc manual.

Bug reports without patches will be remembered, but they may never get
fixed until somebody volunteers to fix them.

Copyright (C) 2012 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.