projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't use bfd_get_* macro to set bfd fields
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-m32r.c
diff --git
a/bfd/elf32-m32r.c
b/bfd/elf32-m32r.c
index 92ed2d19b073fb7cd3683c613ba128895701ff2a..2f182e782d266e22bbb4c55fe1cd49e320728fa8 100644
(file)
--- a/
bfd/elf32-m32r.c
+++ b/
bfd/elf32-m32r.c
@@
-3403,9
+3403,8
@@
m32r_elf_object_p (bfd *abfd)
/* Store the machine number in the flags field. */
/* Store the machine number in the flags field. */
-static void
-m32r_elf_final_write_processing (bfd *abfd,
- bfd_boolean linker ATTRIBUTE_UNUSED)
+static bfd_boolean
+m32r_elf_final_write_processing (bfd *abfd)
{
unsigned long val;
{
unsigned long val;
@@
-3419,6
+3418,7
@@
m32r_elf_final_write_processing (bfd *abfd,
elf_elfheader (abfd)->e_flags &=~ EF_M32R_ARCH;
elf_elfheader (abfd)->e_flags |= val;
elf_elfheader (abfd)->e_flags &=~ EF_M32R_ARCH;
elf_elfheader (abfd)->e_flags |= val;
+ return _bfd_elf_final_write_processing (abfd);
}
/* Function to keep M32R specific file flags. */
}
/* Function to keep M32R specific file flags. */
@@
-3807,15
+3807,11
@@
m32r_elf_check_relocs (bfd *abfd,
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_M32R_GNU_VTENTRY:
/* This relocation describes which C++ vtable entries are actually
used. Record for later use during GC. */
case R_M32R_GNU_VTENTRY:
- BFD_ASSERT (h != NULL);
- if (h != NULL
- && !bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_offset))
+ if (!bfd_elf_gc_record_vtentry (abfd, sec, h, rel->r_offset))
return FALSE;
break;
case R_M32R_RELA_GNU_VTENTRY:
return FALSE;
break;
case R_M32R_RELA_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;
}
This page took
0.027383 seconds
and
4
git commands to generate.