aboutsummaryrefslogtreecommitdiff
path: root/bfd/mach-o-target.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-target.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-target.c')
-rw-r--r--bfd/mach-o-target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/mach-o-target.c b/bfd/mach-o-target.c
index c91584c..4aeb920 100644
--- a/bfd/mach-o-target.c
+++ b/bfd/mach-o-target.c
@@ -118,7 +118,7 @@ const bfd_target TARGET_NAME =
'_', /* symbol_leading_char. */
' ', /* ar_pad_char. */
16, /* ar_max_namelen. */
- 0, /* match priority. */
+ TARGET_PRIORITY, /* match priority. */
#if TARGET_BIG_ENDIAN
bfd_getb64, bfd_getb_signed_64, bfd_putb64,