Re: [PATCH v3 1/9] fuzz: Make fork_fuzz.ld compatible with LLVM's LLD

2020-12-12 Thread Alexander Bulekov
On 201119 1706, Daniele Buono wrote: > Thanks Alex, > do you think you could also give it a try linking with LLD? > > just add --extra-ldflags="-fuse-ld=lld" > > I do see some small differences when moving from BFD ro LLD, but they should > not be of importance. The position of the data.fuzz* is

Re: [PATCH v3 1/9] fuzz: Make fork_fuzz.ld compatible with LLVM's LLD

2020-11-19 Thread Daniele Buono
Thanks Alex, do you think you could also give it a try linking with LLD? just add --extra-ldflags="-fuse-ld=lld" I do see some small differences when moving from BFD ro LLD, but they should not be of importance. The position of the data.fuzz* is kept. size -A on qemu-fuzz-i386, LTO DISABLED:

Re: [PATCH v3 1/9] fuzz: Make fork_fuzz.ld compatible with LLVM's LLD

2020-11-06 Thread Alexander Bulekov
On 201105 1718, Daniele Buono wrote: > LLVM's linker, LLD, supports the keyword "INSERT AFTER", starting with > version 11. > However, when multiple sections are defined in the same "INSERT AFTER", > they are added in a reversed order, compared to BFD's LD. > > This patch makes fork_fuzz.ld generi

[PATCH v3 1/9] fuzz: Make fork_fuzz.ld compatible with LLVM's LLD

2020-11-05 Thread Daniele Buono
LLVM's linker, LLD, supports the keyword "INSERT AFTER", starting with version 11. However, when multiple sections are defined in the same "INSERT AFTER", they are added in a reversed order, compared to BFD's LD. This patch makes fork_fuzz.ld generic enough to work with both linkers. Each section