Reference to .debug_loc
Michal Ludvig
mludvig@suse.cz
Wed Feb 19 12:47:00 GMT 2003
Daniel Berlin wrote:
>
> Michael, try this:
> Index: dwarf2out.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/dwarf2out.c,v
> retrieving revision 1.382.2.8
> diff -u -3 -p -r1.382.2.8 dwarf2out.c
> --- dwarf2out.c 8 Feb 2003 19:43:32 -0000 1.382.2.8
> +++ dwarf2out.c 14 Feb 2003 21:09:27 -0000
> @@ -6924,8 +6924,7 @@ output_die (die)
>
> if (sym == 0)
> abort ();
> - dw2_asm_output_delta (DWARF_OFFSET_SIZE, sym,
> - loc_section_label, "%s", name);
> + dw2_asm_output_offset (DWARF_OFFSET_SIZE, sym, "%s", name);
> }
> break;
>
Yes, this works fine. Please commit it.
Thanks!
Michal Ludvig
--
* SuSE CR, s.r.o * mludvig@suse.cz
* (+420) 296.545.373 * http://www.suse.cz
More information about the Gcc
mailing list