summaryrefslogtreecommitdiff
path: root/bfd/mach-o-target.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-12-16 13:39:02 +0000
committerTristan Gingold <gingold@adacore.com>2011-12-16 13:39:02 +0000
commit4aeae20f19ca95e398d43355b1fea865baf9b379 (patch)
treee979174d005e8963e8ee6eb2bc74a8e8c43c5d97 /bfd/mach-o-target.c
parent40ce5cbb1b008713d99e821d56b61aea33d56cbb (diff)
downloadbinutils-redhat-4aeae20f19ca95e398d43355b1fea865baf9b379.tar.gz
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 c91584c707..4aeb920d2b 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,