projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert PR16467 change
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-msp430.c
diff --git
a/bfd/elf32-msp430.c
b/bfd/elf32-msp430.c
index 8e87b67e4f5d70df6b7342d75f2214c6f77b97ed..94052fa0916a712b42ed060fa74fa4f48d014378 100644
(file)
--- a/
bfd/elf32-msp430.c
+++ b/
bfd/elf32-msp430.c
@@
-1,5
+1,5
@@
/* MSP430-specific support for 32-bit ELF
/* MSP430-specific support for 32-bit ELF
- Copyright (C) 2002-201
5
Free Software Foundation, Inc.
+ Copyright (C) 2002-201
6
Free Software Foundation, Inc.
Contributed by Dmitry Diky <diwil@mail.ru>
This file is part of BFD, the Binary File Descriptor library.
Contributed by Dmitry Diky <diwil@mail.ru>
This file is part of BFD, the Binary File Descriptor library.
@@
-1341,15
+1341,14
@@
elf32_msp430_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED,
switch (r)
{
case bfd_reloc_overflow:
switch (r)
{
case bfd_reloc_overflow:
- r = info->callbacks->reloc_overflow
+ (*info->callbacks->reloc_overflow)
(info, (h ? &h->root : NULL), name, howto->name,
(info, (h ? &h->root : NULL), name, howto->name,
- (bfd_vma) 0, input_bfd, input_section,
- rel->r_offset);
+ (bfd_vma) 0, input_bfd, input_section, rel->r_offset);
break;
case bfd_reloc_undefined:
break;
case bfd_reloc_undefined:
- r = info->callbacks->undefined_symbol
-
(info, name, input_bfd, input_section, rel->r_offset, TRUE);
+ (*info->callbacks->undefined_symbol)
+ (info, name, input_bfd, input_section, rel->r_offset, TRUE);
break;
case bfd_reloc_outofrange:
break;
case bfd_reloc_outofrange:
@@
-1370,11
+1369,8
@@
elf32_msp430_relocate_section (bfd * output_bfd ATTRIBUTE_UNUSED,
}
if (msg)
}
if (msg)
- r = info->callbacks->warning
- (info, msg, name, input_bfd, input_section, rel->r_offset);
-
- if (!r)
- return FALSE;
+ (*info->callbacks->warning) (info, msg, name, input_bfd,
+ input_section, rel->r_offset);
}
}
}
}
@@
-2629,4
+2625,7
@@
static const struct bfd_elf_special_section msp430_ti_elf_special_sections[] =
{ NULL, 0, 0, 0, 0 }
};
{ NULL, 0, 0, 0, 0 }
};
+#undef elf_backend_special_sections
+#define elf_backend_special_sections msp430_ti_elf_special_sections
+
#include "elf32-target.h"
#include "elf32-target.h"
This page took
0.025035 seconds
and
4
git commands to generate.