diff options
| author | Mark Wielaard <[email protected]> | 2023-01-26 18:19:15 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2023-02-14 16:30:24 +0100 |
| commit | f2c522567ad63ac293535fba9704895e685ab5bc (patch) | |
| tree | 667604fa01006ac0b8041d156dbd9d345bcb0d17 /backends/ChangeLog | |
| parent | 3fa98a6f29b0f370e32549ead7eb897c839af980 (diff) | |
backends: Handle DW_TAG_unspecified_type in dwarf_peeled_die_type
binutils 2.40 introduces DW_TAG_unspecified_type for assembly
functions with an unknown return type. This breaks the
run-funcretval.sh testcase because dwfl_module_return_value_location
returns an error for such functions because it cannot determine the
return value location. Fix that by treating DW_TAG_unspecified_type
as if the DIE doesn't have a DW_AT_type.
Also update the testcase to explicitly checking for
DW_TAG_unspecified_type and printing "returns unspecified type".
https://sourceware.org/bugzilla/show_bug.cgi?id=30047
Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'backends/ChangeLog')
| -rw-r--r-- | backends/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index 40ec7c0c..81f08314 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,8 @@ +2023-02-07 Mark Wielaard <[email protected]> + + * libebl_CPU.h (dwarf_peeled_die_type): Explicitly handle + DW_TAG_unspecified_type as if there was no DW_AT_type. + 2023-01-19 Mark Wielaard <[email protected]> * sparc_reloc.def (NONE): Add EXEC and DYN. |
