binutils-gdb/bfd
Nelson Chu c9f2799101 RISC-V: Merged extension string tables and their version tables into one.
There are two main reasons for this patch,

* In the past we had two extension tables, one is used to record all
supported extensions in bfd/elfxx-riscv.c, another is used to get the
default extension versions in gas/config/tc-riscv.c.  It is hard to
maintain lots of tables in different files, but in fact we can merge
them into just one table.  Therefore, we now define many riscv_supported_std*
tables, which record names and versions for all supported extensions.
We not only use these tables to initialize the riscv_ext_order, but
also use them to get the default versions of extensions, and decide if
the extensions should be enbaled by default.

* We add a new filed `default_enable' for the riscv_supported_std* tables,
to decide if the extension should be enabled by default.  For now if the
`default_enable' field of the extension is set to EXT_DEFAULT, then we
should enable the extension when the -march and elf architecture attributes
are not set.  In the future, I suppose the `default_enable' can be set
to lots of EXT_<VENDOR>, each vendor can decide to open which extensions,
when the target triple of vendor is chosen.

The elf/linux regression tests of riscv-gnu-toolchain are passed.

bfd/
	* elfnn-riscv.c (cpu-riscv.h): Removed sine it is included in
	bfd/elfxx-riscv.h.
	(riscv_merge_std_ext): Updated since the field of rpe is changed.
	* elfxx-riscv.c (cpu-riscv.h): Removed.
	(riscv_implicit_subsets): Added implicit extensions for g.
	(struct riscv_supported_ext): Used to be riscv_ext_version.  Moved
	from gas/config/tc-riscv.c, and added new field `default_enable' to
	decide if the extension should be enabled by default.
	(EXT_DEFAULT): Defined for `default_enable' field.
	(riscv_supported_std_ext): It used to return the supported standard
	architecture string, but now we move ext_version_table from
	gas/config/tc-riscv.c to here, and rename it to riscv_supported_std_ext.
	Currently we not only use the table to initialize riscv_ext_order, but
	also get the default versions of extensions, and decide if the extensions
	should be enbaled by default.
	(riscv_supported_std_z_ext): Likewise, but is used for z* extensions.
	(riscv_supported_std_s_ext): Likewise, but is used for s* extensions.
	(riscv_supported_std_h_ext): Likewise, but is used for h* extensions.
	(riscv_supported_std_zxm_ext): Likewise, but is used for zxm* extensions.
	(riscv_all_supported_ext): Includes all supported extension tables.
	(riscv_known_prefixed_ext): Updated.
	(riscv_valid_prefixed_ext): Updated.
	(riscv_init_ext_order): Init the riscv_ext_order table according to
	riscv_supported_std_ext.
	(riscv_get_default_ext_version): Moved from gas/config/tc-riscv.c.
	Get the versions of extensions from riscv_supported_std* tables.
	(riscv_parse_add_subset): Updated.
	(riscv_parse_std_ext): Updated.
	(riscv_set_default_arch): Set the default subset list according to
	the default_enable field of riscv_supported_*ext tables.
	(riscv_parse_subset): If the input ARCH is NULL, then we call
	riscv_set_default_arch to set the default subset list.
	* elfxx-riscv.h (cpu-riscv.h): Included.
	(riscv_parse_subset_t): Removed get_default_version field, and added
	isa_spec field to replace it.
	(extern riscv_supported_std_ext): Removed.
gas/
	* (bfd/cpu-riscv.h): Removed.
	(struct riscv_ext_version): Renamed and moved to bfd/elfxx-riscv.c.
	(ext_version_table): Likewise.
	(riscv_get_default_ext_version): Likewise.
	(ext_version_hash): Removed.
	(init_ext_version_hash): Removed.
	(riscv_set_arch): Updated since the field of rps is changed.  Besides,
	report error when the architecture string is empty.
	(riscv_after_parse_args): Updated.
2021-09-17 16:33:54 +08:00
..
doc chew ubsan warning 2021-08-06 23:06:53 +09:30
hosts C99 bfd configury 2021-04-05 15:27:37 +09:30
po Deprecate a.out support for NetBSD targets. 2021-08-11 13:17:54 +01:00
.gitignore Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
acinclude.m4 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
aclocal.m4 Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
aix5ppc-core.c Use bool in bfd 2021-03-31 10:49:23 +10:30
aix386-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
aout-cris.c Use bool in bfd 2021-03-31 10:49:23 +10:30
aout-ns32k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
aout-target.h Use bool in bfd 2021-03-31 10:49:23 +10:30
aout32.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
aout64.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
aoutx.h PR27844, Unstable symbol name in objdump outputs 2021-05-11 21:38:39 +09:30
arc-got.h arc: Fix potential invalid pointer access when fixing got symbols. 2021-09-14 12:10:54 +03:00
arc-plt.def Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
arc-plt.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
archive.c PR28328, dlltool ice 2021-09-15 10:04:17 +09:30
archive64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
archures.c bfd: fix incorrect type used in sizeof 2021-09-15 11:32:33 +01:00
bfd-in.h PTR_ADD and NPTR_ADD for bfd.h 2021-09-02 13:48:21 +09:30
bfd-in2.h PTR_ADD and NPTR_ADD for bfd.h 2021-09-02 13:48:21 +09:30
bfd.c Externalize the _bfd_set_gp_value function 2021-07-28 13:36:58 +09:30
bfd.m4 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
bfdio.c Fix another path length problem opening files on Win32 systems. 2021-01-07 12:05:43 +00:00
bfdwin.c Use bool in bfd 2021-03-31 10:49:23 +10:30
binary.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cache.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cf-i386lynx.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ChangeLog bfd: fix incorrect type used in sizeof 2021-09-15 11:32:33 +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 rotation 2019-01-01 21:25:40 +10:30
ChangeLog-2019 ChangeLog rotation 2020-01-01 18:12:08 +10:30
ChangeLog-2020 ChangeLog rotation 2021-01-01 10:31:02 +10:30
ChangeLog-9193
ChangeLog-9495
ChangeLog-9697
ChangeLog-9899
cisco-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
coff-alpha.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-arm.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-arm.h Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-bfd.c gas: improve C_BSTAT and C_STSYM symbols handling on XCOFF 2021-07-29 10:55:22 +02:00
coff-bfd.h Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-go32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-i386.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-ia64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-mcore.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-mips.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-rs6000.c objdump: add DWARF support for AIX 2021-07-14 21:40:05 +09:30
coff-sh.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-stgo32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-tic4x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-tic30.c PR28175, Segment fault in coff-tic30.c reloc_processing 2021-08-06 23:06:53 +09:30
coff-tic54x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-x86_64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
coff-z8k.c PR28175, Segment fault in coff-tic30.c reloc_processing 2021-08-06 23:06:53 +09:30
coff-z80.c PR28175, Segment fault in coff-tic30.c reloc_processing 2021-08-06 23:06:53 +09:30
coff64-rs6000.c PR 28053: Fix spelling mistakes: usupported -> unsupported and relocatation -> relocation. 2021-07-06 14:56:05 +01:00
coffcode.h revise PE IMAGE_SCN_LNK_NRELOC_OVFL test 2021-08-04 12:34:52 +09:30
coffgen.c reloc_upper_bound size calculations 2021-07-30 15:08:55 +09:30
cofflink.c Fix problems translating messages when a percentage sign appears at the end of a string. 2021-07-07 10:25:41 +01:00
coffswap.h aix: implement TLS relocation for gas and ld 2021-03-12 22:47:33 +10:30
compress.c Use bool in bfd 2021-03-31 10:49:23 +10:30
config.bfd Re: Deprecate a.out support for NetBSD targets 2021-09-13 17:04:01 +09:30
config.in Check for strnlen declaration to fix Solaris 10 build 2021-07-07 13:49:27 +02:00
configure Add support for the haiku operating system. These are the os support patches we have been grooming and maintaining for quite a few years over on git.haiku-os.org. All of these architectures are working and most have been stable for quite some time. 2021-09-02 12:19:14 +01:00
configure.ac Deprecate a.out support for NetBSD targets. 2021-08-11 13:17:54 +01:00
configure.com bfd: use https for bugzilla 2021-04-08 00:46:48 -04:00
configure.host Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
COPYING
corefile.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-aarch64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-aarch64.h Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-alpha.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-arc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-arm.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-arm.h Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-avr.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-bfin.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-bpf.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-cr16.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-cris.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-crx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-csky.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-d10v.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-d30v.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-dlx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-epiphany.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-fr30.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-frv.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-ft32.c [bfd] Ensure unique printable names for bfd archs 2021-09-15 10:10:46 +02:00
cpu-h8300.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-h8300.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
cpu-hppa.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-i386.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-ia64-opc.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
cpu-ia64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-iamcu.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-ip2k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-iq2000.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-k1om.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-l1om.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-lm32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m9s12x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m9s12xg.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m32c.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m32r.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m68hc11.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m68hc12.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m68k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m68k.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
cpu-m10200.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-m10300.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-mcore.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-mep.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-metag.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-microblaze.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-mips.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-mmix.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-moxie.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-msp430.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-mt.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-nds32.c [bfd] Ensure unique printable names for bfd archs 2021-09-15 10:10:46 +02:00
cpu-nfp.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-nios2.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-ns32k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-or1k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-pdp11.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-pj.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-powerpc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-pru.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-riscv.c RISC-V: PR27916, Support mapping symbols. 2021-08-30 17:36:11 +08:00
cpu-riscv.h RISC-V: PR27916, Support mapping symbols. 2021-08-30 17:36:11 +08:00
cpu-rl78.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-rs6000.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-rx.c [bfd] Ensure unique printable names for bfd archs 2021-09-15 10:10:46 +02:00
cpu-s12z.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-s390.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-score.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-sh.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-sparc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-spu.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tic4x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tic6x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tic30.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tic54x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tilegx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-tilepro.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-v850.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-v850_rh850.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-vax.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-visium.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-wasm32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-xc16x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-xgate.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-xstormy16.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-xtensa.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-z8k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
cpu-z80.c Use bool in bfd 2021-03-31 10:49:23 +10:30
dep-in.sed
development.sh Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
dwarf1.c Use bool in bfd 2021-03-31 10:49:23 +10:30
dwarf2.c Tidy commit 49910fd88d 2021-07-10 13:29:04 +09:30
ecoff-bfd.h Use bool in bfd 2021-03-31 10:49:23 +10:30
ecoff.c Remove strneq macro and use startswith. 2021-04-01 15:00:56 +02:00
ecofflink.c Use bool in bfd 2021-03-31 10:49:23 +10:30
ecoffswap.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf-attrs.c asan: heap buffer overflow in _bfd_elf_parse_attributes 2021-06-02 14:47:17 +09:30
elf-bfd.h SHT_SYMTAB_SHNDX handling 2021-09-02 13:48:21 +09:30
elf-eh-frame.c PTR_ADD and NPTR_ADD for bfd.h 2021-09-02 13:48:21 +09:30
elf-hppa.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-ifunc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-linker-x86.h ld/x86: Add -z report-relative-reloc 2021-01-15 18:07:07 -08:00
elf-linux-core.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf-m10200.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-m10300.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-nacl.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-nacl.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-properties.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
elf-s390-common.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-s390.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-strtab.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-vxworks.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf-vxworks.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf.c Revert: [AArch64] MTE corefile support 2021-09-07 11:03:20 -03:00
elf32-am33lin.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-arc.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elf32-arm.c PATCH [4/4] arm: Add Tag_PACRET_use build attribute 2021-08-17 14:49:42 +02:00
elf32-arm.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-avr.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-avr.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-bfin.c PR28172, bfin_pcrel24_reloc heap-buffer-overflow 2021-08-06 23:02:27 +09:30
elf32-bfin.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-cr16.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-cr16.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-cris.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-crx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-csky.c csky: fix annobin test fails 2021-05-03 15:34:17 +09:30
elf32-csky.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-d10v.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-d30v.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-dlx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-dlx.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf32-epiphany.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-fr30.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-frv.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-ft32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-gen.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-h8300.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-hppa.c convert elf_link_hash macros to inline functions 2021-04-12 21:19:02 +09:30
elf32-hppa.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-i386.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
elf32-ip2k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-iq2000.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-lm32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m32c.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m32r.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elf32-m68hc1x.c C99 bfd configury 2021-04-05 15:27:37 +09:30
elf32-m68hc1x.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m68hc11.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m68hc12.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m68k.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-m68k.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-mcore.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-mep.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-metag.c PR27631, ubsan: elf32-metag.c:1550:10 2021-04-14 17:37:27 +09:30
elf32-metag.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-microblaze.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elf32-mips.c PR28162, segment fault in mips_elf_assign_gp 2021-08-04 23:28:44 +09:30
elf32-moxie.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-msp430.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-mt.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-nds32.c PR28173, nds32_elf_howto_table index out of bounds 2021-08-06 23:06:40 +09:30
elf32-nds32.h Miscellaneous BFD int vs bfd_boolean fixes 2021-03-29 11:22:21 +10:30
elf32-nios2.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-nios2.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-or1k.c or1k: fix pc-relative relocation against dynamic on PC relative 26 bit relocation. 2021-07-16 15:03:07 +01:00
elf32-pj.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-ppc.c PowerPC, sanity check r_offset in relocate_section 2021-09-10 18:04:18 +09:30
elf32-ppc.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-pru.c Enable linker garbage collection for the PRU target. 2021-05-10 14:00:00 +01:00
elf32-rl78.c PR28163, Segment fault in function rl78_special_reloc 2021-08-11 15:06:20 +09:30
elf32-rx.c PR28165, buffer overflow in elf32-rx.c:rx_info_to_howto_rela 2021-08-05 20:47:09 +09:30
elf32-rx.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf32-s12z.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-s390.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-score.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-score.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-score7.c Fix an illegal memory access triggered by disassembling corrupt s390x binaries. 2021-09-06 12:25:20 +01:00
elf32-sh-relocs.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-sh.c PR27858, global-buffer-overflow 2021-05-13 10:18:44 +09:30
elf32-sparc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-spu.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elf32-spu.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-tic6x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-tic6x.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-tilegx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-tilegx.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf32-tilepro.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elf32-tilepro.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf32-v850.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-v850.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-vax.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-visium.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-wasm32.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-xc16x.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-xgate.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-xstormy16.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32-xtensa.c Fix an illegal memory access triggered by an atempt to disassemble a corrupt xtensa binary. 2021-09-07 11:47:08 +01:00
elf32-z80.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf32.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf64-alpha.c ubsan: alpha: member access within null pointer 2021-09-03 11:45:58 +09:30
elf64-bpf.c Re: PR28055, segfault in bpf special reloc function 2021-07-06 10:41:36 +09:30
elf64-gen.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-hppa.c C99 bfd configury 2021-04-05 15:27:37 +09:30
elf64-hppa.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf64-ia64-vms.c convert elf_link_hash macros to inline functions 2021-04-12 21:19:02 +09:30
elf64-mips.c PR28166, _bfd_elf_mips_get_relocated_section_contents 2021-08-05 20:47:09 +09:30
elf64-mmix.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-nfp.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-ppc.c PowerPC64, sanity check r_offset in relocate_section 2021-09-08 22:22:34 +09:30
elf64-ppc.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-s390.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-sparc.c reloc_upper_bound size calculations 2021-07-30 15:08:55 +09:30
elf64-tilegx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elf64-tilegx.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elf64-x86-64.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
elf64.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
elfcode.h Remove an accidental change to elfcode.h included as part of commit 6e0dfbf420. 2021-07-07 16:50:33 +01:00
elfcore.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elflink.c SHT_SYMTAB_SHNDX handling 2021-09-02 13:48:21 +09:30
elfn32-mips.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elfnn-aarch64.c Fix problems translating messages when a percentage sign appears at the end of a string. 2021-07-07 10:25:41 +01:00
elfnn-ia64.c convert elf_link_hash macros to inline functions 2021-04-12 21:19:02 +09:30
elfnn-riscv.c RISC-V: Merged extension string tables and their version tables into one. 2021-09-17 16:33:54 +08:00
elfxx-aarch64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-aarch64.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-ia64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-ia64.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-mips.c Mark .gnu.debuglto_.debug_* as SHT_MIPS_DWARF 2021-06-30 17:16:22 +01:00
elfxx-mips.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-riscv.c RISC-V: Merged extension string tables and their version tables into one. 2021-09-17 16:33:54 +08:00
elfxx-riscv.h RISC-V: Merged extension string tables and their version tables into one. 2021-09-17 16:33:54 +08:00
elfxx-sparc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-sparc.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-target.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-tilegx.c Use startswith more for strncmp function calls. 2021-04-01 14:59:04 +02:00
elfxx-tilegx.h Use bool in bfd 2021-03-31 10:49:23 +10:30
elfxx-x86.c elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
elfxx-x86.h elf: Add GNU_PROPERTY_1_NEEDED check 2021-07-08 18:14:31 -07:00
format.c Use bool in bfd 2021-03-31 10:49:23 +10:30
gen-aout.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
genlink.h Use bool in bfd 2021-03-31 10:49:23 +10:30
go32stub.h
hash.c fix string table generation for XCOFF64 .debug section 2021-04-22 15:31:02 +01:00
host-aout.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
hppabsd-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
hpux-core.c C99 bfd configury 2021-04-05 15:27:37 +09:30
i386aout.c Use bool in bfd 2021-03-31 10:49:23 +10:30
i386bsd.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
i386lynx.c Use bool in bfd 2021-03-31 10:49:23 +10:30
i386msdos.c Use bool in bfd 2021-03-31 10:49:23 +10:30
ihex.c Use bool in bfd 2021-03-31 10:49:23 +10:30
init.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
irix-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
libaout.h Use bool in bfd 2021-03-31 10:49:23 +10:30
libbfd-in.h ld: Limit cache size and add --max-cache-size=SIZE 2021-07-08 09:59:28 -07:00
libbfd.c bfd dwarf2 sanity checking 2021-05-22 17:23:24 +09:30
libbfd.h ld: Limit cache size and add --max-cache-size=SIZE 2021-07-08 09:59:28 -07:00
libcoff-in.h Use bool in bfd 2021-03-31 10:49:23 +10:30
libcoff.h Use bool in bfd 2021-03-31 10:49:23 +10:30
libecoff.h Use bool in bfd 2021-03-31 10:49:23 +10:30
libhppa.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
libpei.h Use bool in bfd 2021-03-31 10:49:23 +10:30
libxcoff.h objdump: add DWARF support for AIX 2021-07-14 21:40:05 +09:30
linker.c PR28264, ld.bfd crash on linking efivar with LTO 2021-08-28 10:19:09 +09:30
lynx-core.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
mach-o-aarch64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
mach-o-arm.c Use bool in bfd 2021-03-31 10:49:23 +10:30
mach-o-i386.c Use bool in bfd 2021-03-31 10:49:23 +10:30
mach-o-target.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
mach-o-x86-64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
mach-o.c reloc_upper_bound size calculations 2021-07-30 15:08:55 +09:30
mach-o.h Use bool in bfd 2021-03-31 10:49:23 +10:30
MAINTAINERS Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
Makefile.am Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
Makefile.in Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
makefile.vms Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
mep-relocs.pl Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
merge.c Use bool in bfd 2021-03-31 10:49:23 +10:30
mmo.c Use bool in bfd 2021-03-31 10:49:23 +10:30
netbsd-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
netbsd.h Use bool in bfd 2021-03-31 10:49:23 +10:30
ns32k.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ns32knetbsd.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
opncls.c ld: Limit cache size and add --max-cache-size=SIZE 2021-07-08 09:59:28 -07:00
osf-core.c Add startswith function and use it instead of CONST_STRNEQ. 2021-03-22 11:01:43 +01:00
pc532-mach.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pdp11.c PR27844, Unstable symbol name in objdump outputs 2021-05-11 21:38:39 +09:30
pe-arm-wince.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
pe-arm.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pe-i386.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pe-mcore.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pe-sh.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pe-x86_64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pef-traceback.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
pef.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pef.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
pei-arm-wince.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
pei-arm.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pei-i386.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pei-ia64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pei-mcore.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pei-sh.c Use bool in bfd 2021-03-31 10:49:23 +10:30
pei-x86_64.c Use bool in bfd 2021-03-31 10:49:23 +10:30
peicode.h Use bool in bfd 2021-03-31 10:49:23 +10:30
peXXigen.c Extend the description of PE header flags. 2021-04-21 17:38:52 +01:00
plugin.c bfd: Close the file descriptor if there is no archive fd 2021-07-28 06:01:32 -07:00
plugin.h ld: Cache and reuse the IR archive file descriptor 2021-07-05 08:51:35 -07:00
PORTING Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ppcboot.c Use bool in bfd 2021-03-31 10:49:23 +10:30
ptrace-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
README Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
reloc.c bfd_reloc_offset_in_range overflow 2021-08-06 23:06:53 +09:30
reloc16.c Use bool in bfd 2021-03-31 10:49:23 +10:30
rs6000-core.c Use bool in bfd 2021-03-31 10:49:23 +10:30
sco5-core.c ELF: Don't generate unused section symbols 2021-01-07 06:46:55 -08:00
section.c gdb/bfd: avoid crash when architecture is forced to csky or riscv 2021-05-20 13:35:54 +01:00
simple.c Remove strayed fprintf in commit 23182ac0d8 2021-05-10 12:50:33 -07:00
som.c Fix an access through a null pointer when parsing a corrupt SOM format fle. 2021-04-29 17:55:43 +01:00
som.h Use bool in bfd 2021-03-31 10:49:23 +10:30
srec.c Fix an assertion failure in the BFD library when parsing a corrupt SREC format file. 2021-04-21 11:09:11 +01:00
stab-syms.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
stabs.c Use bool in bfd 2021-03-31 10:49:23 +10:30
stamp-h.in
syms.c Fix an access through a null pointer when parsing a corrupt SOM format fle. 2021-04-29 17:55:43 +01:00
sysdep.h Fix Solaris gprof build with --disable-nls 2021-07-07 13:51:55 +02:00
targets.c Use bool in bfd 2021-03-31 10:49:23 +10:30
targmatch.sed
tekhex.c Use bool in bfd 2021-03-31 10:49:23 +10:30
TODO Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
trad-core.c C99 bfd configury 2021-04-05 15:27:37 +09:30
vax1knetbsd.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
vaxnetbsd.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
verilog.c Use bool in bfd 2021-03-31 10:49:23 +10:30
version.h Automatic date update in version.in 2021-09-17 00:00:08 +00:00
version.m4 Update version number and regenerate files 2021-07-03 15:16:48 +01:00
vms-alpha.c PR28167, vms-alpha build_module_list 2021-08-05 20:47:09 +09:30
vms-lib.c asan: stack-buffer-overflow vms-lib.c:367 2021-05-05 13:35:45 +09:30
vms-misc.c Use bool in bfd 2021-03-31 10:49:23 +10:30
vms.h Use bool in bfd 2021-03-31 10:49:23 +10:30
warning.m4 Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
wasm-module.c bfd dwarf2 sanity checking 2021-05-22 17:23:24 +09:30
wasm-module.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
xcofflink.c bfd: ensure that symbols targeted by DWARF relocations are kept in XCOFF 2021-07-30 08:38:14 +02:00
xcofflink.h Use bool in bfd 2021-03-31 10:49:23 +10:30
xsym.c C99 bfd configury 2021-04-05 15:27:37 +09:30
xsym.h Use bool in bfd 2021-03-31 10:49:23 +10:30
xtensa-isa.c Fix an illegal memory access triggered by an atempt to disassemble a corrupt xtensa binary. 2021-09-07 11:47:08 +01:00
xtensa-modules.c Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +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-2021 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.