Skip to content

Please backport r341312 - [Aarch64] Fix linker emulation for Aarch64 big endian #38816

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 39468
Resolution FIXED
Resolved on Nov 01, 2018 18:58
Version trunk
OS Linux
Blocks #38454
Reporter LLVM Bugzilla Contributor
CC @smithp35,@tstellar
Fixed by commit(s) r341312 r345920

Extended Description

I've received a bug report from our AArch64 team that clang fails on big-endian userspace. Apparently, it has been already fixed in trunk and since the fix is quite obvious, I'd like to request backporting it to 7.0.1.

The commit is r341312, i.e.:


[Aarch64] Fix linker emulation for Aarch64 big endian

This patch fixes target linker emulation for aarch64 big endian.
aarch64_be_linux is not recognized by gnu ld. The equivalent emulation
mode supported by gnu ld is aarch64linuxb.

Patch by: Bharathi Seshadri

Reviewed by: Peter Smith

Differential Revision: https://reviews.llvm.org/D42930

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@341312 91177308-0d34-0410-b5e6-96231b3b80d8

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions