+2011-03-09 Michael Snyder <msnyder@vmware.com>
+
+ * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
+ (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
+ (emit_fixed_inc_line_addr): Assign instead of conditional
+ in assert.
+
2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c (elf_frob_symbol): Mention symbol name in
symbolS *to_sym;
expressionS exp;
- gas_assert (pexp->X_op = O_subtract);
+ gas_assert (pexp->X_op == O_subtract);
to_sym = pexp->X_add_symbol;
*p++ = DW_LNS_extended_op;
size = strlen (dir) + 1;
cp = frag_more (size);
memcpy (cp, dir, size);
+ xfree ((char *) dir);
}
/* Terminate it. */
out_byte ('\0');
memcpy (p, dirname, len);
INSERT_DIR_SEPARATOR (p, len);
#endif
+ xfree ((char *) dirname);
}
len = strlen (files[1].filename) + 1;
p = frag_more (len);
len = strlen (comp_dir) + 1;
p = frag_more (len);
memcpy (p, comp_dir, len);
+ xfree ((char *) comp_dir);
/* DW_AT_producer */
sprintf (producer, "GNU AS %s", VERSION);