diff options
author | Alan Modra <amodra@gmail.com> | 2017-04-27 12:03:39 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-04-27 12:03:39 +0930 |
commit | 76c20d54ca5042e11af9ddf5723cc24cf47736ec (patch) | |
tree | a14eafe2cdfe94597edefc9ff9ad56131fd90bf3 /bfd/elfxx-mips.h | |
parent | d7153c4ac333c9127c18efcf184607d368bb142d (diff) | |
download | gdb-76c20d54ca5042e11af9ddf5723cc24cf47736ec.zip gdb-76c20d54ca5042e11af9ddf5723cc24cf47736ec.tar.gz gdb-76c20d54ca5042e11af9ddf5723cc24cf47736ec.tar.bz2 |
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.
Diffstat (limited to 'bfd/elfxx-mips.h')
-rw-r--r-- | bfd/elfxx-mips.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-mips.h b/bfd/elfxx-mips.h index 45eb74f..44ad789 100644 --- a/bfd/elfxx-mips.h +++ b/bfd/elfxx-mips.h @@ -29,7 +29,7 @@ extern bfd_boolean _bfd_mips_elf_new_section_hook extern void _bfd_mips_elf_symbol_processing (bfd *, asymbol *); extern unsigned int _bfd_mips_elf_eh_frame_address_size - (bfd *, asection *); + (bfd *, const asection *); extern bfd_boolean _bfd_mips_elf_name_local_section_symbols (bfd *); extern bfd_boolean _bfd_mips_elf_section_processing |