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: DWARF for Darwin!


-----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-----


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