Fix a bug recently introduced to the linker where it would complain about a section...
authorNick Clifton <nickc@redhat.com>
Tue, 2 Jul 2019 13:14:13 +0000 (14:14 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 2 Jul 2019 13:14:13 +0000 (14:14 +0100)
commit125f83f66c10c89530d011f4f81324b1f43afcda
treefbe8efe47110bf9b0c6a07a225839ac3cf83d197
parent163b2c58bdbf0cba9a085574ae88d4c757c6567d
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.

PR 24753
bfd * compress.c (bfd_get_full_section_contents): Do not complain
about linker created sections that are larger than the file size.

ld * emultempl/aarch64elf.em (_aarch64_add_stub_section): Include the
LINKER_CREATED section flag when creating the stub section.
bfd/ChangeLog
bfd/compress.c
ld/ChangeLog
ld/emultempl/aarch64elf.em