This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [Patch] Mach-O: add write capability
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Tristan Gingold <gingold at adacore dot com>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Fri, 5 Jun 2009 23:21:11 +0200
- Subject: Re: [Patch] Mach-O: add write capability
- References: <B051D61B-9878-4A83-93F1-2078376AFD37@adacore.com>
On Tue, 02 Jun 2009 16:40:33 +0200, Tristan Gingold wrote:
> I did some manual checks to test this new feature.
With --enable-targets=all standard x86_64 GDB build broke now:
../bfd/libbfd.a(targets.o):(.rodata+0x618): undefined reference to `mach_o_i386_vec'
../bfd/libbfd.a(targets.o):(.rodata+0x29c8): undefined reference to `mach_o_i386_vec'
collect2: ld returned 1 exit status
(specifically tried ./configure --enable-64-bit-bfd --enable-targets=all
--enable-static --disable-shared --enable-debug)
OK to check-in?
Regards,
Jan
2009-06-05 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.am: Run "make dep-am".
(BFD32_BACKENDS): Add mach-o-i386.lo.
(BFD32_BACKENDS_CFILES): Add mach-o-i386.c.
* Makefile.in: Regenerate.
--- bfd/Makefile.am 4 Jun 2009 06:51:11 -0000 1.230
+++ bfd/Makefile.am 5 Jun 2009 21:16:10 -0000
@@ -333,6 +333,7 @@ BFD32_BACKENDS = \
m88kmach3.lo \
m88kopenbsd.lo \
mach-o.lo \
+ mach-o-i386.lo \
mipsbsd.lo \
newsos3.lo \
nlm.lo \
@@ -514,6 +515,7 @@ BFD32_BACKENDS_CFILES = \
m88kmach3.c \
m88kopenbsd.c \
mach-o.c \
+ mach-o-i386.c \
mipsbsd.c \
newsos3.c \
nlm.c \
@@ -3090,6 +3092,13 @@ mach-o.lo: \
$(INCDIR)/libiberty.h \
mach-o-target.c \
mach-o.h
+mach-o-i386.lo: \
+ mach-o-i386.c \
+ $(INCDIR)/filenames.h \
+ $(INCDIR)/hashtab.h \
+ $(INCDIR)/libiberty.h \
+ mach-o-target.c \
+ mach-o.h
mipsbsd.lo: \
mipsbsd.c \
$(INCDIR)/aout/aout64.h \
--- bfd/Makefile.in 4 Jun 2009 06:51:11 -0000 1.254
+++ bfd/Makefile.in 5 Jun 2009 21:16:10 -0000
@@ -604,6 +604,7 @@ BFD32_BACKENDS = \
m88kmach3.lo \
m88kopenbsd.lo \
mach-o.lo \
+ mach-o-i386.lo \
mipsbsd.lo \
newsos3.lo \
nlm.lo \
@@ -785,6 +786,7 @@ BFD32_BACKENDS_CFILES = \
m88kmach3.c \
m88kopenbsd.c \
mach-o.c \
+ mach-o-i386.c \
mipsbsd.c \
newsos3.c \
nlm.c \
@@ -3691,6 +3693,13 @@ mach-o.lo: \
$(INCDIR)/libiberty.h \
mach-o-target.c \
mach-o.h
+mach-o-i386.lo: \
+ mach-o-i386.c \
+ $(INCDIR)/filenames.h \
+ $(INCDIR)/hashtab.h \
+ $(INCDIR)/libiberty.h \
+ mach-o-target.c \
+ mach-o.h
mipsbsd.lo: \
mipsbsd.c \
$(INCDIR)/aout/aout64.h \