It seems that when DJ converted TARGET_PROMOTE_PROTOTYPES to a hook, he added a parameter type that was never documented; the name and its initial usage indicate that it was intended to get the type of a function. Later Kazu converted remaining uses of the macro to use the hook, but those calls pass the individual parameter type instead. SH seems to be the only target that cares about the parameter; is this inconsistency causing trouble there?
Jason