PR ld/12494
[binutils-gdb.git] / bfd / elf32-xc16x.c
index dc8cab562bc54226882839c579c2da4756b0734a..9f285c7922d6a4b7c3b90d3811445df4f05d05ab 100644 (file)
@@ -1,6 +1,6 @@
 /* Infineon XC16X-specific support for 16-bit ELF.
    Copyright 2006, 2007, 2009, 2010, 2012 Free Software Foundation, Inc.
-   Contributed by KPIT Cummins Infosystems 
+   Contributed by KPIT Cummins Infosystems
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -389,7 +389,7 @@ elf32_xc16x_relocate_section (bfd *output_bfd,
          reloc_howto_type *howto;
          howto = xc16x_reloc_type_lookup (input_bfd, r_type);
          RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
-                                          rel, relend, howto, contents);
+                                          rel, 1, relend, howto, 0, contents);
        }
 
       if (info->relocatable)
@@ -433,11 +433,11 @@ elf32_xc16x_final_write_processing (bfd *abfd,
 
 static unsigned long
 elf32_xc16x_mach (flagword flags)
-{  
+{
   switch (flags)
     {
     case 0x1000:
-    default: 
+    default:
       return bfd_mach_xc16x;
 
     case 0x1001: