This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: DWARF for Darwin!
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 17 Mar 2006 11:32:35 +0530
- Subject: Re: DWARF for Darwin!
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <20060317002736.5FA332BCBCC2@geoffk5.apple.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Geoffrey Keating wrote:
> This patch implements full DWARF functionality for Darwin.
[...]
> Bootstrapped & tested on powerpc-darwin8.
This bit in dwarf2asm.c:
- ---------------------------- 8< ----------------------------
void
- -dw2_asm_output_offset (int size, const char *label,
+dw2_asm_output_offset (int size, const char *label, section * base,
const char *comment, ...)
{
va_list ap;
@@ -134,7 +135,7 @@
va_start (ap, comment);
#ifdef ASM_OUTPUT_DWARF_OFFSET
- - ASM_OUTPUT_DWARF_OFFSET (asm_out_file, size, label);
+ ASM_OUTPUT_DWARF_OFFSET (asm_out_file, size, label, base);
#else
dw2_assemble_integer (size, gen_rtx_SYMBOL_REF (Pmode, label));
#endif
- ---------------------------- 8< ----------------------------
causes a bootstrap failure on i686-pc-linux-gnu because
BASE is an unused variable.
Thanks,
Ranjit.
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://rmathew.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEGlD7Yb1hx2wRS48RAr9BAJ0TYc/tjAVNnGxUIraALL+/oh0LSgCggDmV
jX5xGNA7tIGrxIGOtG9IrL0=
=F2x5
-----END PGP SIGNATURE-----