ld: i960

1 
1 4.2 'ld' and the Intel 960 Family
1 =================================
1 
1 You can use the '-AARCHITECTURE' command line option to specify one of
1 the two-letter names identifying members of the 960 family; the option
1 specifies the desired output target, and warns of any incompatible
1 instructions in the input files.  It also modifies the linker's search
1 strategy for archive libraries, to support the use of libraries specific
1 to each particular architecture, by including in the search loop names
1 suffixed with the string identifying the architecture.
1 
1    For example, if your 'ld' command line included '-ACA' as well as
1 '-ltry', the linker would look (in its built-in search paths, and in any
1 paths you specify with '-L') for a library with the names
1 
1      try
1      libtry.a
1      tryca
1      libtryca.a
1 
1 The first two possibilities would be considered in any event; the last
1 two are due to the use of '-ACA'.
1 
1    You can meaningfully use '-A' more than once on a command line, since
1 the 960 architecture family allows combination of target architectures;
1 each use will add another pair of name variants to search for when '-l'
1 specifies a library.
1 
1    'ld' supports the '--relax' option for the i960 family.  If you
1 specify '--relax', 'ld' finds all 'balx' and 'calx' instructions whose
1 targets are within 24 bits, and turns them into 24-bit program-counter
1 relative 'bal' and 'cal' instructions, respectively.  'ld' also turns
1 'cal' instructions into 'bal' instructions when it determines that the
1 target subroutine is a leaf routine (that is, the target subroutine does
1 not itself call any subroutines).
1