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

Yufeng Zhang Yufeng.Zhang@arm.com
Tue Jan 8 16:48:00 GMT 2013


Hi,

Please find the updated patch and change log which have incorporated 
changes discussed offline.

Is it OK to commit?

Thanks,
Yufeng


On 21/11/12 17:20, Richard Earnshaw wrote:
> On 15/11/12 16:29, Yufeng Zhang wrote:
>> Hi,
>>
>> This patch adds support for three ARM elf note types in bfd and readelf.
>>
>> Is it OK to commit it?
>>
>> Thanks,
>> Yufeng
>>
>
> I think all this should be using AArch64 (or the appropriate
> capitalization of it), not ARM.
>
> R.


include/elf/

2013-01-09  Yufeng Zhang  <yufeng.zhang@arm.com>

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

bfd/

2013-01-09  Yufeng Zhang  <yufeng.zhang@arm.com>

         * elf-bfd.h (elfcore_write_aarch_tls): Add prototype.
         (elfcore_write_aarch_hw_break): Likewise.
         (elfcore_write_aarch_hw_watch): Likewise.
         * elf.c (elfcore_grok_aarch_tls): New function.
         (elfcore_grok_aarch_hw_break): Likewise.
         (elfcore_grok_aarch_hw_watch): Likewise.
         (elfcore_grok_note): Call the new functions to handle the
         corresponding notes.
         (elfcore_write_aarch_tls): New function.
         (elfcore_write_aarch_hw_break): Likewise.
         (elfcore_write_aarch_hw_watch): Likewise.
         (elfcore_write_register_note): Call the new functions to handle the
         corresponding pseudo sections.

binutils/

2013-01-09  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: note-types.patch
Type: text/x-patch
Size: 5602 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130108/ff313696/attachment.bin>


More information about the Binutils mailing list