This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: realxing linker
- From: Nick Clifton <nickc at redhat dot com>
- To: Nagy Zoltán <nagy dot zoltan at szabadember dot hu>
- Cc: binutils at sourceware dot org
- Date: Wed, 24 Jan 2007 16:17:37 +0000
- Subject: Re: realxing linker
- References: <200701221655.44293.nagy.zoltan@szabadember.hu>
Hi Zoli,
What is a relaxing linker,
A relaxing linker is a linker that can perform relaxation. Relaxation,
in this case, refers to the linker working out that it is possible to
replace certain instruction sequences in the binary it is generating
with shorter sequences. This is usually because the linker has worked
out the placement of the code and can tell that a shorter jump or branch
instruction can be used. This is of course a target specific optimization.
and what targets are supported?
The linker documentation tells you this. Look for the description of
the --relax linker command line option.
Cheers
Nick