This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: realxing linker


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]