diff options
author | Tristan Gingold <gingold@adacore.com> | 2010-01-13 11:49:36 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2010-01-13 11:49:36 +0000 |
commit | 618b7301476d3fa5948fd0ead29809783f32ca15 (patch) | |
tree | bb7b3947e3943021f1ee84a6ad29166c089a3ea3 /bfd/targets.c | |
parent | f88af2f152042ac1f2a687bbf49a0b0b140c5b7a (diff) | |
download | gdb-618b7301476d3fa5948fd0ead29809783f32ca15.zip gdb-618b7301476d3fa5948fd0ead29809783f32ca15.tar.gz gdb-618b7301476d3fa5948fd0ead29809783f32ca15.tar.bz2 |
2010-01-13 Tristan Gingold <gingold@adacore.com>
* config.bfd: Remove duplicated target vector for i386-*-darwin.
Appends new arch instead of overriding.
Use mach_o_x86_64_vec for x86_64-*-darwin.
* configure.in: Add mach_o_x86_64_vec.
* configure: Regenerate.
* targets.c: Declare mach_o_x86_64_vec, add it to _bfd_target_vector.
* Makefile.am (BFD64_BACKENDS): Add mach-o-x86-64.lo
(BFD64_BACKENDS_CFILES): Add mach-o-x86-64.c
* Makefile.in: Regenerate.
* mach-o-x86-64.c: New file.
Diffstat (limited to 'bfd/targets.c')
-rw-r--r-- | bfd/targets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/targets.c b/bfd/targets.c index d9811a8..ad22a29 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -760,6 +760,7 @@ extern const bfd_target mach_o_be_vec; extern const bfd_target mach_o_le_vec; extern const bfd_target mach_o_fat_vec; extern const bfd_target mach_o_i386_vec; +extern const bfd_target mach_o_x86_64_vec; extern const bfd_target maxqcoff_vec; extern const bfd_target mcore_pe_big_vec; extern const bfd_target mcore_pe_little_vec; @@ -1134,6 +1135,9 @@ static const bfd_target * const _bfd_target_vector[] = &mach_o_le_vec, &mach_o_fat_vec, &mach_o_i386_vec, +#ifdef BFD64 + &mach_o_x86_64_vec, +#endif &maxqcoff_vec, &mcore_pe_big_vec, &mcore_pe_little_vec, |