Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-22 Thread Michael Ellerman
On Tue, 2014-07-22 at 16:13 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2014-07-21 at 14:56 -0400, Steven Rostedt wrote: > > > Weird ... what are your gcc and binutils versions ? Smells like a > > > toolchain issue to me but I need to dig a bit more. Doesn't hit any > > > of my test configs here

Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-21 Thread Benjamin Herrenschmidt
On Mon, 2014-07-21 at 14:56 -0400, Steven Rostedt wrote: > > Weird ... what are your gcc and binutils versions ? Smells like a > > toolchain issue to me but I need to dig a bit more. Doesn't hit any > > of my test configs here. > > > > Can you test the attached config with this toolchain and see

Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-14 Thread Steven Rostedt
On Tue, 15 Jul 2014 12:05:55 +1000 Benjamin Herrenschmidt wrote: > Cheers, > Ben. > While I got your attention, could you please ack my patch with subject: [RFA][PATCH 09/27] powerpc/ftrace: Add call to ftrace_graph_is_dead() in function graph code so that I can push it through my tree. Th

Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-14 Thread Steven Rostedt
On Tue, 15 Jul 2014 12:05:55 +1000 Benjamin Herrenschmidt wrote: > On Mon, 2014-07-14 at 20:12 -0400, Steven Rostedt wrote: > > I wanted to test some new ftrace code on my PASemi electra powerpc box. > > But unfortunately it failed to build. It failed with this: > > > > LD init/built-in.o

Re: [PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-14 Thread Benjamin Herrenschmidt
On Mon, 2014-07-14 at 20:12 -0400, Steven Rostedt wrote: > I wanted to test some new ftrace code on my PASemi electra powerpc box. > But unfortunately it failed to build. It failed with this: > > LD init/built-in.o > arch/powerpc/kernel/head_64.o:arch/powerpc/kernel/exceptions-64s.S:874: >

[PATCH] powerpc: Revert removing of _INIT_GLOBAL(), _STATIC() and _INIT_STATIC()

2014-07-14 Thread Steven Rostedt
I wanted to test some new ftrace code on my PASemi electra powerpc box. But unfortunately it failed to build. It failed with this: LD init/built-in.o arch/powerpc/kernel/head_64.o:arch/powerpc/kernel/exceptions-64s.S:874: relocation truncated to fit: R_PPC64_REL14 against `.text'+1c90 Mak