Hi Larry, On Fri, Feb 8, 2013 at 4:11 PM, Larry Baker <ba...@usgs.gov> wrote: > Steve, > > I found this at > http://gcc.gnu.org/onlinedocs/gcc-4.5.4/gcc/M680x0-Options.html. I don't > know if gcc 4.3.2 has this option, but it's worth a try. Maybe you only > have to use this in certain routines? Maybe not, if there is just one GOT > for the entire program. Other google hits for "relocation truncated to fit: > R_68K_GOT16O" said to remove XIP options or shared library, like -msep-data. > I'm not sure that is possible on a ColdFire. I noticed you are using -O1. > Did you try -Os? My ColdFire distribution uses -Os.
Yes, my research came up with the -mxgot option also. Tried that and came up with a problem where the elf2flt doesn't like the larger GOT format. Aparently it's a problem my client has been fighting with for a long time and I was able to define out a log statement and that killed enough strings (5,000 log strings!) in the project to get it to build. Basically I was told: "Get it to build and we'll deal with the problem over here." Done. -Os helped some also, but not with the GOT issue. But size-wise it helped. Upgrading to Linux 3.2 from 2.4 (and the other apps) has increased our total image size by nearly 50% and we're starting to bump into size issues. I'm having to kill off some useful technician and debugging utilities now. Thanks for the help. - Steve _______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev