X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=bfd%2Felf32-xc16x.c;h=9e7decab29aa2fd0fd91cf00a2d66fe7f41847f5;hb=ebb8ece2ef50ba3f86e8b4ab7a22a4c7734d114b;hp=b7e0d412d50b3df6b7e59879c89f7c3ef2da12fd;hpb=545fd46b6bb24535905e4bc69b91537fee065bf3;p=deliverable%2Fbinutils-gdb.git diff --git a/bfd/elf32-xc16x.c b/bfd/elf32-xc16x.c index b7e0d412d5..9e7decab29 100644 --- a/bfd/elf32-xc16x.c +++ b/bfd/elf32-xc16x.c @@ -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 + Copyright (C) 2006-2014 Free Software Foundation, Inc. + Contributed by KPIT Cummins Infosystems This file is part of BFD, the Binary File Descriptor library. @@ -373,12 +373,12 @@ elf32_xc16x_relocate_section (bfd *output_bfd, } else { - bfd_boolean unresolved_reloc, warned; + bfd_boolean unresolved_reloc, warned, ignored; RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, r_symndx, symtab_hdr, sym_hashes, h, sec, relocation, - unresolved_reloc, warned); + unresolved_reloc, warned, ignored); } if (sec != NULL && discarded_section (sec)) @@ -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: @@ -462,7 +462,7 @@ elf32_xc16x_object_p (bfd *abfd) #define ELF_MACHINE_CODE EM_XC16X #define ELF_MAXPAGESIZE 0x100 -#define TARGET_LITTLE_SYM bfd_elf32_xc16x_vec +#define TARGET_LITTLE_SYM xc16x_elf32_vec #define TARGET_LITTLE_NAME "elf32-xc16x" #define elf_backend_final_write_processing elf32_xc16x_final_write_processing #define elf_backend_object_p elf32_xc16x_object_p