Lines Matching full:script

101 default linker script, and certain emulations also modify certain types
104 Emulations are created during the build process by the shell script
107 The @file{genscripts.sh} script starts by reading a file in the
108 @file{emulparams} directory. This is a shell script which sets various
112 The @file{genscripts.sh} script will invoke a shell script in the
114 written in the linker command language. The @file{scripttempl} script
117 The choice of script is made based on the command line options.
120 shell script, this time in the @file{emultempl} directory. That shell
121 script will create the emulation source file, which contains C code.
127 emulation parameters script in the @file{emulparams} directory, a linker
128 script generation script in the @file{scripttempl} directory, and an
129 emulation source file generation script in the @file{emultempl}
153 This shell variable is used by the @file{configure} script to control
158 shell script will be @file{emulparams/@var{emul}.sh}. The
165 the @file{configure} script, and is used to set the default target
168 By convention, the @file{emulparams/@var{emul}.sh} shell script should
172 @file{genscripts.sh} script.
180 This is the name of the @file{scripttempl} script to use. If
181 @code{SCRIPT_NAME} is set to @var{script}, @file{genscripts.sh} will use
182 the script @file{scriptteml/@var{script}.sc}.
185 This is the name of the @file{emultemlp} script to use. If
187 use the script @file{emultempl/@var{template}.em}. If this variable is
192 the @file{scripttempl} script an extra time to create a shared library
193 script. @ref{linker scripts}.
197 @samp{"a.out-sunos-big"}. The @file{scripttempl} script will normally
198 use it in an @code{OUTPUT_FORMAT} expression in the linker script.
202 @samp{sparc}). The @file{scripttempl} script will normally use it in an
203 @code{OUTPUT_ARCH} expression in the linker script.
207 @code{ENTRY} expression in the linker script.
214 If this is defined, the @file{genscripts.sh} script sets
216 @file{scripttempl} script for the @code{-n} and @code{-N} options
220 The @file{genscripts.sh} script uses this to set the default value of
221 @code{DATA_ALIGNMENT} when running the @file{scripttempl} script.
224 If @code{SEGMENT_SIZE} is not defined, the @file{genscripts.sh} script
235 Each linker target uses a @file{scripttempl} script to generate the
236 default linker scripts. The name of the @file{scripttempl} script is
237 set by the @code{SCRIPT_NAME} variable in the @file{emulparams} script.
238 If @code{SCRIPT_NAME} is set to @var{script}, @code{genscripts.sh} will
239 invoke @file{scripttempl/@var{script}.sc}.
241 The @file{genscripts.sh} script will invoke the @file{scripttempl}
242 script 5 to 8 times. Each time it will set the shell variable
244 options used will direct it to select a particular script. (Script
248 The @file{scripttempl} script should just write a linker script, written
253 where @var{extension} changes each time the @file{scripttempl} script is
260 The script generated is used by default (when none of the following
263 The script generated is used when the linker is invoked with the
266 The script generated is used when the linker is invoked with the
269 The script generated is used when the linker is invoked with the
272 The script generated is used when the linker is invoked with the
275 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
277 @file{emulparams} file. The @file{emultempl} script must arrange to use
278 this script at the appropriate time, normally when the linker is invoked
282 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
285 @file{emultempl} script must arrange to use this script at the appropriate
290 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
294 The @file{emultempl} script must arrange to use this script at the
299 Besides the shell variables set by the @file{emulparams} script, and the
300 @code{LD_FLAG} variable, the @file{genscripts.sh} script will set
301 certain variables for each run of the @file{scripttempl} script.
315 page aligned, or to @samp{.} when generating the @code{-N} script.
319 script.
323 scripts to a temporary file name which can be used during script generation.
326 The conventional way to write a @file{scripttempl} script is to first
327 set a few shell variables, and then write out a linker script using
328 @code{cat} with a here document. The linker script will use variable
330 @file{emulparams} script, to control its behaviour.
332 When there are parts of the @file{scripttempl} script which should only
337 a relocatable link using @code{-r}. The @file{scripttempl} script
345 The basic job of the linker script is to put the sections in the correct
347 linker script may have to do some other operations.
361 Many COFF systems build constructor tables in the linker script. The
387 The use of @code{CONSTRUCTING} ensures that these linker script commands
405 Each linker target uses an @file{emultempl} script to generate the
406 emulation code. The name of the @file{emultempl} script is set by the
407 @code{TEMPLATE_NAME} variable in the @file{emulparams} script. If the
412 Most targets use the generic @file{emultempl} script,
413 @file{emultempl/generic.em}. A different @file{emultempl} script is
417 The @file{emultempl} script is normally written as a simple invocation
428 The @file{genscripts.sh} script will set the shell variable
429 @code{EMULATION_NAME} before invoking the @file{emultempl} script.
439 The @file{genscripts.sh} script will set the shell variable
440 @code{COMPILE_IN} when it invokes the @file{emultempl} script for the
441 default emulation. In this case, the @file{emultempl} script should
497 to set up any variables needed by the emulation script.
500 script to use (based on arguments, no doubt, @pxref{Emulations}) and
509 done reading the script, @code{main} calls @code{ldemul_after_parse}.
511 script might have set up, like the entry point.
536 script. If a section doesn't get mapped by default,
564 @item parse script