From: Alan Modra <amodra@gmail.com>
To: gcc-patches@gcc.gnu.org
Subject: Correct spelling of DW_AT_namelist_item
Date: Tue, 31 May 2022 23:40:28 +0930 [thread overview]
Message-ID: <YpYh1OzivZ/rdEEE@squeak.grove.modra.org> (raw)
This typo was fixed a little while ago in binutils-gdb with commit
e951225303. I noticed the difference today when importing libiberty
from gcc. Committed as obvious.
include/
* dwarf2.def: Correct spelling of DW_AT_namelist_item.
gcc/
* dwarf2out.cc (gen_namelist_decl): Adjust to suit correct
spelling of DW_AT_namelist_item.
diff --git a/gcc/dwarf2out.cc b/gcc/dwarf2out.cc
index fccf59e8ec3..29f32ec6939 100644
--- a/gcc/dwarf2out.cc
+++ b/gcc/dwarf2out.cc
@@ -27479,7 +27479,7 @@ gen_namelist_decl (tree name, dw_die_ref scope_die, tree item_decls)
nml_item_ref_die = force_decl_die (value);
nml_item_die = new_die (DW_TAG_namelist_item, nml_die, NULL);
- add_AT_die_ref (nml_item_die, DW_AT_namelist_items, nml_item_ref_die);
+ add_AT_die_ref (nml_item_die, DW_AT_namelist_item, nml_item_ref_die);
}
return nml_die;
}
diff --git a/include/dwarf2.def b/include/dwarf2.def
index 4214c80907a..530c6f849f9 100644
--- a/include/dwarf2.def
+++ b/include/dwarf2.def
@@ -289,7 +289,7 @@ DW_AT (DW_AT_frame_base, 0x40)
DW_AT (DW_AT_friend, 0x41)
DW_AT (DW_AT_identifier_case, 0x42)
DW_AT (DW_AT_macro_info, 0x43)
-DW_AT (DW_AT_namelist_items, 0x44)
+DW_AT (DW_AT_namelist_item, 0x44)
DW_AT (DW_AT_priority, 0x45)
DW_AT (DW_AT_segment, 0x46)
DW_AT (DW_AT_specification, 0x47)
--
Alan Modra
Australia Development Lab, IBM
reply other threads:[~2022-05-31 14:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YpYh1OzivZ/rdEEE@squeak.grove.modra.org \
--to=amodra@gmail.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).