"Ulrich Weigand" <uweig...@de.ibm.com> writes: > Ian Lance Taylor wrote: >> "Ulrich Weigand" <uweig...@de.ibm.com> writes: >> >> > I've verified that this works on x86_64: the resulting >> > libgfortran.so uses the -fPIC version of the libbacktrace >> > object, while libgfortran.a uses the non-PIC versions. >> > >> > On SPU, libtool will now automatically only generate the >> > non-PIC versions since the target does not support shared >> > library. So everything works as expected. >> > >> > OK for mainline? >> >> Can you verify that libgo works as expected? > > Looks correct to me: On x86_64, libgo.so contains -fPIC > versions of the backtrace routine, while libgo.a contains > non-PIC versions. (There's no Go support on SPU.)
Your patch to libbacktrace is OK. Thanks. Ian