> On Wed, Mar 01, 2006 at 01:58:39PM +0800, Randolph Chung wrote: > >>The hppa target used to use a objfile private field to store some shared >>object information on HPUX. Most of that have been cleaned up, but there >>is one more instance in hpread.c. In fact, the current code in cvs will >>cause a crash because the objfile private field is not initialized. The >>patch changes hpread.c to use the solist interface. Tested lightly on >>hppa64-hp-hpux11.11. OK? I've redone this patch to be cleaner and also fixed a bug in my original proposal. The old code actually would return the TLS address from the so_list object that corresponded to a specific objfile, whereas my last patch made it return the TLS address from the first so_list object in the master_so_list(). This new patch: - removes the dependency on obj_private data - passes the objfile from the symbol reader to the solib interface to look up the corresponding TLS information Tested on hppa2.0w-hp-hpux11.11 and hppa64-hp-hpux11.11. ok? randolph