On Wed, Oct 26, 2016 at 06:29:49PM +0300, Michael Tokarev wrote: > 25.10.2016 11:31, Adrian Bunk wrote: > > -LD_REL := $(CC) -nostdlib -Wl,-r $(LD_REL_FLAGS) > > +LD_REL := $(CC) -nostdlib -r $(LD_REL_FLAGS) > Adrian, can you elaborate on this a bit please?
I really wish gcc manpage explained the difference :-/ > I'm not sure of the possible consequences of this. > Is this change good to be used upstream? > Does it work the same with older compilers? I've tested this with gcc 4.5 from the oldest supported distro for compiling qemu (suse11), and it works. Adrian, can you submit this to qemu-devel mailing list for upstream with your Signed-off-by? Or give us permission to submit the patch in your behalf? Riku