projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
x86: Properly set IBT and SHSTK properties for -z ibt/shstk
[deliverable/binutils-gdb.git]
/
bfd
/
elf32-frv.c
diff --git
a/bfd/elf32-frv.c
b/bfd/elf32-frv.c
index 7831aff806bf3b424072052378e01922bb97f646..ebc101ede87a1c8b7498d3928e9c04073a2d1c42 100644
(file)
--- a/
bfd/elf32-frv.c
+++ b/
bfd/elf32-frv.c
@@
-1,5
+1,5
@@
/* FRV-specific support for 32-bit ELF.
/* FRV-specific support for 32-bit ELF.
- Copyright (C) 2002-201
8
Free Software Foundation, Inc.
+ Copyright (C) 2002-201
9
Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-25,6
+25,7
@@
#include "elf/frv.h"
#include "dwarf2.h"
#include "hashtab.h"
#include "elf/frv.h"
#include "dwarf2.h"
#include "hashtab.h"
+#include "libiberty.h"
/* Forward declarations. */
/* Forward declarations. */
@@
-2551,7
+2552,7
@@
frv_info_to_howto_rela (bfd *abfd ATTRIBUTE_UNUSED,
break;
default:
break;
default:
- if (r_type >=
(unsigned int) R_FRV_max
)
+ if (r_type >=
ARRAY_SIZE (elf32_frv_howto_table)
)
{
/* xgettext:c-format */
_bfd_error_handler (_("%pB: unsupported relocation type %#x"),
{
/* xgettext:c-format */
_bfd_error_handler (_("%pB: unsupported relocation type %#x"),
This page took
0.025899 seconds
and
4
git commands to generate.