diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-01-12 02:41:04 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-01-12 02:41:04 +0000 |
commit | 82b1edf7b9cf3aaa2bf75a55894690fbf2a1c32c (patch) | |
tree | 61ff3225d756c1a6e05742e57d6d59b8ee87681c /bfd/libbfd.h | |
parent | 280c564c7687440cc9662f262a8a3baedd979bba (diff) | |
download | gdb-82b1edf7b9cf3aaa2bf75a55894690fbf2a1c32c.zip gdb-82b1edf7b9cf3aaa2bf75a55894690fbf2a1c32c.tar.gz gdb-82b1edf7b9cf3aaa2bf75a55894690fbf2a1c32c.tar.bz2 |
Change "reloc_howto_type" typedef to be "const", since all uses of it are (or
should be) anyways.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r-- | bfd/libbfd.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h index a9484ee..9d1cc25 100644 --- a/bfd/libbfd.h +++ b/bfd/libbfd.h @@ -242,7 +242,7 @@ extern boolean _bfd_archive_coff_construct_extended_name_table #define _bfd_norelocs_canonicalize_reloc \ ((long (*) PARAMS ((bfd *, asection *, arelent **, asymbol **))) _bfd_n1) #define _bfd_norelocs_bfd_reloc_type_lookup \ - ((const reloc_howto_type *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) \ + ((reloc_howto_type *(*) PARAMS ((bfd *, bfd_reloc_code_real_type))) \ bfd_nullvoidptr) /* Routines to use for BFD_JUMP_TABLE_WRITE for targets which may not @@ -358,12 +358,12 @@ extern unsigned int _bfd_count_link_order_relocs /* Final link relocation routine. */ extern bfd_reloc_status_type _bfd_final_link_relocate - PARAMS ((const reloc_howto_type *, bfd *, asection *, bfd_byte *, + PARAMS ((reloc_howto_type *, bfd *, asection *, bfd_byte *, bfd_vma address, bfd_vma value, bfd_vma addend)); /* Relocate a particular location by a howto and a value. */ extern bfd_reloc_status_type _bfd_relocate_contents - PARAMS ((const reloc_howto_type *, bfd *, bfd_vma, bfd_byte *)); + PARAMS ((reloc_howto_type *, bfd *, bfd_vma, bfd_byte *)); /* Create a string table. */ extern struct bfd_strtab_hash *_bfd_stringtab_init PARAMS ((void)); @@ -553,6 +553,10 @@ static const char *const bfd_reloc_code_real_names[] = { "@@uninitialized@@", "BFD_RELOC_ARM_SWI", "BFD_RELOC_ARM_MULTI", "BFD_RELOC_ARM_CP_OFF_IMM", +/* start-sanitize-arc */ + "BFD_RELOC_ARC_B22_PCREL", +/* end-sanitize-arc */ + "@@overflow: BFD_RELOC_UNUSED@@", }; #endif |