projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix -Wmisleading-indentation warning in top.c
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-csky.c
diff --git
a/bfd/elf32-csky.c
b/bfd/elf32-csky.c
index fb380b1395d76eeb48be49273973ec279693bdf7..85fddf8681e6bc63484de0fedd300fb17a9011ef 100644
(file)
--- a/
bfd/elf32-csky.c
+++ b/
bfd/elf32-csky.c
@@
-28,6
+28,7
@@
#include "opcode/csky.h"
#include <assert.h>
#include "libiberty.h"
#include "opcode/csky.h"
#include <assert.h>
#include "libiberty.h"
+#include "elf32-csky.h"
/* Data structures used for merging different arch variants.
V1 (510/610) and V2 (8xx) processors are incompatible, but
/* Data structures used for merging different arch variants.
V1 (510/610) and V2 (8xx) processors are incompatible, but
@@
-2092,7
+2093,7
@@
csky_elf_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
if (htab->elf.hplt != NULL)
strip_section = FALSE;
}
if (htab->elf.hplt != NULL)
strip_section = FALSE;
}
- else if (CONST_STRNEQ (bfd_
get_section_name (dynobj,
s), ".rel") )
+ else if (CONST_STRNEQ (bfd_
section_name (
s), ".rel") )
{
if (s->size != 0 )
relocs = TRUE;
{
if (s->size != 0 )
relocs = TRUE;
@@
-2873,9
+2874,7
@@
csky_elf_check_relocs (bfd * abfd,
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_CKCORE_GNU_VTENTRY:
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_CKCORE_GNU_VTENTRY:
- BFD_ASSERT (h != NULL);
- if (h != NULL
- && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
+ if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_addend))
return FALSE;
break;
}
return FALSE;
break;
}
@@
-5072,7
+5071,7
@@
csky_elf_relocate_section (bfd * output_bfd,
if (name == NULL)
break;
if (*name == '\0')
if (name == NULL)
break;
if (*name == '\0')
- name = bfd_section_name (
input_bfd,
sec);
+ name = bfd_section_name (sec);
}
(*info->callbacks->reloc_overflow)
(info,
}
(*info->callbacks->reloc_overflow)
(info,
This page took
0.024147 seconds
and
4
git commands to generate.