[gold] First patch for aarch64 backend

Jing Yu jingyu@google.com
Wed Jun 25 23:47:00 GMT 2014


Hi,

We start to work on gold aarch64 backend. Here is the first patch.
This patch is just a skeleton which almost does nothing.
The change that enables gold for aarch64 in top level configure was
removed from this patch.

Tested:
1) On x86_64,
${binutils}/configure --build=x86_64-unknown-linux-gnu
--host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu
--enable-plugins --disable-multilib --disable-nls --enable-threads
--enable-gold=default --enable-targets=all
$make all-gold

Also built with -O1 and -O0.

2) On aarch64,
gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-19ubuntu1)
$ ../binutils-gdb/configure --enable-plugins --disable-multilib
--disable-nls --enable-threads --enable-gold=default
--enable-targets=all
$make all-gold
Also built with -O1 and -O0.

The generated native gold/ld-new is able to read hello.o and libc.so.

Thanks,
Jing
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gold_aarch64_0.patch
Type: text/x-patch
Size: 59339 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20140625/bc976d70/attachment.bin>


More information about the Binutils mailing list