This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Variable tracking (location lists support) - part 2


> > this patch adds location list support to dwarf2out.c.
> > This generates the location list debug info from the NOTE_INSN_VAR_LOCATION
> > notes produces by the first patch of variable tracking.
> > 
> > Bootstrapped/regtested x86-64 (standalone and together with the first part).
> > 
> > Josef
> > 
> > 2004-02-02  Daniel Berlin <dberlin@dberlin.org>
> >             Josef Zlomek  <zlomekj@suse.cz>
> > 
> >         * dwarf2out.c (struct gcc_debug_hooks): Call dwarf2out_begin_function
> >         :
> >         :
> 
> This patch unfortunately breaks the build of h8300-elf.  Specifically,
> I get assembler errors while compiling muldi3 of libgcc2.c.  Here is a
> minimized testcase and the errors I get.
> 
> int
> foo (int a)
> {
>   return a;
> }
> 
> /tmp/cchHQ5CR.s: Assembler messages:
> /tmp/cchHQ5CR.s:75: Error: can't resolve `.LVL0' {.text section} - `_.text' {*UND* section}
> /tmp/cchHQ5CR.s:76: Error: can't resolve `.LVL1' {.text section} - `_.text' {*UND* section}
> /tmp/cchHQ5CR.s:75: Error: Difference of symbols in different sections is not supported
> /tmp/cchHQ5CR.s:76: Error: Difference of symbols in different sections is not supported

There is a patch (http://gcc.gnu.org/ml/gcc-patches/2004-02/msg00826.html)
from Daniel Berlin submited several days before which should fix this. 

Josef


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]