mirror of
https://github.com/ksherlock/merlin-utils.git
synced 2024-12-09 03:49:21 +00:00
fix import segment number
This commit is contained in:
parent
c85d401fbf
commit
5e6829e9ae
2
link.cpp
2
link.cpp
@ -498,7 +498,7 @@ static void import(const std::string &path, const std::string &name) {
|
||||
e->file = path;
|
||||
e->defined = true;
|
||||
e->value = seg.data.size();
|
||||
e->segment = segments.size()-1;
|
||||
e->segment = segments.back().segnum;
|
||||
|
||||
seg.data.insert(seg.data.end(), mf.data(), mf.data() + mf.size());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user