aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-04-27 08:06:39 -0700
committerJohn Baldwin <jhb@FreeBSD.org>2022-04-27 08:06:39 -0700
commit8e6afe4013fd57f92eec4659439bc6e44b0446f8 (patch)
tree011419ea99fff063ceb5bcaaeaff1da69c70a48a
parentef273377587d440f4aa248265147d5e75f86a018 (diff)
downloadgdb-8e6afe4013fd57f92eec4659439bc6e44b0446f8.zip
gdb-8e6afe4013fd57f92eec4659439bc6e44b0446f8.tar.gz
gdb-8e6afe4013fd57f92eec4659439bc6e44b0446f8.tar.bz2
Create pseudo sections for NT_ARM_TLS notes on FreeBSD.
bfd/ChangeLog: * elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5444381..0dc8f01 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2022-04-27 John Baldwin <jhb@FreeBSD.org>
+
+ * elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.
+
2022-04-25 Nick Clifton <nickc@redhat.com>
PR 29072
diff --git a/bfd/elf.c b/bfd/elf.c
index 37c53cf..e9148db 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -11037,6 +11037,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);