Blame SOURCES/binutils-DWARF-5-FORM_ref_addr.patch

2e9b04
--- binutils.orig/bfd/dwarf2.c	2021-05-18 12:00:10.363028020 +0100
2e9b04
+++ binutils-2.35.2/bfd/dwarf2.c	2021-05-18 12:01:09.930831909 +0100
2e9b04
@@ -1194,7 +1194,7 @@ read_attribute_value (struct attribute *
2e9b04
     case DW_FORM_ref_addr:
2e9b04
       /* DW_FORM_ref_addr is an address in DWARF2, and an offset in
2e9b04
 	 DWARF3.  */
2e9b04
-      if (unit->version == 3 || unit->version == 4)
2e9b04
+      if (unit->version >= 3)
2e9b04
 	{
2e9b04
 	  if (unit->offset_size == 4)
2e9b04
 	    attr->u.val = read_4_bytes (unit->abfd, info_ptr, info_ptr_end);