8sa1-binutils-gdb/bfd
Alan Modra 5b9d7a9a64 Fix __bss_start assertion failure in _bfd_elf_fix_symbol_flags
> Building LLVM 6.0 on FreeBSD/powerpc (devel/llvm60 port) the assertion
> in the subject trips (displays twice) when linking libLTO.so.1.  The
> issue has been filed in FreeBSD's bugzilla, at
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237068 .  It appears
> the 'llvm::hashing::detail::get_execution_seed()::seed@@JL_LLVM_6.0'
> symbol is being weakly aliased to an indirect symbol
> __bss_start@@JL_LLVM_6.0.  Since __bss_start@@JL_LLVM_6.0 is an
> indirect symbol, it fails the assertion.

I haven't looked under a debugger at your testcase but I think I know
what is going on here.  You have a shared library with a weakly
defined llvm::hashing::detail::get_execution_seed()::seed which
happens to be at the same location as __bss_start in that library.  At
the time the linker loads symbols for that library, it sees they are
both versioned and thus introduces non-versioned indirect symbols for
them.  The linker considers the symbols as possibly being aliases,
setting up h->u.alias and h->is_weakalias such that
__bss_start@@JL_LLVM_6.0 is the definition.  No real problem so far,
the definition is bfd_link_hash_defined, except that the zero size, no
type __bss_start symbol possibly should not be considered an alias in
the first place.

Later, __bss_start as defined by the linker script is entered into the
linker symbol table.  This is similar to __bss_start being defined by
a regular object file in that ELF symbol resolution rules say that the
value of __bss_start in the library is overridden by __bss_start in
the executable/library being produced.  So to accomplish the override,
ld flips __bss_start from being an indirect symbol pointing at
__bss_start@@JL_LLVM_6.0 to __bss_start@@JL_LLVM_6.0 being an indirect
symbol pointing at __bss_start.  That's how we get an unexpected
indirect symbol and hit the assert.

What should happen I think, is for the def->def_regular code above the
assert to run in this case.  The symbols are no longer aliases.

	* elflink.c (_bfd_elf_fix_symbol_flags): If the def for an
	alias is no longer bfd_link_hash_defined, clear the alias.
