Skip to content

Commit

Permalink
Merge pull request iovisor#1729 from sandip4n/sandip4n_dev
Browse files Browse the repository at this point in the history
Fix bpf_trace_printk() for big-endian targets
  • Loading branch information
yonghong-song committed May 3, 2018
2 parents bd8f086 + 2af81df commit dad0ad1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cc/bpf_module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,6 @@ int BPFModule::finalize() {
std::map<std::string, std::tuple<uint8_t *, uintptr_t>> tmp_sections,
*sections_p;

mod->setDataLayout("e-m:e-p:64:64-i64:64-n32:64-S128");
mod->setTargetTriple("bpf-pc-linux");
sections_p = rw_engine_enabled_ ? &sections_ : &tmp_sections;

Expand Down

0 comments on commit dad0ad1

Please sign in to comment.