Subject: Re: modified crunchgen
To: David Laight <>
From: Rafal Boni <>
List: tech-userlevel
Date: 11/13/2003 13:45:33
In message <>, you write: 

-> I've modified crunchgen so that it no longer needs to parse each program's
-> Makefile to find the list of objects to build.  Instead it relies on the
-> program's Makefile having a ${PROG}.ro: ld -r ${OBJS} ${.TARGET} rule.
-> Also changed:
-> - Delete code for RENAME_SYMS - all getting too hard!

Hmm, I think this was necessary for MIPS with 2.95.3 and the 2.95.3-era
binutils, otherwise we'd overflow the GOT building large crunched binaries
(this is why the 1.6-branch MIPS installers don't have dhcp support; linking
in dhclient tipped the crunched binary used by the installer over the edge).

I haven't looked at the state of all this after the integraton of the new
gcc & binutils, but you should probably verify that it won't kill MIPS ports
before ripping it out (making sure rescue builds is a start; I think it 
didn't on MIPS platforms before Simon added the renaming code).


Rafal Boni                                           
  We are all worms.  But I do believe I am a glowworm.  -- Winston Churchill