[Committed][AArch64] Factor out common behaviour between elf_aarch64_create_or_find_stub_sec and elfNN_aarch64_add_stub

Marcus Shawcroft marcus.shawcroft@arm.com
Mon Mar 23 16:01:00 GMT 2015


We have repeated functionality in elf_aarch64_create_or_find_stub_sec 
and elfNN_aarch64_add_stub.  This patch pulls out the common behaviour.

This patch is a refactor, there is no functional change.

Committed
/Marcus

  2015-03-23  Marcus Shawcroft  <marcus.shawcroft@arm.com>

        * elfnn-aarch64.c (_bfd_aarch64_create_or_find_stub_sec): Rename
        from elf_aarch64_create_or_find_stub_sec.
        (_bfd_aarch64_add_stub_entry_in_group): Rename from
        elfNN_aarch64_add_stub.  Call
        _bfd_aarch64_create_or_find_stub_sec.
        (elfNN_aarch64_size_stubs, elfNN_aarch64_size_stubs): Call
        _bfd_aarch64_add_stub_entry_in_group.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-AArch64-Factor-out-common-behaviour-between-elf_aarc.patch
Type: text/x-patch
Size: 4328 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20150323/3554c32d/attachment.bin>


More information about the Binutils mailing list