Hi, this is the main part of the patch, which fixes the range end handling, and depends on the is_weak line table flag from the previous patch. I moved the entry_pc handling fix to a follow-up patch, as the test cases do not depend on it. Thanks Bernd.