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, 1 Dec 2023 17:58:20 +0000 (17:58 +0000)
commit811912775a8de3606aecda381f40a122b915665f
tree4226492cf35305fd9140f447ddfdce98a8f5fd34
parent071e653c088166f2f8bc20fd82b8cbd15f791243
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