fix assemble to properly look for whole symbols to replace
authorJacob Lifshay <programmerjake@gmail.com>
Fri, 6 Oct 2023 02:53:45 +0000 (19:53 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:21 +0000 (19:26 +0000)
commit6bd6bfe6fce7246c3df6cefabf8402161a134671
tree71308e85dabf7f2aac653b9b1ed26a9b2ff2a303
parent6527b22794a8542aeba9acc397047a004a9b84c0
fix assemble to properly look for whole symbols to replace

previously if there were labels foo and foobar, it would partially
replace foobar giving 0x<addr>bar, which is wrong.

also optimized to use dict instead of linear search for label names
src/openpower/test/util.py