dwarf2.c: mangle_style
authorAlan Modra <amodra@gmail.com>
Wed, 21 Sep 2022 05:15:44 +0000 (14:45 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Sep 2022 06:25:10 +0000 (15:55 +0930)
commit4609af80c29db6015ce01b67c48f237c210da9b4
tree32d8a54488855f00c54f6702873c6897d1fcda90
parent6c0cf2ca0db6748edec00a2293541f95464268a0
dwarf2.c: mangle_style

non_mangled incorrectly returned "true" for Ada.  Correct that, and
add a few more non-mangled entries.  Return a value suitable for
passing to cplus_demangle to control demangling.

* dwarf2.c: Include demangle.h.
(mangle_style): Rename from non_mangled.  Return DMGL_* value
to suit lang.  Adjust all callers.
bfd/dwarf2.c