assembler error when redefining file numbers.
* config.in, configure: Rebuild.
+ * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
+ (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
+ (dw2_asm_output_delta_uleb128): Likewise.
+ (dw2_asm_output_delta_sleb128): Similarly.
+ (dw2_asm_output_data_sleb128): Similarly. Print number in decimal.
+
2001-03-16 Michael Meissner <meissner@redhat.com>
* mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
comment = va_arg (ap, const char *);
#endif
+ if (size * 8 < HOST_BITS_PER_WIDE_INT)
+ value &= ~(~(unsigned HOST_WIDE_INT)0 << (size * 8));
+
#ifdef UNALIGNED_INT_ASM_OP
fputs (unaligned_integer_asm_op (size), asm_out_file);
fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, value);
#endif
#ifdef HAVE_AS_LEB128
- fputs ("\t.uleb128\t", asm_out_file);
+ fputs ("\t.uleb128 ", asm_out_file);
fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, value);
if (flag_debug_asm && comment)
#endif
#ifdef HAVE_AS_LEB128
- fputs ("\t.sleb128\t", asm_out_file);
- fprintf (asm_out_file, HOST_WIDE_INT_PRINT_HEX, value);
+ fputs ("\t.sleb128 ", asm_out_file);
+ fprintf (asm_out_file, HOST_WIDE_INT_PRINT_DEC, value);
if (flag_debug_asm && comment)
{
#endif
#ifdef HAVE_AS_LEB128
- fputs ("\t.uleb128\t", asm_out_file);
+ fputs ("\t.uleb128 ", asm_out_file);
assemble_name (asm_out_file, lab1);
fputc ('-', asm_out_file);
assemble_name (asm_out_file, lab2);
#endif
#ifdef HAVE_AS_LEB128
- fputs ("\t.sleb128\t", asm_out_file);
+ fputs ("\t.sleb128 ", asm_out_file);
assemble_name (asm_out_file, lab1);
fputc ('-', asm_out_file);
assemble_name (asm_out_file, lab2);