Updated to work with the linux386 platform.
This commit is contained in:
parent
daee8da3c4
commit
04860c08a8
4 changed files with 93 additions and 23 deletions
56
mach/i386/libem/pmfile
Normal file
56
mach/i386/libem/pmfile
Normal 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"),
|
||||||
|
}
|
|
@ -1,22 +1,24 @@
|
||||||
.sect .text
|
! $Source$
|
||||||
.sect .rom
|
! $State$
|
||||||
.sect .data
|
! $Revision$
|
||||||
.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.
|
|
||||||
|
|
||||||
.sect .text
|
.sect .text
|
||||||
endtext:
|
.sect .rom
|
||||||
.sect .data
|
.sect .data
|
||||||
|
.sect .bss
|
||||||
|
.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:
|
enddata:
|
||||||
.sect .end
|
.sect .end
|
||||||
|
.align 4
|
||||||
__end:
|
__end:
|
||||||
endbss:
|
endbss:
|
||||||
|
|
16
mach/i386/libend/pmfile
Normal file
16
mach/i386/libend/pmfile
Normal 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"),
|
||||||
|
}
|
|
@ -1,26 +1,22 @@
|
||||||
-- $Source$
|
-- $Source$
|
||||||
-- $State$
|
-- $State$
|
||||||
|
-- $Revision$
|
||||||
|
|
||||||
local d = ROOTDIR.."mach/i386/"
|
local d = ROOTDIR.."mach/i386/"
|
||||||
|
|
||||||
include (d.."cv/pmfile")
|
include (d.."libem/pmfile")
|
||||||
|
include (d.."libend/pmfile")
|
||||||
|
|
||||||
mach_i386 = group {
|
mach_i386 = group {
|
||||||
ARCH = "i386",
|
|
||||||
|
|
||||||
proto_as,
|
proto_as,
|
||||||
proto_ncg { ARCHDIR = "i386" },
|
proto_ncg { ARCHDIR = "i386" },
|
||||||
ego_descr,
|
ego_descr,
|
||||||
tool_i386_cv,
|
|
||||||
|
|
||||||
install = pm.install("%ROOTDIR%lib/%ARCH%/descr", "%BINDIR%%PLATIND%/%ARCH%/descr"),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Revision history
|
support_i386 = group {
|
||||||
-- $Log$
|
OPTIMISATION = "-O",
|
||||||
-- Revision 1.2 2006-07-22 00:52:01 dtrg
|
|
||||||
-- Added support for the ego global optimisation suite.
|
libem_i386,
|
||||||
--
|
libend_i386,
|
||||||
-- Revision 1.1 2006/07/20 23:18:18 dtrg
|
}
|
||||||
-- First version in CVS.
|
|
||||||
--
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue