This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can we speed up the gcc_target structure?
- From: "Joseph S. Myers" <jsm at polyomino dot org dot uk>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: Chris Lattner <sabre at nondot dot org>, Richard Henderson <rth at redhat dot com>, "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, ian at wasabisystems dot com, gcc at gcc dot gnu dot org
- Date: Sun, 18 Jan 2004 22:42:24 +0000 (UTC)
- Subject: Re: Can we speed up the gcc_target structure?
- References: <Pine.LNX.4.44.0401181630170.17710-100000@nondot.org><20040118223317.GE11268@atrey.karlin.mff.cuni.cz>
On Sun, 18 Jan 2004, Jan Hubicka wrote:
> I suppose this is mostly equivalent to what LLVM have except for the
> fact that list of symbols with external linkage is boundled in the
> source itself, instead of being in separate file.
> Do you have any experience with the separate file having considerable
> benefits?
If you could generate the list from a GNU linker script, you could take
advantage of such a script in any library hiding internal functions that
way. The obvious example is glibc but I don't know to what extent the
functions written in assembler would inhibit such optimisations.
--
Joseph S. Myers
jsm@polyomino.org.uk