Clear HAS_RELOC if there are no relocations
[deliverable/binutils-gdb.git] / bfd / elf32-mep.c
index c791884fc1a5185dee98bf271f755336d1014b75..c676e8f8df30455f9d72d0f9b7dcd4f21416698f 100644 (file)
@@ -1,5 +1,5 @@
 /* MeP-specific support for 32-bit ELF.
-   Copyright (C) 2001-2015 Free Software Foundation, Inc.
+   Copyright (C) 2001-2016 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -491,7 +491,7 @@ mep_elf_relocate_section
        RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
                                         rel, 1, relend, howto, 0, contents);
 
-      if (info->relocatable)
+      if (bfd_link_relocatable (info))
        continue;
 
       if (r_type == R_RELC)
This page took 0.027812 seconds and 4 git commands to generate.