]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Create pseudo sections for NT_ARM_TLS notes on FreeBSD.
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 27 Apr 2022 15:06:39 +0000 (08:06 -0700)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 27 May 2022 21:17:34 +0000 (14:17 -0700)
bfd/ChangeLog:

* elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes.

(cherry picked from commit 8e6afe4013fd57f92eec4659439bc6e44b0446f8)

bfd/ChangeLog
bfd/elf.c

index 100980142972073a2cf466b6dea8162e5530031f..197bfd425a7363d2c2866454fcadf0834258bbf2 100644 (file)
@@ -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-01  John Baldwin  <jhb@FreeBSD.org>
 
        * elf-bfd.h (elfcore_write_x86_segbases): New.
index 37c53cfdf32fd6f00887d5b6d90172242eee50ad..e9148dbecab21436e1d70b4c006b30a180ab4069 100644 (file)
--- 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);