Related articles |
---|
multi calling convention libraries Wolfgang.Hospital@Materna.DE (1999-10-31) |
Re: multi calling convention libraries adonovan@imerge.co.uk (Alan Donovan) (1999-11-02) |
From: | Wolfgang.Hospital@Materna.DE |
Newsgroups: | comp.compilers |
Date: | 31 Oct 1999 01:22:06 -0400 |
Organization: | Compilers Central |
Keywords: | linker, architecture, question |
I have been toying around with the idea of including entry points
(symbols and code) for several calling conventions in one library
(Motivation below). If the name decoration conventions prevent name
collisions, it should not be too difficult to compile the sources
involved once for each calling convention, putting it all into a
single library. An obvious drawback is the increased space required
(BLOAT).
Are there any developments to support such contortions?
Regarding GCC: how big would you guesstimate the effort
1) to automate the generation of
"multiple calling convention object files"
2) to reduce the overhead in code size (and, less important, in
compile time) to, say, less than half of a brute force approach?
(a: for a person who knows the reunited gcc/++ inside out
b: additional time required to get from: "read about Machine
Descriptions, Target Description Macros, and Stack Layout
and Calling Conventions, but never really dug into it"
to reasonable results)
-- =
Wolfgang Hospital
CoC DMS
Dr. Materna GmbH, Dortmund
Federal Republic of Germany
Return to the
comp.compilers page.
Search the
comp.compilers archives again.