8sa1-binutils-gdb/bfd
Jim Wilson 330a6637a5 RISC-V: Report unresolved relocation error via linker's callback function.
Two patches from Nelson Chu.

It is better to use the linker's callback functions to handle the link time
error when relocating.  The unresolved relocation error can be regarded as
an unsupported relocation.  To make user easier to understand different errors,
we need to extend the current error message format of the callback function
since the format is fixed.

	bfd/
	* elfnn-riscv.c (riscv_elf_relocate_section): Use asprintf to extend
	the error message if needed, and then store the result into the
	`msg_buf`.  Finally, remember to free the unused `msg_buf`.  All error
	message for the dangerous relocation should be set before we call the
	callback function.  If we miss the error message since linker runs out
	of memory, we should set the default error message for the error.

	ld/
	* testsuite/ld-riscv-elf/lib-nopic-01a.s: Create the shared library
	lib-nopic-01a.so, it will be linked with lib-nopic-01b.s.
	* testsuite/ld-riscv-elf/lib-nopic-01b.s: Add new test for the
	unresolved relocation.  Link the non-pic code into a shared library
	may cause the error.
	* testsuite/ld-riscv-elf/lib-nopic-01b.d: Likewise.
	* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Run the new test only when
	the shared library is supported.

R_RISCV_CALL, R_RISCV_JAL and R_RISCV_RVC_JUMP are pc-relative relocation.
For now, we do not allow the object with these relocation links into a shared
library since the referenced symbols may be loaded to the places that too far
from the pc.  We can improve the error message for these unsupported relocation
to notice user that they should recompile their code with `fPIC`.

	bfd/
	* elfnn-riscv.c (riscv_elf_relocate_section): Report the error message
	that user should recompile their code with `fPIC` when linking non-pic
	code into shared library.

	ld/
	* testsuite/ld-riscv-elf/lib-nopic-01b.d: Update the error message.

