Changeset 238 for soft/giet_vm/memo/src/libelfpp
- Timestamp:
- May 29, 2013, 1:24:09 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/memo/src/libelfpp/elfpp_object.cc
r163 r238 129 129 130 130 131 void object::copy_info(object& obj) 132 { 133 this->word_width_ = obj.word_width_ ; 131 void object::copy_info(object& obj, size_t word_width) 132 { 133 134 if(word_width == 32) 135 this->word_width_ = ELFCLASS32; 136 else if(word_width == 64) 137 this->word_width_ = ELFCLASS64; 138 else 139 this->word_width_ = obj.word_width_ ; 140 134 141 this->byteorder_ = obj.byteorder_ ; 135 142 this->machine_ = obj.machine_ ;
Note: See TracChangeset
for help on using the changeset viewer.