projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MIPS/BFD: Update outdated comment about o32 R_MIPS_PC32 reloc support
[deliverable/binutils-gdb.git]
/
bfd
/
cpu-aarch64.c
diff --git
a/bfd/cpu-aarch64.c
b/bfd/cpu-aarch64.c
index 81620371ffedd8b2af154ebce5b70013ed2c9983..596d24190b589d8380b2ee3ff5855cbf71757f67 100644
(file)
--- a/
bfd/cpu-aarch64.c
+++ b/
bfd/cpu-aarch64.c
@@
-1,5
+1,5
@@
/* BFD support for AArch64.
/* BFD support for AArch64.
- Copyright
2009, 2010, 2011, 2012
Free Software Foundation, Inc.
+ Copyright
(C) 2009-2016
Free Software Foundation, Inc.
Contributed by ARM Ltd.
This file is part of BFD, the Binary File Descriptor library.
Contributed by ARM Ltd.
This file is part of BFD, the Binary File Descriptor library.
@@
-38,6
+38,10
@@
compatible (const bfd_arch_info_type * a, const bfd_arch_info_type * b)
if (a->mach == b->mach)
return a;
if (a->mach == b->mach)
return a;
+ /* Don't allow mixing ilp32 with lp64. */
+ if ((a->mach & bfd_mach_aarch64_ilp32) != (b->mach & bfd_mach_aarch64_ilp32))
+ return NULL;
+
/* Otherwise if either a or b is the 'default' machine
then it can be polymorphed into the other. */
if (a->the_default)
/* Otherwise if either a or b is the 'default' machine
then it can be polymorphed into the other. */
if (a->the_default)
@@
-101,9
+105,11
@@
scan (const struct bfd_arch_info *info, const char *string)
"aarch64", PRINT, 4, DEFAULT, compatible, scan, \
bfd_arch_default_fill, NEXT }
"aarch64", PRINT, 4, DEFAULT, compatible, scan, \
bfd_arch_default_fill, NEXT }
-
const bfd_arch_info_type bfd_aarch64_arch
=
- N (
0, "aarch64", TRU
E, NULL);
+
static const bfd_arch_info_type bfd_aarch64_arch_ilp32
=
+ N (
bfd_mach_aarch64_ilp32, "aarch64:ilp32", FALS
E, NULL);
+const bfd_arch_info_type bfd_aarch64_arch =
+ N (0, "aarch64", TRUE, &bfd_aarch64_arch_ilp32);
bfd_boolean
bfd_is_aarch64_special_symbol_name (const char *name, int type)
bfd_boolean
bfd_is_aarch64_special_symbol_name (const char *name, int type)
This page took
0.044314 seconds
and
4
git commands to generate.