@@ -339,7 +339,7 @@ int ld_modet::doit()
339
339
if (cmdline.isset (" version" ))
340
340
{
341
341
if (produce_hybrid_binary)
342
- return run_gcc (compiler);
342
+ return run_ld (compiler);
343
343
344
344
std::cout << ' \n ' <<
345
345
" Copyright (C) 2006-2014 Daniel Kroening, Christoph Wintersteiger\n " <<
@@ -356,7 +356,7 @@ int ld_modet::doit()
356
356
cmdline.isset (" print-sysroot-headers-suffix" ))
357
357
{
358
358
if (produce_hybrid_binary)
359
- return run_gcc (compiler);
359
+ return run_ld (compiler);
360
360
361
361
// GCC will only print one of these, even when multiple arguments are
362
362
// passed, so we do the same
@@ -484,7 +484,7 @@ int ld_modet::doit()
484
484
485
485
if (compiler.source_files .empty () &&
486
486
compiler.object_files .empty ())
487
- return run_gcc (compiler); // exit!
487
+ return run_ld (compiler); // exit!
488
488
489
489
// do all the rest
490
490
if (compiler.doit ())
@@ -498,7 +498,7 @@ int ld_modet::doit()
498
498
return EX_OK;
499
499
}
500
500
501
- int ld_modet::run_gcc (const compilet &compiler)
501
+ int ld_modet::run_ld (const compilet &compiler)
502
502
{
503
503
PRECONDITION (!cmdline.parsed_argv .empty ());
504
504
@@ -580,7 +580,7 @@ int ld_modet::gcc_hybrid_binary(compilet &compiler)
580
580
}
581
581
objcopy_cmd+=" objcopy" ;
582
582
583
- int result=run_gcc (compiler);
583
+ int result=run_ld (compiler);
584
584
585
585
if (result==0 )
586
586
{
0 commit comments