1867d70fcSchristos /* 32-bit ELF support for C-SKY. 2*c42dbd0eSchristos Copyright (C) 2019-2022 Free Software Foundation, Inc. 3867d70fcSchristos 4867d70fcSchristos This file is part of BFD, the Binary File Descriptor library. 5867d70fcSchristos 6867d70fcSchristos This program is free software; you can redistribute it and/or modify 7867d70fcSchristos it under the terms of the GNU General Public License as published by 8867d70fcSchristos the Free Software Foundation; either version 3 of the License, or 9867d70fcSchristos (at your option) any later version. 10867d70fcSchristos 11867d70fcSchristos This program is distributed in the hope that it will be useful, 12867d70fcSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13867d70fcSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14867d70fcSchristos GNU General Public License for more details. 15867d70fcSchristos 16867d70fcSchristos You should have received a copy of the GNU General Public License 17867d70fcSchristos along with this program; if not, write to the Free Software 18867d70fcSchristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19867d70fcSchristos MA 02110-1301, USA. */ 20867d70fcSchristos 21*c42dbd0eSchristos extern bool elf32_csky_build_stubs 22867d70fcSchristos (struct bfd_link_info *); 23*c42dbd0eSchristos extern bool elf32_csky_size_stubs 24867d70fcSchristos (bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma, 25867d70fcSchristos struct bfd_section *(*) (const char*, struct bfd_section*), 26867d70fcSchristos void (*) (void)); 27867d70fcSchristos extern void elf32_csky_next_input_section 28867d70fcSchristos (struct bfd_link_info *, struct bfd_section *); 29867d70fcSchristos extern int elf32_csky_setup_section_lists 30867d70fcSchristos (bfd *, struct bfd_link_info *); 31