aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o-x86-64.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-12-16 13:39:03 +0000
committerTristan Gingold <gingold@adacore.com>2011-12-16 13:39:03 +0000
commitb93a1992f4b3668cae4682e16a8add34f8411a8c (patch)
tree04036b440ff8ddea8d99d042a0a3483bf48237b6 /bfd/mach-o-x86-64.c
parent2634e8c8ff4e4f253723a34a696d8568109d3f10 (diff)
downloadgdb-b93a1992f4b3668cae4682e16a8add34f8411a8c.zip
gdb-b93a1992f4b3668cae4682e16a8add34f8411a8c.tar.gz
gdb-b93a1992f4b3668cae4682e16a8add34f8411a8c.tar.bz2
2011-12-16 Shinichiro Hamaji <shinichiro.hamaji@gmail.com>
* mach-o-i386.c (TARGET_PRIORITY): Define as 0 (top priority) * mach-o-target.c (TARGET_NAME): Use TARGET_PRIORITY * mach-o-x86-64.c (TARGET_PRIORITY): Define as 0 (top priority) * mach-o.c (bfd_mach_o_header_p): Remove special handling for mach-o-i386. (TARGET_PRIORITY) Set 1 for mach-o-be and mach-o-le, and set 0 for mach-o-fat.
Diffstat (limited to 'bfd/mach-o-x86-64.c')
-rw-r--r--bfd/mach-o-x86-64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/mach-o-x86-64.c b/bfd/mach-o-x86-64.c
index 1bc3bf8..c86efb7 100644
--- a/bfd/mach-o-x86-64.c
+++ b/bfd/mach-o-x86-64.c
@@ -294,4 +294,5 @@ bfd_mach_o_x86_64_bfd_reloc_name_lookup (bfd *abfd ATTRIBUTE_UNUSED,
#define TARGET_ARCHITECTURE bfd_arch_i386
#define TARGET_BIG_ENDIAN 0
#define TARGET_ARCHIVE 0
+#define TARGET_PRIORITY 0
#include "mach-o-target.c"