* [PATCH]: Take into account elf32-m68hc1x.c in bfd configure and Makefile
@ 2003-04-19 9:20 Stephane Carrez
2003-04-21 13:43 ` Stephane Carrez
0 siblings, 1 reply; 2+ messages in thread
From: Stephane Carrez @ 2003-04-19 9:20 UTC (permalink / raw)
To: binutils
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
Hi!
This patch updates the Makefile and configure to take into account the
new elf32-m68hc1x.c file and compile it for HC11/HC12. The configure takes
care of removing duplicates so it's ok to specify it in both hc11 and hc12
lists.
I plan to commit this on Monday.
Stephane
2003-04-18 Stephane Carrez <stcarrez@nerim.fr>
* Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
(elf32-m68hc1x.lo): Update dependencies
* configure.in: Add elf32-m68hc1x.lo.
* configure: Rebuild.
* Makefile.in: Rebuild.
[-- Attachment #2: bfd.diffs --]
[-- Type: text/plain, Size: 2803 bytes --]
Index: Makefile.am
===================================================================
RCS file: /cvs/src/src/bfd/Makefile.am,v
retrieving revision 1.119
diff -u -p -r1.119 Makefile.am
--- Makefile.am 1 Apr 2003 15:50:26 -0000 1.119
+++ Makefile.am 19 Apr 2003 08:54:50 -0000
@@ -231,6 +231,7 @@ BFD32_BACKENDS = \
elf32-m32r.lo \
elf32-m68hc11.lo \
elf32-m68hc12.lo \
+ elf32-m68hc1x.lo \
elf32-m68k.lo \
elf32-m88k.lo \
elf-m10200.lo \
@@ -394,6 +395,7 @@ BFD32_BACKENDS_CFILES = \
elf32-m68k.c \
elf32-m68hc11.c \
elf32-m68hc12.c \
+ elf32-m68hc1x.c \
elf32-m88k.c \
elf-m10200.c \
elf-m10300.c \
@@ -1206,12 +1208,16 @@ elf32-m68k.lo: elf32-m68k.c $(INCDIR)/fi
elf32-m68hc11.lo: elf32-m68hc11.c $(INCDIR)/filenames.h \
$(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
$(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/m68hc11.h \
- $(INCDIR)/elf/reloc-macros.h elf32-target.h
+ $(INCDIR)/elf/reloc-macros.h elf32-target.h elf32-m68hc1x.h
elf32-m68hc12.lo: elf32-m68hc12.c $(INCDIR)/filenames.h \
elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
$(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/m68hc11.h \
$(INCDIR)/elf/reloc-macros.h $(INCDIR)/opcode/m68hc11.h \
- elf32-target.h
+ elf32-target.h elf32-m68hc1x.h
+elf32-m68hc1x.lo: elf32-m68hc1x.c $(INCDIR)/filenames.h \
+ $(INCDIR)/bfdlink.h elf-bfd.h $(INCDIR)/elf/common.h \
+ $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/elf/m68hc11.h \
+ $(INCDIR)/elf/reloc-macros.h elf32-target.h elf32-m68hc1x.h
elf32-m88k.lo: elf32-m88k.c $(INCDIR)/filenames.h elf-bfd.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
$(INCDIR)/bfdlink.h elf32-target.h
Index: configure.in
===================================================================
RCS file: /cvs/src/src/bfd/configure.in,v
retrieving revision 1.126
diff -u -p -r1.126 configure.in
--- configure.in 1 Apr 2003 15:50:27 -0000 1.126
+++ configure.in 19 Apr 2003 08:54:53 -0000
@@ -597,8 +597,8 @@ do
bfd_elf32_littlearm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
bfd_elf32_littlemips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
bfd_elf32_m32r_vec) tb="$tb elf32-m32r.lo elf32.lo $elf" ;;
- bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32.lo $elf" ;;
- bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32.lo $elf" ;;
+ bfd_elf32_m68hc11_vec) tb="$tb elf32-m68hc11.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
+ bfd_elf32_m68hc12_vec) tb="$tb elf32-m68hc12.lo elf32-m68hc1x.lo elf32.lo $elf" ;;
bfd_elf32_m68k_vec) tb="$tb elf32-m68k.lo elf32.lo $elf" ;;
bfd_elf32_m88k_vec) tb="$tb elf32-m88k.lo elf32.lo $elf" ;;
bfd_elf32_mcore_big_vec) tb="$tb elf32-mcore.lo elf32.lo $elf" ;;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH]: Take into account elf32-m68hc1x.c in bfd configure and Makefile
2003-04-19 9:20 [PATCH]: Take into account elf32-m68hc1x.c in bfd configure and Makefile Stephane Carrez
@ 2003-04-21 13:43 ` Stephane Carrez
0 siblings, 0 replies; 2+ messages in thread
From: Stephane Carrez @ 2003-04-21 13:43 UTC (permalink / raw)
To: Stephane Carrez; +Cc: binutils
Stephane Carrez wrote:
> I plan to commit this on Monday.
>
> Stephane
>
> 2003-04-18 Stephane Carrez <stcarrez@nerim.fr>
>
> * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
> (elf32-m68hc1x.lo): Update dependencies
> * configure.in: Add elf32-m68hc1x.lo.
> * configure: Rebuild.
> * Makefile.in: Rebuild.
Committed.
Stephane
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-21 13:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-19 9:20 [PATCH]: Take into account elf32-m68hc1x.c in bfd configure and Makefile Stephane Carrez
2003-04-21 13:43 ` Stephane Carrez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).