binutils-gdb/ld/testsuite
Tamar Christina 0db131fb83 AArch64: Set the correct ELF class for AArch64 stubs (PR/25210)
This fixes PR 25210 by specifying the the correct ELF class for AArch64 stubs.
After doing this the stub section starts behaving like a normal object file
loaded from disk.  That is SEC_LINKER_CREATED causes us to have to write the
section manually.

This flag was added as a fix for PR 24753.  I believe that
fix to still be correct as linker created sections don't have a size on disk
and it fixes the Arm bootstrap regression. But in this case specifying the
correct section class also makes the stub section not be considered by
compress.c.

So I'm partially revert this change so that we don't have to manage the section
manually as implied by SEC_LINKER_CREATED.

bfd/ChangeLog:

	PR 25210
	PR 24753
	* elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.

ld/ChangeLog:

	PR 25210
	PR 24753
	* emultempl/aarch64elf.em (elf${ELFSIZE}_aarch64_add_stub_section):
	Remove SEC_LINKER_CREATED.
	* testsuite/ld-aarch64/aarch64-elf.exp: Add erratum835769-843419.
	* testsuite/ld-aarch64/erratum835769-843419.d: New test.
2020-01-02 14:08:27 +00:00
..
config Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-aarch64 AArch64: Set the correct ELF class for AArch64 stubs (PR/25210) 2020-01-02 14:08:27 +00:00
ld-alpha Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-arc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-arm Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-auto-import Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-avr Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-bootstrap Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-bpf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-cdtest Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-checks Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-cris Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-crx Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-csky
ld-cygwin Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-d10v Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-discard Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-elfcomm Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-elfvers Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-elfvsb Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-elfweak Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-fastcall Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-frv Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-gc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-h8300 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-i386 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-ia64 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-ifunc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-libs Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-linkonce Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-m68hc11 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-m68k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-mep Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-metag Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-mips-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-misc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-mmix Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-mn10300 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-msp430-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-nds32 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-nios2
ld-or1k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-pe Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-pie Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-plugin Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-powerpc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-pru
ld-riscv-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-s12z Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-s390 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-scripts Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-selective Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-sh Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-shared Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-size Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-sparc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-spu Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-srec Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-tic6x Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-tilegx Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-tilepro Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-undefined Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-unique Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-v850 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-vax-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-visium Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-vxworks Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-x86-64 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-xc16x Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-xstormy16 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-xtensa Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-z8k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
lib Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
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-9303