This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

PATCH: opcodes/m32c-desc.c failed to compile


On Wed, Nov 02, 2005 at 08:53:17AM -0800, H. J. Lu wrote:
> When I configured binutils with --enable-targets=all, I got
> 
> gcc -DHAVE_CONFIG_H -I.
> -I/export/gnu/src/binutils-import/binutils/opcodes -I. -D_GNU_SOURCE
> -I. -I/export/gnu/src/binutils-import/binutils/opcodes -I../bfd
> -I/export/gnu/src/binutils-import/binutils/opcodes/../include
> -I/export/gnu/src/binutils-import/binutils/opcodes/../bfd
> -I/export/gnu/src/binutils-import/binutils/opcodes/../intl -I../intl -W
> -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c -o
> m32c-desc.o
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19266:
> warning: missing braces around initializer
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19266:
> warning: (near initialization for
> `m32c_cgen_insn_table[3319].attrs.nonbool[0]')
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19266:
> warning: initialization makes pointer from integer without a cast
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19271:
> warning: initialization makes pointer from integer without a cast
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19276:
> warning: initialization makes pointer from integer without a cast
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19281:
> warning: initialization makes pointer from integer without a cast
> /export/gnu/src/binutils-import/binutils/opcodes/m32c-desc.c:19286:
> warning: initialization makes pointer from integer without a cast
> make[2]: *** [m32c-desc.lo] Error 1
> make[2]: Leaving directory
> `/export/build/gnu/binutils-import-all/build-x86_64-linux/opcodes'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/export/build/gnu/binutils-import-all/build-x86_64-linux/opcodes'
> make: *** [all] Error 2
> 
> 

This patch makes it to compile.


H.J.
----
2005-11-02  H.J. Lu  <hongjiu.lu@intel.com>

	* m32c-desc.c: Regenerated.

--- opcodes/m32c-desc.c.cgen	2005-10-29 16:08:37.000000000 -0700
+++ opcodes/m32c-desc.c	2005-11-02 08:59:28.000000000 -0800
@@ -19263,27 +19263,27 @@ static const CGEN_IBASE m32c_cgen_insn_t
 /* not.b:s r0l */
   {
     M32C_INSN_NOT16_B_S_DST16_3_S_R0L_DIRECT_QI, "not16.b.s-dst16-3-S-R0l-direct-QI", "not.b:s", 8,
-    { 0, { (1<<MACH_BASE), (1<<ISA_M16C) } }
+    { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\x80" } } } }
   },
 /* not.b:s r0h */
   {
     M32C_INSN_NOT16_B_S_DST16_3_S_R0H_DIRECT_QI, "not16.b.s-dst16-3-S-R0h-direct-QI", "not.b:s", 8,
-    { 0, { (1<<MACH_BASE), (1<<ISA_M16C) } }
+    { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\x80" } } } }
   },
 /* not.b:s ${Dsp-8-u8}[sb] */
   {
     M32C_INSN_NOT16_B_S_DST16_3_S_8_8_SB_RELATIVE_QI, "not16.b.s-dst16-3-S-8-8-SB-relative-QI", "not.b:s", 16,
-    { 0, { (1<<MACH_BASE), (1<<ISA_M16C) } }
+    { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\x80" } } } }
   },
 /* not.b:s ${Dsp-8-s8}[fb] */
   {
     M32C_INSN_NOT16_B_S_DST16_3_S_8_8_FB_RELATIVE_QI, "not16.b.s-dst16-3-S-8-8-FB-relative-QI", "not.b:s", 16,
-    { 0, { (1<<MACH_BASE), (1<<ISA_M16C) } }
+    { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\x80" } } } }
   },
 /* not.b:s ${Dsp-8-u16} */
   {
     M32C_INSN_NOT16_B_S_DST16_3_S_8_16_ABSOLUTE_QI, "not16.b.s-dst16-3-S-8-16-absolute-QI", "not.b:s", 24,
-    { 0, { (1<<MACH_BASE), (1<<ISA_M16C) } }
+    { 0, { { { (1<<MACH_BASE), 0 } }, { { 1, "\x80" } } } }
   },
 /* not.w${G} $Dst32RnUnprefixedHI */
   {


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