aboutsummaryrefslogtreecommitdiff
path: root/gold/main.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2008-01-24 00:15:00 +0000
committerIan Lance Taylor <iant@google.com>2008-01-24 00:15:00 +0000
commit55a934330a2d2f84e4f972454adda275b02f7aef (patch)
tree042b4651da2f08fc6f83926312362580c224ed24 /gold/main.cc
parent7af3fd65aa8d8eeab9d078b882397e3f152e1762 (diff)
downloadgdb-55a934330a2d2f84e4f972454adda275b02f7aef.zip
gdb-55a934330a2d2f84e4f972454adda275b02f7aef.tar.gz
gdb-55a934330a2d2f84e4f972454adda275b02f7aef.tar.bz2
Originally from Craig Silverstein, with changes: support using a
version script to force symbols to be local.
Diffstat (limited to 'gold/main.cc')
-rw-r--r--gold/main.cc2
1 files changed, 1 insertions, 1 deletions
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)