I've noticed that a lib/sh/compat.c file was added that still provides the declaration for the legacy legal_ functions.
The bash executable I was getting from building the devel branch did not have those symbols though. The reason was that lib/sh/Makefile was not getting regenerated, so the recipe for libsh.a did not include compat.o. Re-building bash from a clean tree correctly produces a bash with legal_ symbols. o/ emanuele6