Change-Id: Ib3347a0a6fa1c2b20a9647c314d5bec2c322ff04
2019-10-17 15:38:27 -07:00
..
doc Re-generate many configure and Makefile.in files 2019-09-18 09:09:15 -04:00
hosts Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
po bfd Makefile update 2019-09-23 10:27:22 +09:30
.gitignore
acinclude.m4 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aclocal.m4
aix5ppc-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aix386-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-cris.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
aout-ns32k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-target.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
aout-tic30.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
aoutx.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
arc-got.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
arc-plt.def Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
arc-plt.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
archive64.c Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
archive.c bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
archures.c Constify bfd_octets_per_byte and related functions 2019-09-18 22:20:13 +09:30
bfd-in2.h linker bfd.h tidy 2019-09-23 10:27:22 +09:30
bfd-in.h linker bfd.h tidy 2019-09-23 10:27:22 +09:30
bfd.c Simplify power of two test 2019-10-15 16:00:54 +10:30
bfd.m4 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
bfdio.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
bfdwin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
binary.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
cache.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cf-i386lynx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ChangeLog RISC-V: Report unresolved relocation error via linker's callback function. 2019-10-17 15:38:27 -07:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018 ChangeLog rotation 2019-01-01 21:25:40 +10:30
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff64-rs6000.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-alpha.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-bfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-bfd.h coff bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-go32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-i386.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
coff-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-mips.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coff-ppc.c Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
coff-rs6000.c xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-stgo32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic4x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic30.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-tic54x.c tic54x bfd.h tidy 2019-09-23 10:27:21 +09:30
coff-tic80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-x86_64.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
coff-z8k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-z80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coffcode.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
coffgen.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
cofflink.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
coffswap.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
compress.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
config.bfd Plugin target handling 2019-06-28 10:18:49 +09:30
config.in elf32-nds32: Don't define fls if it is provided by the system 2018-09-21 10:27:30 -04:00
configure Re-generate many configure and Makefile.in files 2019-09-18 09:09:15 -04:00
configure.ac Plugin target handling 2019-06-28 10:18:49 +09:30
configure.com Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
configure.host Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
COPYING
corefile.c bfd_get_filename 2019-09-06 12:22:59 +09:30
cpu-aarch64.c aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-aarch64.h aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-alpha.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-arc.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-avr.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-bfin.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-bpf.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cr16.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cr16c.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-cris.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-crx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-csky.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-d10v.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-d30v.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-dlx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-epiphany.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-fr30.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-frv.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ft32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-h8300.c h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-h8300.h h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
cpu-hppa.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-i386.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ia64-opc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ia64.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-iamcu.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ip2k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-iq2000.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-k1om.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-l1om.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-lm32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m9s12x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m9s12xg.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m32c.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m32r.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68hc11.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68hc12.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m68k.c m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
cpu-m68k.h m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
cpu-m10200.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-m10300.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mcore.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mep.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-metag.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-microblaze.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mips.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mmix.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-moxie.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-msp430.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-mt.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nds32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nfp.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-nios2.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-ns32k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-or1k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-pdp11.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-pj.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-plugin.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-powerpc.c PR13616, linker should pad executable sections with nops, not zeros 2019-10-16 23:07:27 +10:30
cpu-pru.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-riscv.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rl78.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rs6000.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-rx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-s12z.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-s390.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-score.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-sh.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-sparc.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-spu.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic4x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic6x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic30.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic54x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tic80.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tilegx.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-tilepro.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-v850_rh850.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-v850.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-vax.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-visium.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-wasm32.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xc16x.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xgate.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xstormy16.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-xtensa.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-z8k.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
cpu-z80.c Enhance the disassembler so that it will reliably determine whether a reloc applies to the middle of the next insn. 2019-09-10 15:20:58 +01:00
dep-in.sed
development.sh Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
dwarf1.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
dwarf2.c qsort: dwarf2.c 2019-10-14 16:47:13 +10:30
ecoff-bfd.h ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecoff.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecofflink.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
ecoffswap.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-am33lin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-arc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-arm.c remove more xmalloc in bfd 2019-10-15 16:50:32 +10:30
elf32-arm.h arm bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-avr.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-avr.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-bfin.c bfin bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-bfin.h bfin bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16.c cr16 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16.h cr16 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-cr16c.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-cris.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-crx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-csky.c csky bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-csky.h csky bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-d10v.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-d30v.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-dlx.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-dlx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-epiphany.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-fr30.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-frv.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-ft32.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-h8300.c h8300 bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-hppa.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-i386.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-ip2k.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-iq2000.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-lm32.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m32c.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m32r.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-m68hc1x.c m68hc1x: better arg checking for reloc_warning 2019-10-15 23:25:11 +10:30
elf32-m68hc1x.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m68hc11.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-m68hc12.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-m68k.c m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
elf32-m68k.h m68k bfd.h tidy 2019-09-23 10:27:22 +09:30
elf32-mcore.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-mep.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-metag.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-metag.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-microblaze.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-mips.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
elf32-moxie.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-msp430.c Add support for new functionality in the msp430 backend of GCC. 2019-10-07 16:34:31 +01:00
elf32-mt.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-nds32.c remove more xmalloc in bfd 2019-10-15 16:50:32 +10:30
elf32-nds32.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-nios2.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-nios2.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-or1k.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-pj.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-ppc.c PowerPC TLS miscounting PLT for __tls_get_addr 2019-10-07 13:21:02 +10:30
elf32-ppc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-pru.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rl78.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-rx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-s12z.c ELF final_write_processing 2019-07-23 18:22:02 +09:30
elf32-s390.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score7.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-score.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-sh-relocs.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-sh.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-sparc.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-spu.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-spu.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tic6x.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-tic6x.h tic6x bfd.h tidy 2019-09-23 10:27:21 +09:30
elf32-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tilepro.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-tilepro.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-v850.c v850 bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-v850.h v850 bfd.h tidy 2019-09-23 10:27:20 +09:30
elf32-vax.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-visium.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-wasm32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-xc16x.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf32-xgate.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elf32-xstormy16.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32-xtensa.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-alpha.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
elf64-bpf.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-hppa.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-ia64-vms.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-mmix.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-nfp.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-ppc.c PR25100, Compile fails in elf64-ppc.c because of single equal sign instead of double equal for comparison 2019-10-15 16:01:05 +10:30
elf64-ppc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-s390.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-sparc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-x86-64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-attrs.c Don't emit vendor attribute section if there is no attribute to emit. 2019-01-16 13:37:35 -08:00
elf-bfd.h bfd, ld: add CTF section linking 2019-10-03 17:04:56 +01:00
elf-eh-frame.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-hppa.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-ifunc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-linker-x86.h x86: Add -z cet-report=[none|warning|error] 2019-04-11 08:21:30 -07:00
elf-linux-core.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-m10200.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-m10300.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-nacl.c Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf-nacl.h Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf-properties.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-s390-common.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-s390.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-strtab.c qsort issues 2019-10-14 16:47:12 +10:30
elf-vxworks.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-vxworks.h Complain about mbind, ifunc, and unique in final_write 2019-07-24 16:12:02 +09:30
elf.c qsort: elf_sort_sections use of target_index 2019-10-14 16:47:13 +10:30
elfcode.h PR24955, libbfd terminating program on out of memory 2019-09-05 11:33:34 +09:30
elfcore.h Don't use bfd_get_* macro to set bfd fields 2019-09-18 22:21:58 +09:30
elflink.c qsort: elf_link_add_object_symbols weak aliases 2019-10-14 16:47:13 +10:30
elfn32-mips.c bfd_asymbol_* macros 2019-09-18 23:07:31 +09:30
elfnn-aarch64.c aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfnn-ia64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfnn-riscv.c RISC-V: Report unresolved relocation error via linker's callback function. 2019-10-17 15:38:27 -07:00
elfxx-aarch64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-aarch64.h aarch64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfxx-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-ia64.h ia64 bfd.h tidy 2019-09-23 10:27:21 +09:30
elfxx-mips.c ecoff bfd.h tidy 2019-09-23 10:27:22 +09:30
elfxx-mips.h mips bfd.h tidy 2019-09-23 10:27:20 +09:30
elfxx-riscv.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elfxx-riscv.h RISC-V: Support ELF attribute for gas and readelf. 2019-01-16 13:14:59 -08:00
elfxx-sparc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-sparc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-target.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
elfxx-tilegx.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-x86.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
elfxx-x86.h x86: Also check x86 linker_def for non-shared definition 2019-04-17 09:08:46 -07:00
format.c Plugin target handling 2019-06-28 10:18:49 +09:30
gen-aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
genlink.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
go32stub.h
hash.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
host-aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hppabsd-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hpux-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386aout.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386bsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386lynx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
i386msdos.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
ihex.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
init.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
irix-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libaout.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd-in.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libbfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libcoff-in.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libcoff.h Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
libecoff.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libhppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libpei.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libxcoff.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
linker.c PR13616, linker should pad executable sections with nops, not zeros 2019-10-16 23:07:27 +10:30
lynx-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-aarch64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-arm.c Ensure that when attempting to process an ARM Mach-O file with unknown relocs, that a suitable error message is displayed. 2019-06-26 17:03:32 +01:00
mach-o-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o-target.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
mach-o-x86-64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mach-o.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
mach-o.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
MAINTAINERS Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
Makefile.am PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
Makefile.in PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
makefile.vms Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
mep-relocs.pl Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
merge.c qsort issues 2019-10-14 16:47:12 +10:30
mmo.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
netbsd-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
netbsd.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ns32k.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ns32knetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
opncls.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
osf-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pc532-mach.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pdp11.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
pe-arm-wince.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
pe-arm.c arm bfd.h tidy 2019-09-23 10:27:21 +09:30
pe-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-ppc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-x86_64.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
pef-traceback.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pef.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
pef.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-arm-wince.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-arm.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-ppc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pei-x86_64.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
peicode.h bfd_section_* macros 2019-09-19 09:40:13 +09:30
peXXigen.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
plugin.c PR24262, plugin search dir doesn't respect --libdir 2019-09-26 19:51:18 +09:30
plugin.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
PORTING Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ppcboot.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
ptrace-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
reloc16.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
reloc.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
rs6000-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
sco5-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
section.c bfd macro conversion to inline functions, section 2019-09-20 18:04:03 +09:30
simple.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
som.c PR24955, libbfd terminating program on out of memory (part2) 2019-10-14 16:47:12 +10:30
som.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
srec.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
stab-syms.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
stabs.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
stamp-h.in
syms.c qsort: syms.c stab sorting 2019-10-14 16:47:13 +10:30
sysdep.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
targets.c bfd macro conversion to inline functions, asymbol 2019-09-20 18:04:02 +09:30
targmatch.sed
tekhex.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
TODO Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
trad-core.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vax1knetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vaxnetbsd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
verilog.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
version.h Automatic date update in version.in 2019-10-17 00:00:23 +00:00
version.m4 Update version to 2.33.50 and regenerate configure scripts. 2019-09-16 11:03:53 +01:00
vms-alpha.c bfd_section_* macros 2019-09-19 09:40:13 +09:30
vms-lib.c Use bfd_set_filename more 2019-09-18 21:32:51 +09:30
vms-misc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vms.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
warning.m4 Adjust bfd/warning.m4 egrep patterns 2019-01-09 13:51:08 +10:30
wasm-module.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
wasm-module.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xcofflink.c xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
xcofflink.h xcoff bfd.h tidy 2019-09-23 10:27:21 +09:30
xsym.c Tidy ld/ldmisc.c 2019-09-11 13:43:29 +09:30
xsym.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensa-isa.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
xtensa-modules.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30

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-2019 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.