2015-09-04 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
gcc/
* config/i386/intelmic-mkoffload.c (prepare_target_image): Fix if the
temp path contains a '-'.
From-SVN: r227489
+2015-09-04 Jonas Hahnfeld <Hahnfeld@itc.rwth-aachen.de>
+
+ * config/i386/intelmic-mkoffload.c (prepare_target_image): Fix if the
+ temp path contains a '-'.
+
2015-09-04 Andrey Turetskiy <andrey.turetskiy@intel.com>
Petr Murzin <petr.murzin@intel.com>
Kirill Yukhin <kirill.yukhin@intel.com>
for (size_t i = 0; i <= symbol_name_len; i++)
{
char c = target_so_filename[i];
- if ((c == '/') || (c == '.'))
+ if (c == '/' || c == '.' || c == '-')
c = '_';
symbol_name[i] = c;
}