The comment above needs some updating too. Something along these lines:
/* exclude also MIPS ELF local symbols (eg. $L123) and h8300 (eg .LM10) */
Other than that, the patch seems fine.
--
Paulo Marques - www.grupopie.com
"...so she told me it was either her or the ham radio, over."
--