Patch rtems-rc-19991105-2.diff from Ralf Corsepius <corsepiu@…>. His comments follow:
This is a minor enhancement to shgen, which should not have any side-effects.