On Thu, 12 Jun 2008 15:03:35 +0930 Alan Modra <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 12, 2008 at 11:38:19AM +1000, Paul Mackerras wrote: > > Direct unconditional branches, including procedure calls, can only > > reach +/- 32MB from the address of the branch on powerpc. So if the > > image grows to more than 32MB of text there is a problem unless the > > linker is smart enough to insert trampolines. I don't know whether > > GNU ld is that smart. > > It is, but you need to pass --relax to enable generation of the > trampolines.
So I tried this (added --relax to LDFLAGS_vmlinux if CONFIG FTRACE was set) and got this; /usr/bin/ld: --relax and -r may not be used together So, I will disable FTRACE on powerpc for now by removing HAVE_FTRACE from being selected in arch/powerpc/Kconfig. -- Cheers, Stephen Rothwell [EMAIL PROTECTED] http://www.canb.auug.org.au/~sfr/
pgpJHcMNRkkt9.pgp
Description: PGP signature
_______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev