On Sun, 7 Aug 2016, Stephen Rothwell wrote: > Hi Sam, > > On Sat, 6 Aug 2016 22:10:45 +0200 Sam Ravnborg <s...@ravnborg.org> wrote: > > > > Did you by any chance evalue the use of INPUT in linker files. > > Stephen back then (again based on proposal from Alan Modra), > > also made an implementation using INPUT. > > The problem with that idea was that (at least for some versions of > binutils in use at the time) we hit a static limit to the number of > object files and ld just stopped at that point. :-(
I played with a nearly identical patch to work around the inability to do LTO and 'ld -r' with mainline binutils. However this also requires major changes to modpost otherwise it becomes ineffective. Nicolas