binutils-gdb/bfd
Alan Modra b8d97d3857 som.c reloc sanity checking
This patch checks that relocations emitted in som_write_fixups have
offsets that are monotonic and within a section.  To do that properly
using bfd_reloc_offset_in_range it is necessary to set the reloc howto
size field, which isn't used otherwise by the som backend.  Note that
the sizes used are not exactly those in the old sizing switch
statement deleted from som_write_fixups, but all relocs handled by the
main switch statement there get the same size.  Most unhandled relocs
get a zero size (exceptions being R_RELOCATION, R_SPACE_REF,
R_MILLI_REL, R_BREAKPOINT which all involve writing one word according
to my SOM reference).  I figure it doesn't matter since any unhandled
reloc is converted to 0xff R_RESERVED, and a default of zero is better
for a "don't know" reloc.

Besides tidying the code, stringizing name from type in SOM_HOWTO
fixes R_REPEATED_INIT name.

	* som.c (SOM_HOWTO): Add SIZE arg, delete NAME.  Stringize type
	to name.
	(som_hppa_howto_table): Update with sizes.
	(som_write_fixups): Delete sizing switch statement.  Sanity check
	bfd_reloc address against subsection size.
2022-10-26 15:36:14 +10:30
..
doc Re: use libiberty xmalloc in bfd/doc/chew.c 2022-06-01 10:52:05 +09:30
hosts Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
po aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
.gitignore bfd: Add support for LoongArch64 EFI (efi-*-loongarch64). 2022-08-10 09:26:25 +08:00
acinclude.m4 Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aclocal.m4 binutils, gdb: support zstd compressed debug sections 2022-09-26 19:50:13 -07:00
aix5ppc-core.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aix386-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
aout32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aout64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aout-cris.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
aout-ns32k.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
aout-target.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
aoutx.h Re: bfd_cleanup for object_p 2022-09-24 10:06:37 +09:30
arc-got.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arc-plt.def Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
arc-plt.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
archive64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
archive.c Don't use BFD_VMA_FMT in binutils 2022-08-04 12:22:39 +09:30
archures.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
bfd-in2.h aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
bfd-in.h refactor usage of compressed_debug_section_type 2022-10-11 14:13:26 +02:00
bfd.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
bfd.m4 Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
bfdio.c bfd: Define ___lc_codepage_func prototype for older MinGW-w64 2022-08-16 18:04:21 +01:00
bfdwin.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
binary.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
cache.c Fix a conflict between the linker's need to rename some PE format input libraries and the BFD library's file caching mechanism. 2022-08-03 13:31:57 +01:00
cf-i386lynx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ChangeLog Fix an illegal memory access when parsing an ELF file containing corrupt symbol version information. 2022-10-19 15:09:12 +01:00
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009 PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014 PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
ChangeLog-2015 PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020 ChangeLog rotation 2021-01-01 10:31:02 +10:30
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff64-rs6000.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
coff-aarch64.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
coff-alpha.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
coff-arm.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
coff-arm.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff-bfd.c Replace bfd_hostptr_t with uintptr_t 2022-05-27 22:08:59 +09:30
coff-bfd.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff-go32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff-i386.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
coff-ia64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff-loongarch64.c loongarch64_pei_vec garbage in objcopy'd relocs 2022-08-19 10:30:45 +09:30
coff-mcore.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
coff-mips.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-rs6000.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
coff-sh.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-stgo32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
coff-tic4x.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-tic30.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-tic54x.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-x86_64.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
coff-z8k.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coff-z80.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
coffcode.h PR29482 - strip: heap-buffer-overflow 2022-08-13 15:32:47 +09:30
coffgen.c stab nearest_line bfd_malloc_and_get_section 2022-09-26 14:23:29 +09:30
cofflink.c Get rid of fprintf_vma and sprintf_vma 2022-08-01 13:52:18 +09:30
coffswap.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
compress.c zlib-gabi to zstd woes 2022-10-16 13:54:50 +10:30
config.bfd Obsolete beos 2022-10-20 09:45:42 +10:30
config.in binutils, gdb: support zstd compressed debug sections 2022-09-26 19:50:13 -07:00
configure bfd: fix undefined references to aarch64_pe_le_vec 2022-10-19 12:12:37 +01:00
configure.ac aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
configure.com Get rid of BFD_VMA_FMT 2022-08-06 08:08:32 +09:30
configure.host Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
COPYING
corefile.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-aarch64.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
cpu-aarch64.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-alpha.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-amdgcn.c bfd: add AMDGCN architecture 2022-03-16 09:00:27 -04:00
cpu-arc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-arm.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-arm.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-avr.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-bfin.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-bpf.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-cr16.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-cris.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-crx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-csky.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-d10v.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-d30v.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-dlx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-epiphany.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-fr30.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-frv.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-ft32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-h8300.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-h8300.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-hppa.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-i386.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-ia64-opc.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
cpu-ia64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-iamcu.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-ip2k.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-iq2000.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-lm32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-loongarch.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m9s12x.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m9s12xg.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m32c.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m32r.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m68hc11.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m68hc12.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m68k.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m68k.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m10200.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-m10300.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-mcore.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-mep.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-metag.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-microblaze.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-mips.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-mmix.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-moxie.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-msp430.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-mt.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-nds32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-nfp.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-nios2.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-ns32k.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
cpu-or1k.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-pdp11.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-pj.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-powerpc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-pru.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-riscv.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-riscv.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-rl78.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-rs6000.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-rx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-s12z.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-s390.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-score.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-sh.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-sparc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-spu.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tic4x.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tic6x.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tic30.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tic54x.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tilegx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-tilepro.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-v850_rh850.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-v850.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-vax.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-visium.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-wasm32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-xgate.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-xstormy16.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-xtensa.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-z8k.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
cpu-z80.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
dep-in.sed
development.sh Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
dwarf1.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
dwarf2.c ignore DWARF debug information for -gsplit-dwarf with dwarf-5 2022-10-04 09:39:53 +02:00
ecoff-bfd.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ecoff.c Get rid of fprintf_vma and sprintf_vma 2022-08-01 13:52:18 +09:30
ecofflink.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ecoffswap.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-am33lin.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-arc.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-arm.c zlib-gabi to zstd woes 2022-10-16 13:54:50 +10:30
elf32-arm.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-avr.c PR11290, avr-ld "out of range error" is confusing 2022-08-25 17:20:01 +09:30
elf32-avr.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-bfin.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-bfin.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-cr16.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-cr16.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-cris.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-crx.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-csky.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-csky.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-d10v.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-d30v.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-dlx.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-dlx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-epiphany.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-fr30.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-frv.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-ft32.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-gen.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-h8300.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-hppa.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-hppa.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-i386.c x86: Ignore protected visibility in shared libraries on Solaris 2022-08-25 09:10:45 -07:00
elf32-ip2k.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-iq2000.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-lm32.c bfd, binutils, gas: Remove/mark unused variables 2022-09-15 10:46:02 +00:00
elf32-m32c.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-m32r.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
elf32-m68hc1x.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-m68hc1x.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-m68hc11.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-m68hc12.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-m68k.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-m68k.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-mcore.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-mep.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-metag.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-metag.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-microblaze.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-mips.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
elf32-moxie.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-msp430.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-mt.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-nds32.c bfd, binutils, gas: Remove/mark unused variables 2022-09-15 10:46:02 +00:00
elf32-nds32.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-nios2.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-nios2.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-or1k.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-pj.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-ppc.c PR29540, R_PPC64_NONE in .rela.dyn when linking Linux vdso 2022-09-14 10:19:56 +09:30
elf32-ppc.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-pru.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-rl78.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-rx.c Don't use BFD_VMA_FMT in binutils 2022-08-04 12:22:39 +09:30
elf32-rx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-s12z.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-s390.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-score7.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-score.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-score.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-sh-relocs.h HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-sh.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-sparc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-spu.c asan: NULL dereference in spu_elf_object_p 2022-08-13 14:11:27 +09:30
elf32-spu.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-tic6x.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-tic6x.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-tilegx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-tilegx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-tilepro.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-tilepro.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-v850.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-v850.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf32-vax.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf32-visium.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-wasm32.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-xgate.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-xstormy16.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32-xtensa.c xtensa: bfd: fix TLS relocations generated for PIE 2022-09-02 09:54:49 -07:00
elf32-z80.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf32.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-alpha.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf64-amdgcn.c bfd: add AMDGCN architecture 2022-03-16 09:00:27 -04:00
elf64-bpf.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf64-gen.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf64-hppa.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-hppa.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-ia64-vms.c asan: ppc64_elf_get_synthetic_symtab heap buffer overflow 2022-08-05 20:48:29 +09:30
elf64-mips.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
elf64-mmix.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf64-nfp.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf64-ppc.c PR29540, R_PPC64_NONE in .rela.dyn when linking Linux vdso 2022-09-14 10:19:56 +09:30
elf64-ppc.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-s390.c IBM zSystems: Issue error for *DBL relocs on misaligned symbols 2022-10-19 09:03:17 +02:00
elf64-sparc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-tilegx.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-tilegx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf64-x86-64.c x86-64: Use only one default max-page-size 2022-10-25 16:41:26 +02:00
elf64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-attrs.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-bfd.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
elf-eh-frame.c Detect .eh_frame_hdr earlier for SIZEOF_HEADERS 2022-02-05 16:45:38 +10:30
elf-hppa.h Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf-ifunc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-linker-x86.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-linux-core.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-m10200.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elf-m10300.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elf-nacl.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-nacl.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-properties.c x86: Disallow invalid relocation against protected symbol 2022-02-11 10:24:54 -08:00
elf-s390-common.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-s390.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-strtab.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-vxworks.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf-vxworks.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elf.c Fix an illegal memory access when parsing an ELF file containing corrupt symbol version information. 2022-10-19 15:09:12 +01:00
elfcode.h The problem with warning in elf_object_p 2022-09-24 11:28:55 +09:30
elfcore.h Revert "Revert "Fix fbsd core matching"" 2022-06-16 10:20:49 +09:30
elflink.c asan: ppc64_elf_get_synthetic_symtab heap buffer overflow 2022-08-05 20:48:29 +09:30
elfn32-mips.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
elfnn-aarch64.c Don't use BFD_VMA_FMT in binutils 2022-08-04 12:22:39 +09:30
elfnn-ia64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfnn-loongarch.c LoongArch: Update ELF e_flags handling according to specification. 2022-09-30 14:00:47 +08:00
elfnn-riscv.c RISC-V: Should reset `again' flag for _bfd_riscv_relax_pc. 2022-10-25 09:20:39 +08:00
elfxx-aarch64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfxx-aarch64.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfxx-ia64.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elfxx-ia64.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfxx-loongarch.c bfd: Delete R_LARCH_NONE from dyn info of LoongArch. 2022-07-25 09:59:08 +08:00
elfxx-loongarch.h bfd: Add supported for LoongArch new relocations. 2022-07-25 09:59:08 +08:00
elfxx-mips.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
elfxx-mips.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
elfxx-riscv.c RISC-V: Zicbo{m,p,z} adjustments to riscv_multi_subset_supports_ext() 2022-10-14 12:52:16 +02:00
elfxx-riscv.h RISC-V: PR28733, add missing extension info to 'unrecognized opcode' error 2022-02-23 19:45:52 +08:00
elfxx-sparc.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elfxx-sparc.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfxx-target.h binutils, gdb: support zstd compressed debug sections 2022-09-26 19:50:13 -07:00
elfxx-tilegx.c Revert reloc howto nits 2022-06-08 21:33:00 +09:30
elfxx-tilegx.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
elfxx-x86.c x86: Disallow invalid relocations against protected symbols 2022-07-19 08:41:52 -07:00
elfxx-x86.h x86: Disallow invalid relocations against protected symbols 2022-07-19 08:41:52 -07:00
format.c The problem with warning in elf_object_p 2022-09-24 11:28:55 +09:30
gen-aout.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
genlink.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
go32stub.h
hash.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
host-aout.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
hppabsd-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
hpux-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
i386aout.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
i386bsd.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
i386lynx.c Re: bfd_cleanup for object_p 2022-09-24 10:06:37 +09:30
i386msdos.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
ihex.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
init.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
irix-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
libaout.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
libbfd-in.h stab nearest_line bfd_malloc_and_get_section 2022-09-26 14:23:29 +09:30
libbfd.c fix compressed_debug_section_names definition for "zlib" 2022-10-11 15:25:49 +02:00
libbfd.h stab nearest_line bfd_malloc_and_get_section 2022-09-26 14:23:29 +09:30
libcoff-in.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
libcoff.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
libecoff.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
libhppa.h ubsan: undefined shift in sign_extend 2022-08-13 14:11:27 +09:30
libpei.h ld: Add --pdb option 2022-10-20 15:22:37 +10:30
libxcoff.h xcoff: implement linker relaxation 2022-04-20 15:11:47 +01:00
linker.c bfd: Check NULL pointer before setting ref_real 2022-05-04 17:57:58 -07:00
lynx-core.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mach-o-aarch64.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
mach-o-arm.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
mach-o-i386.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
mach-o-target.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mach-o-x86-64.c HOWTO size encoding 2022-06-08 21:33:00 +09:30
mach-o.c PR29677, Field the_bfd of asymbol is uninitialised 2022-10-14 22:07:18 +10:30
mach-o.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
MAINTAINERS Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
Makefile.am aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
Makefile.in bfd: fix undefined references to aarch64_pe_le_vec 2022-10-19 12:12:37 +01:00
makefile.vms Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mep-relocs.pl Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
merge.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
mmo.c bfd, binutils, gas: Remove/mark unused variables 2022-09-15 10:46:02 +00:00
netbsd-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
netbsd.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ns32k.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ns32knetbsd.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
opncls.c Fix a conflict between the linker's need to rename some PE format input libraries and the BFD library's file caching mechanism. 2022-08-03 13:31:57 +01:00
osf-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
pc532-mach.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pdb.c asan: segv in _bfd_archive_close_and_cleanup 2022-09-28 10:26:45 +09:30
pdp11.c Don't encode reloc.size 2022-06-08 21:33:00 +09:30
pe-aarch64.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
pe-arm-wince.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-arm.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-i386.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-mcore.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-sh.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pe-x86_64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pef-traceback.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pef.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
pef.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-aarch64.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
pei-arm-wince.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-arm.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-i386.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-ia64.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-loongarch64.c bfd: Add support for LoongArch64 EFI (efi-*-loongarch64). 2022-08-10 09:26:25 +08:00
pei-mcore.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-sh.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
pei-x86_64.c Re: PE objdump -x 2022-08-03 17:00:17 +09:30
peicode.h ld: Add --pdb option 2022-10-20 15:22:37 +10:30
peXXigen.c ld: Add --pdb option 2022-10-20 15:22:37 +10:30
plugin.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
plugin.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
PORTING Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
ppcboot.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
ptrace-core.c Re: bfd_cleanup for object_p 2022-09-24 10:06:37 +09:30
README Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
reloc16.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
reloc.c PR11290, avr-ld "out of range error" is confusing 2022-08-25 17:20:01 +09:30
rs6000-core.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
sco5-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
section.c binutils, gdb: support zstd compressed debug sections 2022-09-26 19:50:13 -07:00
simple.c symbols for bfd_simple_get_relocated_section_contents 2022-08-21 07:54:27 +09:30
som.c som.c reloc sanity checking 2022-10-26 15:36:14 +10:30
som.h bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
srec.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
stab-syms.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
stabs.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
syms.c Re: stab nearest_line bfd_malloc_and_get_section 2022-10-05 14:53:41 +10:30
sysdep.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
targets.c aarch64-pe support for LD, GAS and BFD 2022-10-19 10:57:12 +02:00
targmatch.sed
tekhex.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
TODO Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
trad-core.c Remove use of bfd_uint64_t and similar 2022-05-27 22:08:59 +09:30
vax1knetbsd.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vaxnetbsd.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
verilog.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
version.h Automatic date update in version.in 2022-10-26 00:00:08 +00:00
version.m4 Update version to 2.39.50 and regenerate files 2022-07-08 11:19:44 +01:00
vms-alpha.c looping in alpha_vms_slurp_relocs 2022-09-21 09:06:21 +09:30
vms-lib.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vms-misc.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
vms.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
warning.m4 bfd: Stop using -Wstack-usage=262144 when built with Clang 2022-09-14 05:42:17 +00:00
wasm-module.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
wasm-module.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
xcofflink.c Re: xcoff: implement linker relaxation 2022-04-20 23:56:59 +09:30
xcofflink.h xcoff: implement linker relaxation 2022-04-20 15:11:47 +01:00
xsym.c bfd: Add bfd_find_nearest_line_with_alt 2022-09-06 10:42:50 -04:00
xsym.h Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
xtensa-isa.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +10:30
xtensa-modules.c Update year range in copyright notice of binutils files 2022-01-02 12:04:28 +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 in BFD to https://sourceware.org/bugzilla/

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