From 8e6afe4013fd57f92eec4659439bc6e44b0446f8 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 27 Apr 2022 08:06:39 -0700 Subject: [PATCH] Create pseudo sections for NT_ARM_TLS notes on FreeBSD. 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 5444381ede0..0dc8f011d25 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2022-04-27 John Baldwin + + * elf.c (elfcore_grok_freebsd_note): Handle NT_ARM_TLS notes. + 2022-04-25 Nick Clifton PR 29072 diff --git a/bfd/elf.c b/bfd/elf.c index 37c53cfdf32..e9148dbecab 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); -- 2.30.2