2008-06-12 David Edelsohn <edelsohn@gnu.org>

David S. Miller  <davem@davemloft.net>

        * powerpc.cc: New file.
        * Makefile.am (TARGETSOURCES): Add powerpc.cc
        (ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
        * configure.tgt: Add entries for powerpc-* and powerpc64-*.
        * Makefile.in: Rebuild.
This commit is contained in:
David Edelsohn 2008-06-12 17:02:17 +00:00
parent 8da8e50a53
commit 42cacb20ed
5 changed files with 2012 additions and 4 deletions

View file

@ -1,3 +1,12 @@
2008-06-12 David Edelsohn <edelsohn@gnu.org>
David S. Miller <davem@davemloft.net>
* powerpc.cc: New file.
* Makefile.am (TARGETSOURCES): Add powerpc.cc
(ALL_TARGETOBJS): Add powerpc.$(OBJEXT)
* configure.tgt: Add entries for powerpc-* and powerpc64-*.
* Makefile.in: Rebuild.
2008-06-09 Ian Lance Taylor <iant@google.com>
* testsuite/relro_test.cc: Include <cstdio>, <cstdlib>, and

View file

@ -109,10 +109,10 @@ YFILES = \
EXTRA_DIST = yyscript.c yyscript.h
TARGETSOURCES = \
i386.cc x86_64.cc sparc.cc
i386.cc x86_64.cc sparc.cc powerpc.cc
ALL_TARGETOBJS = \
i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT)
i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT)
libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)

View file

@ -389,10 +389,10 @@ YFILES = \
EXTRA_DIST = yyscript.c yyscript.h
TARGETSOURCES = \
i386.cc x86_64.cc sparc.cc
i386.cc x86_64.cc sparc.cc powerpc.cc
ALL_TARGETOBJS = \
i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT)
i386.$(OBJEXT) x86_64.$(OBJEXT) sparc.$(OBJEXT) powerpc.$(OBJEXT)
libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
sources_var = main.cc
@ -542,6 +542,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/options.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/output.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/parameters.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/powerpc.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/readsyms.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reduced_debug_output.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/reloc.Po@am__quote@

View file

@ -76,6 +76,22 @@ sparc64-*)
targ_big_endian=true
targ_extra_big_endian=false
;;
powerpc-*)
targ_obj=powerpc
targ_machine=EM_PPC
targ_size=32
targ_extra_size=64
targ_big_endian=true
targ_extra_big_endian=false
;;
powerpc64-*)
targ_obj=ppc64
targ_machine=EM_PPC64
targ_size=64
targ_extra_size=32
targ_big_endian=true
targ_extra_big_endian=false
;;
*)
targ_obj=UNKNOWN
;;

1982
gold/powerpc.cc Normal file

File diff suppressed because it is too large Load diff