diff options
author | Tristan Gingold <gingold@adacore.com> | 2009-07-02 08:09:35 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2009-07-02 08:09:35 +0000 |
commit | e57f8c655cb90b3b73e5906ada99ab72c83f95af (patch) | |
tree | cd863be6dbd40cc4897620c058bab54df67fb208 /gas/Makefile.in | |
parent | 16fb2c8c4253f31c368652212f44951c9f31f373 (diff) | |
download | fsf-binutils-gdb-e57f8c655cb90b3b73e5906ada99ab72c83f95af.zip fsf-binutils-gdb-e57f8c655cb90b3b73e5906ada99ab72c83f95af.tar.gz fsf-binutils-gdb-e57f8c655cb90b3b73e5906ada99ab72c83f95af.tar.bz2 |
2009-07-02 Tristan Gingold <gingold@adacore.com>
* Makefile.am (OBJ_FORMATS): Add macho.
(CPU_OBJ_VALID): Ditto.
(OBJ_FORMAT_CFILES): Add config/obj-macho.c
(OBJ_FORMAT_HFILES): Add config/obj-macho.h
(obj-macho.o): New rule.
* Makefile.in: Regenerated.
* configure.tgt (generic_target): Add i386-*-darwin*.
* config/tc-i386.h: Use i386_target_format for Mach-O.
* config/tc-i386.c (i386_target_format): Define it for Mach-O.
(i386_target_format): Add a case for bfd_target_mach_o_flavour.
* config/obj-macho.h: New file.
* config/obj-macho.c: New file.
Diffstat (limited to 'gas/Makefile.in')
-rw-r--r-- | gas/Makefile.in | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gas/Makefile.in b/gas/Makefile.in index db5ab0d..6e314d9 100644 --- a/gas/Makefile.in +++ b/gas/Makefile.in @@ -372,7 +372,8 @@ OBJ_FORMATS = \ coff \ ecoff \ elf \ - evax + evax \ + macho # This is an sh case which sets valid according to whether the CPU @@ -405,6 +406,10 @@ CPU_OBJ_VALID = \ case $$c in \ alpha) valid=yes ;; \ esac ;; \ + macho) \ + case $$c in \ + i386) valid=yes ;; \ + esac ;; \ vms) \ case $$c in \ vax) valid=yes ;; \ @@ -629,6 +634,7 @@ OBJ_FORMAT_CFILES = \ config/obj-elf.c \ config/obj-evax.c \ config/obj-fdpicelf.c \ + config/obj-macho.c \ config/obj-som.c OBJ_FORMAT_HFILES = \ @@ -638,6 +644,7 @@ OBJ_FORMAT_HFILES = \ config/obj-elf.h \ config/obj-evax.h \ config/obj-fdpicelf.h \ + config/obj-macho.h \ config/obj-som.h @@ -4680,6 +4687,8 @@ obj-evax.o : $(srcdir)/config/obj-evax.c $(COMPILE) -c $(srcdir)/config/obj-evax.c obj-fdpicelf.o : $(srcdir)/config/obj-fdpicelf.c $(COMPILE) -c $(srcdir)/config/obj-fdpicelf.c +obj-macho.o : $(srcdir)/config/obj-macho.c + $(COMPILE) -c $(srcdir)/config/obj-macho.c obj-multi.o : $(srcdir)/config/obj-multi.c $(COMPILE) -c $(srcdir)/config/obj-multi.c obj-som.o : $(srcdir)/config/obj-som.c |