Mercurial > hg > CbC > CbC_gcc
diff gcc/dwarf2asm.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/dwarf2asm.c Fri Feb 12 23:41:23 2010 +0900 +++ b/gcc/dwarf2asm.c Mon May 24 12:47:05 2010 +0900 @@ -1,5 +1,5 @@ /* Dwarf2 assembler output helper routines. - Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009 + Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. This file is part of GCC. @@ -80,14 +80,14 @@ if (BYTES_BIG_ENDIAN) { for (i = size - 1; i > 0; --i) - fprintf (asm_out_file, "0x%x,", bytes[i]); - fprintf (asm_out_file, "0x%x", bytes[0]); + fprintf (asm_out_file, "%#x,", bytes[i]); + fprintf (asm_out_file, "%#x", bytes[0]); } else { for (i = 0; i < size - 1; ++i) - fprintf (asm_out_file, "0x%x,", bytes[i]); - fprintf (asm_out_file, "0x%x", bytes[i]); + fprintf (asm_out_file, "%#x,", bytes[i]); + fprintf (asm_out_file, "%#x", bytes[i]); } } @@ -549,7 +549,7 @@ /* More bytes to follow. */ byte |= 0x80; - fprintf (asm_out_file, "0x%x", byte); + fprintf (asm_out_file, "%#x", byte); if (value == 0) break; fputc (',', asm_out_file); @@ -591,7 +591,7 @@ if (byte_op) { - fprintf (asm_out_file, "0x%x", byte); + fprintf (asm_out_file, "%#x", byte); if (work != 0) fputc (',', asm_out_file); } @@ -633,7 +633,7 @@ if (more) byte |= 0x80; - fprintf (asm_out_file, "0x%x", byte); + fprintf (asm_out_file, "%#x", byte); if (!more) break; fputc (',', asm_out_file); @@ -678,7 +678,7 @@ if (byte_op) { - fprintf (asm_out_file, "0x%x", byte); + fprintf (asm_out_file, "%#x", byte); if (more) fputc (',', asm_out_file); } @@ -877,6 +877,7 @@ DECL_ARTIFICIAL (decl) = 1; DECL_IGNORED_P (decl) = 1; DECL_INITIAL (decl) = decl; + TREE_READONLY (decl) = 1; if (TREE_PUBLIC (id)) {