Home | History | Annotate | Line # | Download | only in bfd
elfxx-riscv.h revision 1.4
      1  1.1      matt /* RISC-V ELF specific backend routines.
      2  1.3  christos    Copyright (C) 2011-2018 Free Software Foundation, Inc.
      3  1.1      matt 
      4  1.3  christos    Contributed by Andrew Waterman (andrew (at) sifive.com).
      5  1.1      matt    Based on MIPS target.
      6  1.1      matt 
      7  1.1      matt    This file is part of BFD, the Binary File Descriptor library.
      8  1.1      matt 
      9  1.1      matt    This program is free software; you can redistribute it and/or modify
     10  1.1      matt    it under the terms of the GNU General Public License as published by
     11  1.1      matt    the Free Software Foundation; either version 3 of the License, or
     12  1.1      matt    (at your option) any later version.
     13  1.1      matt 
     14  1.1      matt    This program is distributed in the hope that it will be useful,
     15  1.1      matt    but WITHOUT ANY WARRANTY; without even the implied warranty of
     16  1.1      matt    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     17  1.1      matt    GNU General Public License for more details.
     18  1.1      matt 
     19  1.1      matt    You should have received a copy of the GNU General Public License
     20  1.3  christos    along with this program; see the file COPYING3. If not,
     21  1.3  christos    see <http://www.gnu.org/licenses/>.  */
     22  1.1      matt 
     23  1.1      matt #include "elf/common.h"
     24  1.1      matt #include "elf/internal.h"
     25  1.1      matt 
     26  1.2      matt extern reloc_howto_type *
     27  1.2      matt riscv_reloc_name_lookup (bfd *, const char *);
     28  1.1      matt 
     29  1.2      matt extern reloc_howto_type *
     30  1.2      matt riscv_reloc_type_lookup (bfd *, bfd_reloc_code_real_type);
     31  1.1      matt 
     32  1.2      matt extern reloc_howto_type *
     33  1.4  christos riscv_elf_rtype_to_howto (bfd *, unsigned int r_type);
     34