[PATCH 03/12] Create pseudo sections for NT_ARM_TLS notes on FreeBSD.
John Baldwin
jhb@FreeBSD.org
Wed Mar 23 21:00:42 GMT 2022
bfd/ChangeLog:
* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.
---
bfd/ChangeLog | 4 ++++
bfd/elf.c | 3 +++
2 files changed, 7 insertions(+)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 86d42b2d639..c35990cf37d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2022-03-11 John Baldwin <jhb@FreeBSD.org>
+
+ * elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.
+
2022-03-22 Steiner H Gunderson <steinar+sourceware@gunderson.no>
* dwarf2.c (_bfd_dwarf2_find_nearest_line): if a function name is
diff --git a/bfd/elf.c b/bfd/elf.c
index 82b53be99f9..5d8f5ec33bd 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -11040,6 +11040,9 @@ elfcore_grok_freebsd_note (bfd *abfd, Elf_Internal_Note *note)
return elfcore_make_note_pseudosection (abfd, ".note.freebsdcore.lwpinfo",
note);
+ case NT_ARM_TLS:
+ return elfcore_grok_aarch_tls (abfd, note);
+
case NT_ARM_VFP:
return elfcore_grok_arm_vfp (abfd, note);
--
2.34.1
More information about the Gdb-patches
mailing list