Symbols relative to discarded comdat sections are Undefined instead of Defined now (after D59649 and D61583). The == &InputSection::Discarded test is now dead. I cannot find a test related to this behavior.
LGTM
Nice!