/* 32-bit ELF support for C-SKY.
- Copyright (C) 1998-2020 Free Software Foundation, Inc.
+ Copyright (C) 1998-2021 Free Software Foundation, Inc.
Contributed by C-SKY Microsystems and Mentor Graphics.
This file is part of BFD, the Binary File Descriptor library.
if (htab->elf.hplt != NULL)
strip_section = FALSE;
}
- else if (CONST_STRNEQ (bfd_section_name (s), ".rel") )
+ else if (startswith (bfd_section_name (s), ".rel") )
{
if (s->size != 0 )
relocs = TRUE;
/* Relocate a csky section. */
-static bfd_boolean
+static int
csky_elf_relocate_section (bfd * output_bfd,
struct bfd_link_info * info,
bfd * input_bfd,