2019-07-15 16:02:42 +09:30
..
doc PR24427, bfd/doc/chew.c reads uninitialized memory and subtracts from function pointer 2019-04-10 18:30:29 +09:30
hosts Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
po Regen POTFILES for bpf 2019-05-24 23:15:07 +09:30
.gitignore
acinclude.m4 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aclocal.m4 Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-ns32k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-target.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
aout-tic30.c Obsolete tic30-aout, and linker segmentation faults 2019-05-28 10:55:21 +09:30
aoutx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 PR24236, Heap buffer overflow in _bfd_archive_64_bit_slurp_armap 2019-02-20 11:50:07 +10:30
archive.c PR24236, Heap buffer overflow in _bfd_archive_64_bit_slurp_armap 2019-02-20 11:50:07 +10:30
archures.c bfd: add support for eBPF 2019-05-23 19:33:41 +02:00
bfd-in2.h [LD, AArch64] Move ELF options behind -z 2019-06-06 12:21:14 +01:00
bfd-in.h [LD, AArch64] Move ELF options behind -z 2019-06-06 12:21:14 +01:00
bfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Fix __bss_start assertion failure in _bfd_elf_fix_symbol_flags 2019-07-15 16:02:42 +09:30
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 PR24061, powerpc-ibm-aix-ar sets bogus file permissions when extracting 2019-01-04 12:23:56 +10:30
coff-alpha.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-arm.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-bfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-bfd.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-ppc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
coff-rs6000.c PR24061, powerpc-ibm-aix-ar sets bogus file permissions when extracting 2019-01-04 12:23:56 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Treat the .gnu.debuglink and .gnu.debugaltlink sections as debug sections when reading them in from COFF/PE format files. 2019-05-02 15:11:39 +01:00
coffgen.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
cofflink.c COFF linker segmentation faults 2019-05-28 17:57:51 +09:30
coffswap.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
compress.c Fix a bug recently introduced to the linker where it would complain about a section being larger than a file, even if the section was artificial. 2019-07-02 14:14:13 +01:00
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 Plugin target handling 2019-06-28 10:18:49 +09:30
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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-aarch64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-alpha.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-arc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-arm.c [binutils, ARM, 1/16] Add support for Armv8.1-M Mainline CLI 2019-04-15 10:54:42 +01:00
cpu-avr.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-bfin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-bpf.c bfd: add support for eBPF 2019-05-23 19:33:41 +02:00
cpu-cr16.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-cr16c.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-cris.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-crx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-csky.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-d10v.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-d30v.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-dlx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-epiphany.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-fr30.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-frv.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ft32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-h8300.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-hppa.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-i386.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ia64-opc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-iamcu.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ip2k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-iq2000.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-k1om.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-l1om.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-lm32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m9s12x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m9s12xg.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m32c.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m32r.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m68hc11.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m68hc12.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m68k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m10200.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-m10300.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-mcore.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-mep.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-metag.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-microblaze.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-mmix.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-moxie.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-msp430.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-mt.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-nds32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-nfp.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-nios2.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-ns32k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-or1k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-pdp11.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-pj.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-plugin.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-powerpc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-pru.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-riscv.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-rl78.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-rs6000.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-rx.c RX: bfd - Add RXv3 support. 2019-01-05 22:52:53 +09:00
cpu-s12z.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-s390.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-score.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-sh.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-sparc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-spu.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tic4x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tic6x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tic30.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tic54x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tic80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-tilepro.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-v850_rh850.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-v850.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-vax.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-visium.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-wasm32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-xc16x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-xgate.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-xstormy16.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-xtensa.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-z8k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
cpu-z80.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
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 XCOFF linker segmentation fault 2019-05-28 10:05:02 +09:30
ecoff.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ecofflink.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 [ARC] don't force _init/_fini as DT_INIT/DT_FINI. 2019-02-09 11:07:42 +01:00
elf32-arm.c PR ld/24709 [arm] linker crash and assertion failure with CMSE 2019-07-02 13:09:02 +00:00
elf32-avr.c Fix PR 24571 - Relaxation does not shorten jmp or call to target at pc-relative range boundary 2019-05-21 12:48:06 +05:30
elf32-avr.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-bfin.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-cr16.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-cr16c.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-cris.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-crx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-csky.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-d10v.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-d30v.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-fr30.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-frv.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-ft32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-h8300.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-hppa.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-i386.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-ip2k.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-iq2000.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-lm32.c LM32 linker segmentation faults 2019-05-28 14:38:31 +09:30
elf32-m32c.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m32r.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-m68hc1x.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-m68hc1x.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m68hc11.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m68hc12.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-m68k.c m68k linker segmentation faults 2019-05-28 14:38:08 +09:30
elf32-mcore.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-mep.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-metag.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-metag.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-microblaze.c Microblaze linker segmentation fault 2019-05-28 15:56:14 +09:30
elf32-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-moxie.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-msp430.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-mt.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-nds32.c Fix spelling mistakes in BFD library. 2019-01-21 12:39:24 +00:00
elf32-nds32.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-nios2.c Check asprintf return value 2019-02-20 18:54:41 +10:30
elf32-nios2.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-or1k.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-pj.c PicoJava weak undefined symbols 2019-05-06 11:41:28 +09:30
elf32-ppc.c Dynamic TLS section symbols 2019-07-13 09:57:50 +09: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 whitespace fixes 2019-04-03 12:50:39 +10:30
elf32-rl78.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-rx.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elf32-rx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-s12z.c s12z and h8300 no-print-map-discarded fails 2019-04-19 12:41:58 +09:30
elf32-s390.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-score7.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-score.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-sparc.c SPARC: fix PR ld/18841 2019-02-07 17:04:31 +01:00
elf32-spu.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-spu.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tic6x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tic6x.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-tilepro.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-v850.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-vax.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-visium.c Visium: fix bogus overflow check on 32-bit hosts 2019-02-07 17:02:24 +01:00
elf32-wasm32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-xc16x.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf32-xgate.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elf32-xstormy16.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32-xtensa.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf32.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-alpha.c Alpha-linux linker segmentation fault 2019-05-28 15:11:54 +09:30
elf64-bpf.c bfd: add support for eBPF 2019-05-23 19:33:41 +02:00
elf64-gen.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-hppa.c HPPA64 linker segmentation faults 2019-05-28 10:55:41 +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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-mmix.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf64-nfp.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-ppc.c Dynamic TLS section symbols 2019-07-13 09:57:50 +09:30
elf64-ppc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf64-s390.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf64-sparc.c BFD whitespace fixes 2019-04-03 12:50:39 +10: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 x86: Suggest -fPIE when not building shared object 2019-04-17 10:25:28 -07:00
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 Stop the BFD library from issuing a warning message when processing allocated sections in debuginfo files that lie outside of any loadable segment. 2019-07-02 15:58:29 +01:00
elf-eh-frame.c Binutils: Always skip only 1 byte for CIE version 1's return address register. 2019-03-01 11:38:22 +00:00
elf-hppa.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-ifunc.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 whitespace fixes 2019-04-03 12:50:39 +10:30
elf-m10300.c Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elf-nacl.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-nacl.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-properties.c bfd/elf-properties: avoid shadowing a C library symbol 2019-06-25 12:01:50 +02:00
elf-s390-common.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-s390.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-strtab.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-vxworks.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf-vxworks.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elf.c Stop the BFD library from issuing a warning message when processing allocated sections in debuginfo files that lie outside of any loadable segment. 2019-07-02 15:58:29 +01:00
elfcode.h PR24689 again, string table corruption 2019-06-23 14:24:45 +09:30
elfcore.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elflink.c Fix __bss_start assertion failure in _bfd_elf_fix_symbol_flags 2019-07-15 16:02:42 +09:30
elfn32-mips.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfnn-aarch64.c aarch64: remove unnecessary loc_hash_table traversal 2019-06-17 17:58:53 +01:00
elfnn-ia64.c BFD whitespace fixes 2019-04-03 12:50:39 +10:30
elfnn-riscv.c RISC-V: Enable lui relaxation for CODE and MERGE sections. 2019-06-24 13:50:10 -07:00
elfxx-aarch64.c [BFD, AArch64] Fix PT_GNU_PROPERTY alignment issue 2019-06-06 12:27:41 +01:00
elfxx-aarch64.h [BFD, AArch64] Define elf_backend_fixup_gnu_properties in AArch64 2019-03-20 18:00:07 +00:00
elfxx-ia64.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-ia64.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-mips.c MIPS/LD: Skip overflow check for %pcrel_hi relocations 2019-05-28 10:49:16 -07:00
elfxx-mips.h [MIPS] Add generation of PLT entries with compact jumps for MIPS R6 2019-05-21 09:22:28 -07:00
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 Check corrupt VTENTRY entry in bfd_elf_gc_record_vtentry 2019-04-11 06:45:05 -07:00
elfxx-sparc.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-target.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-tilegx.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-tilegx.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
elfxx-x86.c x86: Suggest -fPIE when not building shared object 2019-04-17 10:25:28 -07:00
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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
ihex.c PR24065, 32-bit objcopy fails with 64-bit address ... out of range 2019-01-08 22:25:09 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libbfd.h PowerPC relocations for prefix insns 2019-05-24 10:27:49 +09:30
libcoff-in.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
libcoff.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Generic ELF target group signature symbol 2019-05-27 13:56:28 +09: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 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.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 bfd: add support for eBPF 2019-05-23 19:33:41 +02:00
Makefile.in Regenerate with approved autotools version 2019-06-14 10:30:35 +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 PR24311, FAIL: S-records with constructors 2019-03-08 23:28:34 +10:30
mmo.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Don't use bfd_get_file_size in objdump 2019-03-12 23:54:09 +10:30
pe-arm-wince.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
pe-arm.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +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 whitespace fixes 2019-04-03 12:50:39 +10:30
peicode.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
peXXigen.c PR24272, out-of-bounds read in pex64_xdata_print_uwd_codes 2019-03-01 13:30:38 +10:30
plugin.c PR24511, nm should not mark symbols in .init_array as "t" 2019-05-04 16:57:33 +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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 PowerPC relocations for prefix insns 2019-05-24 10:27:49 +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 Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
simple.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
som.c bfdtest1 segfaults on hppa-hp-hpux10 2019-05-22 18:33:39 +09:30
som.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
srec.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 PR24511, nm should not mark symbols in .init_array as "t" 2019-05-04 16:57:33 +09:30
sysdep.h Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
targets.c Plugin target handling 2019-06-28 10:18:49 +09:30
targmatch.sed
tekhex.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 Add new option to objcopy: --verilog-data-width. Use this option to set the size of byte bundles generated in verilog format files. 2019-05-14 10:42:25 +01:00
version.h Automatic date update in version.in 2019-07-15 00:00:42 +00:00
version.m4 Change version to 2.32.51 and regenerate configure and pot files. 2019-01-19 16:51:42 +00:00
vms-alpha.c vms-alpha gas segfault 2019-05-22 18:33:39 +09:30
vms-lib.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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 linker segmentation fault 2019-05-28 10:05:02 +09:30
xsym.c Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10: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.