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)
committerJacob Lifshay <programmerjake@gmail.com>
Thu, 30 Nov 2023 07:55:28 +0000 (23:55 -0800)
commitc840e3971976f8393549a06c9a89813a748d7e4f
tree71308e85dabf7f2aac653b9b1ed26a9b2ff2a303
parente69cfab7ce197c7ea4ec42173cea539905f95b11
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