]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/ChangeLog
GAS: Add a return type tag to DWARF DIEs generated for function symbols.
authorNick Clifton <nickc@redhat.com>
Thu, 25 Aug 2022 10:48:00 +0000 (11:48 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 25 Aug 2022 10:48:00 +0000 (11:48 +0100)
commit5578fbf672ee497ea19826edeb509f4cc3e825a8
treee3e2701ce8439c2c1675bf2a8089fd2c970711b9
parente8f20526238199c18afe163a230eafe19b51fca0
GAS: Add a return type tag to DWARF DIEs generated for function symbols.

PR 29517
* dwarf2dbg.c (GAS_ABBREV_COMP_UNIT): New defined constant.
(GAS_ABBREV_SUBPROG): New defined constant.
(GAS_ABBREV_NO_TYPE): New defined constant.
(out_debug_abbrev): Use the new defined constants when emitting
abbreviation numbers.  Generate an abbreviation for an unspecified
type.
(out_debug_info): Use the new defined constants when referring to
abbreviations.  Generate a use of the no_type abbreviation.
Reference the use when generating DIEs for functions.
* testsuite/gas/elf/dwarf-3-func.d: Update to allow for newly
extended output from the assembler.
* testsuite/gas/elf/dwarf-5-func-global.d: Likewise.
* testsuite/gas/elf/dwarf-5-func-local.d: Likewise.
* testsuite/gas/elf/dwarf-5-func.d: Likewise.
gas/ChangeLog
gas/dwarf2dbg.c
gas/testsuite/gas/elf/dwarf-3-func.d
gas/testsuite/gas/elf/dwarf-5-func-global.d
gas/testsuite/gas/elf/dwarf-5-func-local.d
gas/testsuite/gas/elf/dwarf-5-func.d