From 55a934330a2d2f84e4f972454adda275b02f7aef Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 24 Jan 2008 00:15:00 +0000 Subject: Originally from Craig Silverstein, with changes: support using a version script to force symbols to be local. --- gold/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/main.cc') diff --git a/gold/main.cc b/gold/main.cc index 5112223..a6c9872 100644 --- a/gold/main.cc +++ b/gold/main.cc @@ -86,7 +86,7 @@ write_debug_script(std::string filename_str, size_t slash = filename_str.rfind('/'); if (slash != std::string::npos) filename_str = filename_str.c_str() + slash + 1; - filename_str = std::string("/var/tmp/ld-run-") + filename_str + ".sh"; + filename_str = std::string("/tmp/ld-run-") + filename_str + ".sh"; const char* filename = filename_str.c_str(); FILE* fp = fopen(filename, "w"); if (fp) -- cgit v1.1