Add a aarch64-capable version of gold linker.
authorAntonio Gomes <a1.gomes@samsung.com>
Fri, 27 Feb 2015 06:36:45 +0000 (22:36 -0800)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
In order to support ARM64 builds we need a version of linker
gold that actually supports aarch64. According to [1],
such support is a very recent addition to gold itself, and no
releases have been made yet.

Patch updates our statically linked binary of gold binary
off of binutils trunk [2] (SHA 9ad55e9b) which issues problems
including:

[ XXs] [131/339] SOLINK(module) libffmpegsumo.so
[ XXs] (...)/prebuild/ld: fatal error: /usr/aarch64-tizen-linux/usr/lib/../lib64/crti.o:
unsupported ELF machine number 183

[1] https://sourceware.org/ml/binutils/2014-10/msg00192.html
[2] git://sourceware.org/git/binutils-gdb.git

Patch is a step forward to support arm64 builds.
Reviewed by: Piotr Tworek, SeungSeop Park

Change-Id: I19e339354040ef9996cefad71091d62ca2ec4bc7
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/build/prebuild/ld.gold.static

index e734e2b..5956d3c 100755 (executable)
Binary files a/tizen_src/build/prebuild/ld.gold.static and b/tizen_src/build/prebuild/ld.gold.static differ