From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Lance Taylor To: mklein@dis.com Cc: binutils@sourceware.cygnus.com Subject: Re: HPPA/SOM Patch Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: <19990604182232.8616.qmail@daffy.airs.com> References: <199906041738.KAA23662@dis.dis.com> <199906041738.KAA23662@dis.dis.com> <4.1.19990604110845.00bb5100@garfield.dis.com> <4.1.19990604110845.00bb5100@garfield.dis.com> X-SW-Source: 1999-q2/msg00128.html Date: Fri, 04 Jun 1999 11:11:37 -0700 From: Mark Klein At 02:01 PM 6/4/99 -0400, Ian Lance Taylor wrote: >Unfortunately, I can't easily test this, because I can't compile som.h >in a cross configuration. Can you do some more debugging on it? It's >presumably due to a call to symbol_new from local_symbol_convert, but >what is causing local_symbol_convert to be called? Ah ... symbol_mark_used_in_reloc called from hppa_fix_adjustable. OK, what's calling that? hppa_fix_adjustable should normally be called by adjust_reloc_syms. However, adjust_reloc_syms is called before set_symtab, which is where the symbol table is frozen. So I'm clearly missing something. Is it true that set_symtab is called before the error occurs? If so, why is hppa_fix_adjustable being called after set_symtab? If not, why is the error occurring? Ian