+2008-10-03 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/winnt.c (i386_pe_strip_name_encoding_full):
+ Revert previous change.
+
2008-10-03 Tom Tromey <tromey@redhat.com>
* stringpool.c (ggc_alloc_string): Terminate string.
(make_gcov_file_name): Likewise + convert the ':' DOS drive
separator to '~' to ensure clean filenames on Windows.
+2008-10-02 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * config/i386/winnt.c (i386_pe_strip_name_encoding_full):
+ Add a null terminator to the stripped name.
+
2008-10-02 David Edelsohn <edelsohn@gnu.org>
* config/rs6000/rs6000.c (USE_FP_FOR_ARG_P): Revert
/* Strip trailing "@n". */
p = strchr (name, '@');
if (p)
- {
- /* We need to replace the suffix with a null terminator.
- Do that before using ggc_alloc_string to allocate the
- const char *. */
- size_t len = p - name;
- char *newname = XALLOCAVEC (char, len + 1);
- memcpy (newname, name, len);
- newname [len] = 0;
- return ggc_alloc_string (newname, len);
- }
+ return ggc_alloc_string (name, p - name);
+
return name;
}
i386_pe_maybe_record_exported_symbol (decl, name, 1);
- fprintf (stream, "\t.comm\t");
+ switch_to_section (bss_section);
+ fprintf (stream, "\t.balign %d\n\t.comm \t", ((int) align) / BITS_PER_UNIT);
assemble_name (stream, name);
fprintf (stream, ", " HOST_WIDE_INT_PRINT_DEC "\t" ASM_COMMENT_START
" " HOST_WIDE_INT_PRINT_DEC "\n",