[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070927082620.GA29452@uranus.ravnborg.org>
Date: Thu, 27 Sep 2007 10:26:20 +0200
From: Sam Ravnborg <sam@...nborg.org>
To: Henry Nestler <Henry.Ne@...or.de>
Cc: linux-kernel@...r.kernel.org, Roland McGrath <roland@...hat.com>
Subject: Re: kbuild: LDFLAGS_MODULE unusable for external module builds (2.6.23-rc2)
Hi Henry.
Snipped a very detaild an good example...
Thanks for your comprehensive feedback on this topic.
>
> Idea for future:
> An 'APPEND_LDFLAGS' would be nice to append flags behind the last .o
> object. Than can be close the group with --end-group.
>
> Exactly linker call would be with grouping only archives, and the group
> block behind the last object, for example:
> ld -m elf_i386 -r -o module.o file1.o --start-group A/lib.a B/lib.a
> --end-group
>
> But remember: We can very good live with EXTRA_LDFLAGS, it's usable in
> all 2.6 kernels.
As there is no dire need for it now I will not add EXTRA_APPEND_LDFLAGS.
But I will keep your suggestion in mind should it be useful to solve the
hackish use in the vdso Makefile's.
Thanks for your feedback and do not hesistate to ask if you run into
additional troubles in the future.
Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists