From Craig Silverstein: x86_64 support.

This commit is contained in:
Ian Lance Taylor 2007-10-01 21:30:59 +00:00
parent 5b3463d9ee
commit 2e30d253b7
5 changed files with 1670 additions and 47 deletions

View File

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

View File

@ -325,10 +325,10 @@ YFILES = \
EXTRA_DIST = yyscript.c yyscript.h
TARGETSOURCES = \
i386.cc
i386.cc x86_64.cc
ALL_TARGETOBJS = \
i386.$(OBJEXT)
i386.$(OBJEXT) x86_64.$(OBJEXT)
libgold_a_SOURCES = $(CCFILES) $(HFILES) $(YFILES)
sources_var = main.cc
@ -465,6 +465,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/symtab.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/target-select.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/workqueue.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x86_64.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/yyscript.Po@am__quote@
.c.o:

View File

@ -48,3 +48,4 @@ target-select.cc
target-select.h
workqueue.cc
workqueue.h
x86_64.cc

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2007-09-25 22:42-0700\n"
"POT-Creation-Date: 2007-10-01 14:30-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -171,7 +171,7 @@ msgstr ""
msgid "%s: %s: size of dynamic symbols is not multiple of symbol size\n"
msgstr ""
#: dynobj.cc:1266
#: dynobj.cc:1302
#, c-format
msgid "%s: symbol %s has undefined version %s\n"
msgstr ""
@ -265,22 +265,23 @@ msgid "pthread_cond_signal failed"
msgstr ""
#. FIXME: This needs to specify the location somehow.
#: i386.cc:130
#: i386.cc:130 x86_64.cc:137
#, c-format
msgid "%s: missing expected TLS relocation\n"
msgstr ""
#: i386.cc:751 i386.cc:912 i386.cc:1174
#: i386.cc:751 i386.cc:912 i386.cc:1174 x86_64.cc:733 x86_64.cc:886
#: x86_64.cc:1169
#, c-format
msgid "%s: %s: unexpected reloc %u in object file\n"
msgstr ""
#: i386.cc:788 i386.cc:808
#: i386.cc:788 i386.cc:808 x86_64.cc:767 x86_64.cc:788
#, c-format
msgid "%s: %s: unsupported reloc %u against local symbol\n"
msgstr ""
#: i386.cc:948 i386.cc:969
#: i386.cc:948 i386.cc:969 x86_64.cc:920 x86_64.cc:942
#, c-format
msgid "%s: %s: unsupported reloc %u against global symbol %s\n"
msgstr ""
@ -290,32 +291,33 @@ msgstr ""
msgid "%s: %s: unsupported RELA reloc section\n"
msgstr ""
#: i386.cc:1082
#: i386.cc:1082 x86_64.cc:1055
#, c-format
msgid "%s: %s: missing expected TLS relocation\n"
msgstr ""
#: i386.cc:1206 i386.cc:1283 i386.cc:1294
#: i386.cc:1206 i386.cc:1283 i386.cc:1294 x86_64.cc:1203 x86_64.cc:1281
#: x86_64.cc:1290
#, c-format
msgid "%s: %s: unsupported reloc %u\n"
msgstr ""
#: i386.cc:1233
#: i386.cc:1233 x86_64.cc:1231
#, c-format
msgid "%s: %s: TLS reloc but no TLS segment\n"
msgstr ""
#: i386.cc:1268
#: i386.cc:1268 x86_64.cc:1266
#, c-format
msgid "%s: %s: unsupported reloc type %u\n"
msgstr ""
#: i386.cc:1477
#: i386.cc:1477 x86_64.cc:1478
#, c-format
msgid "%s: %s: TLS relocation out of range\n"
msgstr ""
#: i386.cc:1495
#: i386.cc:1495 x86_64.cc:1496
#, c-format
msgid "%s: %s: TLS relocation against invalid instruction\n"
msgstr ""
@ -386,62 +388,62 @@ msgstr ""
msgid "%s: %s: local symbol %u section name out of range: %u >= %u\n"
msgstr ""
#: object.cc:857
#: object.cc:860
#, c-format
msgid "%s: %s: unsupported ELF file type %d\n"
msgstr ""
#: object.cc:876 object.cc:929 object.cc:964
#: object.cc:879 object.cc:932 object.cc:967
#, c-format
msgid "%s: %s: ELF file too short\n"
msgstr ""
#: object.cc:885
#: object.cc:888
#, c-format
msgid "%s: %s: invalid ELF version 0\n"
msgstr ""
#: object.cc:888
#: object.cc:891
#, c-format
msgid "%s: %s: unsupported ELF version %d\n"
msgstr ""
#: object.cc:896
#: object.cc:899
#, c-format
msgid "%s: %s: invalid ELF class 0\n"
msgstr ""
#: object.cc:903
#: object.cc:906
#, c-format
msgid "%s: %s: unsupported ELF class %d\n"
msgstr ""
#: object.cc:911
#: object.cc:914
#, c-format
msgid "%s: %s: invalid ELF data encoding\n"
msgstr ""
#: object.cc:918
#: object.cc:921
#, c-format
msgid "%s: %s: unsupported ELF data encoding %d\n"
msgstr ""
#: object.cc:941
#: object.cc:944
#, c-format
msgid "%s: %s: not configured to support 32-bit big-endian object\n"
msgstr ""
#: object.cc:954
#: object.cc:957
#, c-format
msgid "%s: %s: not configured to support 32-bit little-endian object\n"
msgstr ""
#: object.cc:976
#: object.cc:979
#, c-format
msgid "%s: %s: not configured to support 64-bit big-endian object\n"
msgstr ""
#: object.cc:989
#: object.cc:992
#, c-format
msgid "%s: %s: not configured to support 64-bit little-endian object\n"
msgstr ""
@ -597,37 +599,37 @@ msgstr ""
msgid "%s: -%c: %s\n"
msgstr ""
#: output.cc:922
#: output.cc:1011
#, c-format
msgid "%s: %s: invalid alignment %lu for section \"%s\"\n"
msgstr ""
#: output.cc:1571
#: output.cc:1660
#, c-format
msgid "%s: %s: open: %s\n"
msgstr ""
#: output.cc:1580
#: output.cc:1669
#, c-format
msgid "%s: %s: lseek: %s\n"
msgstr ""
#: output.cc:1587
#: output.cc:1676
#, c-format
msgid "%s: %s: write: %s\n"
msgstr ""
#: output.cc:1597
#: output.cc:1686
#, c-format
msgid "%s: %s: mmap: %s\n"
msgstr ""
#: output.cc:1611
#: output.cc:1700
#, c-format
msgid "%s: %s: munmap: %s\n"
msgstr ""
#: output.cc:1619
#: output.cc:1708
#, c-format
msgid "%s: %s: close: %s\n"
msgstr ""
@ -678,42 +680,37 @@ msgstr ""
msgid "%s: %s: unsupported symbol binding %d for symbol %s\n"
msgstr ""
#: symtab.cc:476 symtab.cc:573
#, c-format
msgid "%s: %s: mixing 32-bit and 64-bit ELF objects\n"
msgstr ""
#: symtab.cc:493
#: symtab.cc:518
#, c-format
msgid "%s: %s: bad global symbol name offset %u at %lu\n"
msgstr ""
#: symtab.cc:580
#: symtab.cc:597
#, c-format
msgid "%s: %s: too few symbol versions\n"
msgstr ""
#: symtab.cc:600
#: symtab.cc:617
#, c-format
msgid "%s: %s: bad symbol name offset %u at %lu\n"
msgstr ""
#: symtab.cc:653
#: symtab.cc:670
#, c-format
msgid "%s: %s: versym for symbol %zu out of range: %u\n"
msgstr ""
#: symtab.cc:661
#: symtab.cc:678
#, c-format
msgid "%s: %s: versym for symbol %zu has no name: %u\n"
msgstr ""
#: symtab.cc:1200 symtab.cc:1373
#: symtab.cc:1248 symtab.cc:1445
#, c-format
msgid "%s: %s: unsupported symbol section 0x%x\n"
msgstr ""
#: symtab.cc:1570
#: symtab.cc:1665
#, c-format
msgid "%s: %s: warning: %s\n"
msgstr ""
@ -727,3 +724,8 @@ msgstr ""
#, c-format
msgid "%s: %s: undefined reference to '%s'\n"
msgstr ""
#: x86_64.cc:965
#, c-format
msgid "%s: %s: unsupported REL reloc section\n"
msgstr ""

1619
gold/x86_64.cc Normal file

File diff suppressed because it is too large Load Diff