commit | b54e11862878cf88a427fa225407d1128abd21f2 | [log] [tgz] |
---|---|---|
author | Deyuan Guo ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <guodeyuan@tsinghua.org.cn> | Wed Apr 17 16:07:19 2013 -0500 |
committer | Deyuan Guo ext:(%2C%20Nilay%20Vaish%20%3Cnilay%40cs.wisc.edu%3E) <guodeyuan@tsinghua.org.cn> | Wed Apr 17 16:07:19 2013 -0500 |
tree | 66f09330565822fd9123de93feebd3718a7fbd69 | |
parent | 3ff091bdf401113057c26cf1087cf0e872154265 [diff] |
base: load weak symbols from object file Without loading weak symbols into gem5, some function names and the given PC cannot correspond correctly, because the binding attributes of unction names in an ELF file are not only STB_GLOBAL or STB_LOCAL, but also STB_WEAK. This patch adds a function for loading weak symbols. Committed by: Nilay Vaish <nilay@cs.wisc.edu>