Updated to work with the linux386 platform.

This commit is contained in:
dtrg 2007-04-21 22:57:51 +00:00
parent cc57ec1e11
commit 1a19c3ffec
4 changed files with 93 additions and 23 deletions

56
mach/i386/libem/pmfile Normal file
View File

@ -0,0 +1,56 @@
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."mach/i386/libem/"
libem_i386 = acklibrary {
outputs = {"%U%/libem-%PLATFORM%.a"},
ackfile (d.."adi.s"),
ackfile (d.."and.s"),
ackfile (d.."blm.s"),
ackfile (d.."cii.s"),
ackfile (d.."cms.s"),
ackfile (d.."com.s"),
ackfile (d.."csa4.s"),
ackfile (d.."csb4.s"),
ackfile (d.."cuu.s"),
ackfile (d.."dup.s"),
ackfile (d.."dvi.s"),
ackfile (d.."dvu.s"),
ackfile (d.."error.s"),
ackfile (d.."exg.s"),
ackfile (d.."fp8087.s"),
ackfile (d.."fat.s"),
ackfile (d.."gto.s"),
ackfile (d.."iaar.s"),
ackfile (d.."ilar.s"),
ackfile (d.."inn.s"),
ackfile (d.."ior.s"),
ackfile (d.."isar.s"),
ackfile (d.."lar4.s"),
ackfile (d.."loi.s"),
ackfile (d.."mli.s"),
ackfile (d.."mon.s"),
ackfile (d.."ngi.s"),
ackfile (d.."nop.s"),
ackfile (d.."print.s"),
ackfile (d.."rck.s"),
ackfile (d.."rmi.s"),
ackfile (d.."rmu.s"),
ackfile (d.."rol.s"),
ackfile (d.."ror.s"),
ackfile (d.."sar4.s"),
ackfile (d.."sbi.s"),
ackfile (d.."set.s"),
ackfile (d.."sli.s"),
ackfile (d.."sri.s"),
ackfile (d.."sti.s"),
ackfile (d.."strhp.s"),
ackfile (d.."trp.s"),
ackfile (d.."unknown.s"),
ackfile (d.."xor.s"),
install = pm.install("%BINDIR%lib/%PLATFORM%/libem.a"),
}

View File

@ -1,22 +1,24 @@
! $Source$
! $State$
! $Revision$
.sect .text
.sect .rom
.sect .data
.sect .bss
.define endtext,enddata,endbss,__end
.sect .text
.align 4
.sect .rom
.align 4
.sect .data
.align 4
.sect .bss
.align 4
.sect .end ! only for declaration of _end, __end and endbss.
.define endtext, endrom, enddata, endbss, __end
.sect .text
.align 4
endtext:
.sect .rom
.align 4
endrom:
.sect .data
.align 4
enddata:
.sect .end
.align 4
__end:
endbss:

16
mach/i386/libend/pmfile Normal file
View File

@ -0,0 +1,16 @@
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."mach/i386/libend/"
libend_i386 = acklibrary {
outputs = {"%U%/libend-%PLATFORM%.a"},
ackfile (d.."edata.s"),
ackfile (d.."em_end.s"),
ackfile (d.."end.s"),
ackfile (d.."etext.s"),
install = pm.install("%BINDIR%lib/%PLATFORM%/libend.a"),
}

View File

@ -1,26 +1,22 @@
-- $Source$
-- $State$
-- $Revision$
local d = ROOTDIR.."mach/i386/"
include (d.."cv/pmfile")
include (d.."libem/pmfile")
include (d.."libend/pmfile")
mach_i386 = group {
ARCH = "i386",
proto_as,
proto_ncg { ARCHDIR = "i386" },
ego_descr,
tool_i386_cv,
install = pm.install("%ROOTDIR%lib/%ARCH%/descr", "%BINDIR%%PLATIND%/%ARCH%/descr"),
}
-- Revision history
-- $Log$
-- Revision 1.2 2006-07-22 00:52:01 dtrg
-- Added support for the ego global optimisation suite.
--
-- Revision 1.1 2006/07/20 23:18:18 dtrg
-- First version in CVS.
--
support_i386 = group {
OPTIMISATION = "-O",
libem_i386,
libend_i386,
}