aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-msp430.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-msp430.c')
-rw-r--r--bfd/elf32-msp430.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-msp430.c b/bfd/elf32-msp430.c
index 1aafa84..eebe74a 100644
--- a/bfd/elf32-msp430.c
+++ b/bfd/elf32-msp430.c
@@ -1855,8 +1855,8 @@ msp430_elf_relax_delete_bytes (bfd * abfd, asection * sec, bfd_vma addr,
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 ",