On Fri, Nov 14, 2014 at 12:43 AM, Christos Zoulas <chris...@astron.com> wrote: > In article <m42jep$fu6$1...@ger.gmane.org>, > Christos Zoulas <chris...@astron.com> wrote: >>In article >><CADbF7edbi1NG5O2LZqoh42zoAMvdEYoMF3bLyr=Pynu0PZx9=q...@mail.gmail.com>, >> >>Can you please explain what you are trying to do and what are your goals? >>I am not sure if I agree that the list of link_sets is "well known". If >>you ask anyone to enumerate them they will probably resort to nm the >>kernel... > > Ok, I see the plan in config now, but I'd still prefer that the link > sets were discovered rather than hard-coded like it has been so far. > What do others think?
I can't answer everything soon but one reason coming to mind: I want to hide all "link_set_*" sections except "link_set_modules" in *.kmod. AFAIK linker script doesn't have a syntax to do ``merge everything except this pattern''. Thus I need to know all link-set sections explicitly.