[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] only link current target arch traces to qemu-sy
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] only link current target arch traces to qemu-system |
Date: |
Fri, 24 Mar 2017 15:29:46 +0000 |
User-agent: |
Mutt/1.8.0 (2017-02-23) |
On Fri, Mar 24, 2017 at 12:29:39AM +0000, Xu, Anthony wrote:
> > Perhaps all trace.o files should be put into their own .a instead of
> > being added directly to the linker line:
> >
> > COMMON_LDADDS = $(trace-obj-y) libqemuutil.a libqemustub.a
> >
> > I think the linker would only pull in .o files containing symbols that are
> > actually referenced by the program.
>
> Hi Stefan,
>
> That's a good idea!
>
> Below patch creates libqemutrace.a. ./trace.o, ./qapi/trace.o and
> ./util/trace.o are added into libqemuutil.a to avoid recursive dependencies
> between libqemuutil.a and libqemutrace.a.
Please see the guidelines for submitting patches:
http://wiki.qemu-project.org/Contribute/SubmitAPatch
Each patch revision should be sent as a separate email thread.
Each patch series must have your Signed-off-by and a commit
message/description.
Stefan
signature.asc
Description: PGP signature