[Patch, ARM/AArch64] Add new elf note types

Yufeng Zhang Yufeng.Zhang@arm.com
Thu Nov 15 16:29:00 GMT 2012


Hi,

This patch adds support for three ARM elf note types in bfd and readelf.

Is it OK to commit it?

Thanks,
Yufeng


include/elf/

2012-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>

         * common.h (NT_ARM_TLS, NT_ARM_HW_BREAK, NT_ARM_HW_WATCH): New 
macro
         definitions.

bfd/

2012-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>

         * elf-bfd.h (elfcore_write_arm_tls): Add prototype.
         (elfcore_write_arm_hw_break): Likewise.
         (elfcore_write_arm_hw_watch): Likewise.
         * elf.c (elfcore_grok_arm_tls): New function.
         (elfcore_grok_arm_hw_break): Likewise.
         (elfcore_grok_arm_hw_watch): Likewise.
         (elfcore_grok_note): Call the new functions to handle the
         corresponding notes.
         (elfcore_write_arm_tls): New function.
         (elfcore_write_arm_hw_break): Likewise.
         (elfcore_write_arm_hw_watch): Likewise.
         (elfcore_write_register_note): Call the new functions to handle the
         corresponding pseudo sections.

binutils/

2012-11-15  Yufeng Zhang  <yufeng.zhang@arm.com>

         * readelf.c (get_note_type): Handle NT_ARM_TLS, NT_ARM_HW_BREAK
         and NT_ARM_HW_WATCH.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aarch64-new-elf-note-types.patch
Type: text/x-patch
Size: 5286 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20121115/7e17c98f/attachment.bin>


More information about the Binutils mailing list