Constify elf_backend_eh_frame_address_size
authorAlan Modra <amodra@gmail.com>
Thu, 27 Apr 2017 02:33:39 +0000 (12:03 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Apr 2017 02:33:39 +0000 (12:03 +0930)
commit76c20d54ca5042e11af9ddf5723cc24cf47736ec
treea14eafe2cdfe94597edefc9ff9ad56131fd90bf3
parentd7153c4ac333c9127c18efcf184607d368bb142d
Constify elf_backend_eh_frame_address_size

* elf-bfd.h (struct elf_backend_data): Make asection param of
elf_backend_eh_frame_address_size const.
(_bfd_elf_eh_frame_address_size): Likewise.
* elf32-m32c.c (_bfd_m32c_elf_eh_frame_address_size): Likewise.
* elf32-msp430.c (elf32_msp430_eh_frame_address_size): Likewise.
* elfxx-mips.c (_bfd_mips_elf_eh_frame_address_size): Likewise.
* elfxx-mips.h (_bfd_mips_elf_eh_frame_address_size): Likewise.
* elf-eh-frame.c (_bfd_elf_eh_frame_address_size): Likewise.
(next_cie_fde_offset): Constify params.
(offset_adjust, adjust_eh_frame_local_symbols): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-eh-frame.c
bfd/elf32-m32c.c
bfd/elf32-msp430.c
bfd/elfxx-mips.c
bfd/elfxx-mips.h