mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-25 04:35:28 +08:00
gcov-tool.c (gcov_output_files): Fix build error introduced in commit r212448.
2014-07-11 Rong Xu <xur@google.com> * gcov-tool.c (gcov_output_files): Fix build error introduced in commit r212448. From-SVN: r212462
This commit is contained in:
parent
cba4ea9e2d
commit
68f6800408
@ -1,3 +1,8 @@
|
|||||||
|
2014-07-11 Rong Xu <xur@google.com>
|
||||||
|
|
||||||
|
* gcov-tool.c (gcov_output_files): Fix build error introduced in
|
||||||
|
commit r212448.
|
||||||
|
|
||||||
2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
|
2014-07-11 Pitchumani Sivanupandi <pitchumani.s@atmel.com>
|
||||||
|
|
||||||
* config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
|
* config/avr/avr-arch.h (avr_mcu_t): Add text section start attribute.
|
||||||
|
@ -90,8 +90,8 @@ gcov_output_files (const char *out, struct gcov_info *profile)
|
|||||||
/* Try to make directory if it doesn't already exist. */
|
/* Try to make directory if it doesn't already exist. */
|
||||||
if (access (out, F_OK) == -1)
|
if (access (out, F_OK) == -1)
|
||||||
{
|
{
|
||||||
#ifdef TARGET_POSIX_IO
|
#if !defined(_WIN32)
|
||||||
if (mkdir (out, 0755) == -1 && errno != EEXIST)
|
if (mkdir (out, S_IRWXU | S_IRWXG | S_IRWXO) == -1 && errno != EEXIST)
|
||||||
#else
|
#else
|
||||||
if (mkdir (out) == -1 && errno != EEXIST)
|
if (mkdir (out) == -1 && errno != EEXIST)
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user