Re: Link time optimizations

jaidi@ubd.edu.bn (Nor Jaidi)
14 Feb 1996 21:22:42 -0500

          From comp.compilers

Related articles
Link time optimizations jacob@jacob.remcomp.fr (1996-02-09)
Re: Link time optimizations jaidi@ubd.edu.bn (1996-02-10)
Re: Link time optimizations richard@atheist.tamu.edu (1996-02-13)
Re: Link time optimizations jaidi@ubd.edu.bn (1996-02-14)
| List of all articles for this month |

From: jaidi@ubd.edu.bn (Nor Jaidi)
Newsgroups: comp.compilers
Date: 14 Feb 1996 21:22:42 -0500
Organization: Compilers Central
References: 96-02-088 96-02-104
Keywords: linker, optimize

Earlier I posted the following:


>Procedure calls are segment-relative and this is also invisible.
>Anyway, you also have to consider the possibility of indirect call (via
>pointer to function). (Another "damn it!" I guess)


I realise now that I am wrong. Procedure calls are not invisible in
the obj file because there is a possibility that two obj files use the
same segment name and these must be merged, hence relocation must
occur. When I posted my previous message I was thinking of compiler
output where the segment names are distinct (derived from the source
file names). But I forgot that the assembly language programmers are
still out there and the obj file format must cater for their taste!


Nor Jaidi jaidi@ubd.edu.bn
Department of Mathematics
Universiti Brunei Darussalam
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.