From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Peter Nilsson To: Alan Modra Cc: Ben Elliston , Subject: Re: line number tracking for local labels Date: Mon, 17 Sep 2001 20:43:00 -0000 Message-id: References: <20010917180503.K27386@bubble.sa.bigpond.net.au> X-SW-Source: 2001-09/msg00328.html On Mon, 17 Sep 2001, Alan Modra wrote: > On Mon, Sep 17, 2001 at 03:52:20AM -0400, Hans-Peter Nilsson wrote: > What fixS? sym->sy_frag isn't much use either, as that should give the > start of the frag where the sym was defined, not the line where the sym > was referenced. Ok, I see now. Here, we're crawling the symbol chain, and there's no handle to any user of the symbol. Usually we have the "current" frag or fix nearby, when something is wrong with an operand or such. I guess one could crawl all frags and try to find one/all users if the error message is important enough. brgds, H-P