diff options
author | 2022-02-14 08:11:42 (GMT) | |
---|---|---|
committer | 2022-02-14 08:11:42 (GMT) | |
commit | 681aaef1f1ff39c341fdc529e0db2c14639a58d8 (patch) | |
tree | ce98c2b3d9648db065d27add325370392a35d584 /packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch | |
parent | ba680a3e5b8c62a7c1554e71f6d09903dac95a2f (diff) | |
parent | 86c2982568de1ad4d4cc12a65b19231331484405 (diff) |
Merge pull request #1674 from stilor/master
Updates to make `ct-ng build-all` pass
Diffstat (limited to 'packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch')
-rw-r--r-- | packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch b/packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch index b6b4496..674347f 100644 --- a/packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch +++ b/packages/binutils/2.35.1/0009-Import-patch-from-mainline-to-fix-decoding-DWARF-inf.patch @@ -8,11 +8,13 @@ Subject: [PATCH] Import patch from mainline to fix decoding DWARF information * dwarf2.c (scan_unit_for_symbols): Add member entries to the variable table. --- -diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c -index b8f0008a10d..977bf43a6a1 100644 +--- + bfd/dwarf2.c | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c -@@ -3404,7 +3404,8 @@ scan_unit_for_symbols (struct comp_unit *unit) +@@ -3404,7 +3404,8 @@ else { func = NULL; @@ -22,7 +24,7 @@ index b8f0008a10d..977bf43a6a1 100644 { size_t amt = sizeof (struct varinfo); var = (struct varinfo *) bfd_zalloc (abfd, amt); -@@ -3516,7 +3517,7 @@ scan_unit_for_symbols (struct comp_unit *unit) +@@ -3516,7 +3517,7 @@ spec_var = lookup_var_by_offset (attr.u.val, unit->variable_table); if (spec_var == NULL) @@ -31,6 +33,3 @@ index b8f0008a10d..977bf43a6a1 100644 _bfd_error_handler (_("DWARF error: could not find " "variable specification " "at offset %lx"), --- -2.25.4 - |