AArch64: Revert setting of elf class in linker stub.
authorTamar Christina <tamar.christina@arm.com>
Fri, 10 Jan 2020 13:48:57 +0000 (13:48 +0000)
committerTamar Christina <tamar.christina@arm.com>
Fri, 10 Jan 2020 13:51:08 +0000 (13:51 +0000)
commit8cd0e5e93145699736a370b271ff03f3f41670b0
tree3ebe13adc19996dc2946c7372922d5eb51c8d7a6
parentec4181f289f167663ed32483340d249a802321e5
AArch64: Revert setting of elf class in linker stub.

This changes the fix to PR 25210 by removing the ELF class change.
As it turns out the correct change was only the change in compress.c.

Everything else is unneeded and setting the elf class is making the linker
behave very oddly under LTO.  The first stub is correctly written out but for
the rest the suddenly don't have a pointer to the stub section anymore.

This caused SPEC to fail as the program would branch to the stub and it wouldn't
be filled in.

Committed to master under the trivial rule as this is partially reverting a previous commit.

bfd/ChangeLog:

PR 25210
* elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass.
bfd/ChangeLog
bfd/elfnn-aarch64.c
This page took 0.02409 seconds and 4 git commands to generate.