/* MSP430-specific support for 32-bit ELF
- Copyright (C) 2002-2020 Free Software Foundation, Inc.
+ Copyright (C) 2002-2021 Free Software Foundation, Inc.
Contributed by Dmitry Diky <diwil@mail.ru>
This file is part of BFD, the Binary File Descriptor library.
/* Relocate an MSP430 ELF section. */
-static bfd_boolean
+static int
elf32_msp430_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED,
struct bfd_link_info * info,
bfd * input_bfd,
the start of the next section. */
|| (isym->st_value == toaddr
&& name != NULL
- && (CONST_STRNEQ (name, ".Letext")
- || CONST_STRNEQ (name, ".LFE")))))
+ && (startswith (name, ".Letext")
+ || startswith (name, ".LFE")))))
{
if (debug_relocs)
printf (" adjusting value of local symbol %s from 0x%lx ",