Skip to content

Commit b8590c8

Browse files
author
Daniel Kroening
committed
cleanout
1 parent 939e0af commit b8590c8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/goto-cc/ld_mode.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ int ld_modet::doit()
339339
if(cmdline.isset("version"))
340340
{
341341
if(produce_hybrid_binary)
342-
return run_gcc(compiler);
342+
return run_ld(compiler);
343343

344344
std::cout << '\n' <<
345345
"Copyright (C) 2006-2014 Daniel Kroening, Christoph Wintersteiger\n" <<
@@ -356,7 +356,7 @@ int ld_modet::doit()
356356
cmdline.isset("print-sysroot-headers-suffix"))
357357
{
358358
if(produce_hybrid_binary)
359-
return run_gcc(compiler);
359+
return run_ld(compiler);
360360

361361
// GCC will only print one of these, even when multiple arguments are
362362
// passed, so we do the same
@@ -484,7 +484,7 @@ int ld_modet::doit()
484484

485485
if(compiler.source_files.empty() &&
486486
compiler.object_files.empty())
487-
return run_gcc(compiler); // exit!
487+
return run_ld(compiler); // exit!
488488

489489
// do all the rest
490490
if(compiler.doit())
@@ -498,7 +498,7 @@ int ld_modet::doit()
498498
return EX_OK;
499499
}
500500

501-
int ld_modet::run_gcc(const compilet &compiler)
501+
int ld_modet::run_ld(const compilet &compiler)
502502
{
503503
PRECONDITION(!cmdline.parsed_argv.empty());
504504

@@ -580,7 +580,7 @@ int ld_modet::gcc_hybrid_binary(compilet &compiler)
580580
}
581581
objcopy_cmd+="objcopy";
582582

583-
int result=run_gcc(compiler);
583+
int result=run_ld(compiler);
584584

585585
if(result==0)
586586
{

src/goto-cc/ld_mode.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class ld_modet:public goto_cc_modet
4444
/// \brief Associate CBMC architectures with processor names
4545
const std::map<std::string, std::set<std::string>> arch_map;
4646

47-
/// \brief call gcc with original command line
48-
int run_gcc(const compilet &compiler);
47+
/// \brief call ld with original command line
48+
int run_ld(const compilet &compiler);
4949

5050
int gcc_hybrid_binary(compilet &compiler);
5151
};

0 commit comments

Comments
 (0)