On Sat, Oct 09, 2010 at 08:33:24AM +0800, cee1 wrote: > Hi Llufs, > > a.out is just a ELF file. (gcc a.c -o a.out). > I've tried patchelf once before and failed in an o32 environment. Sorry, I just thought that maybe you did not try a latest version. To make it work for mips n32, we made some changes.
Please try the latest: http://hydra.nixos.org/build/665373/download/2/patchelf-0.6pre23458.tar.bz2 > 2010/10/8 Lluís Batlle i Rossell <[email protected]> > > On Fri, Oct 08, 2010 at 02:59:42PM +0800, tangke wrote: > > > Hi,when I use the patchelf with loongson2f O32 system, and I download > > > the patchelf source code, compile > > > When I use the patchelf --set-interpreter /lib/ld.so.1 a.out and I get > > > the error message next: > > > > > > Cannot find .rel.dyn or .rel.got > > > > > > Maybe the exe file is not exists the .rel.dyn section or .rel.got section > > > > > > Can you help me ? > > Hello, > > > > I never tried patchelf on an o32 system. > > Are you sure a.out is a dynamic executable? > > > > Regards, > > Lluís. > > > > > > > -- > Regards, > > - cee1 -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.
