Skip to content

Commit

Permalink
kfreebsd also uses ELF, and hybrid binaries are thus supported
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jul 7, 2018
1 parent 8187bdd commit 60ad26c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/goto-cc/as_mode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ int as_modet::as_hybrid_binary()
debug() << "merging " << output_file << eom;
std::string saved=output_file+".goto-cc-saved";

#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD_kernel__)
if(result==0)
{
// remove any existing goto-cc section
Expand Down
2 changes: 1 addition & 1 deletion src/goto-cc/hybrid_binary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int hybrid_binary(

int result;

#ifdef __linux__
#if defined(__linux__) || defined(__FreeBSD_kernel__)
std::string objcopy_cmd;

if(has_suffix(compiler_or_linker, "-ld"))
Expand Down

0 comments on commit 60ad26c

Please sign in to comment.