Lines Matching refs:script

100 default linker script, and certain emulations also modify certain types
103 Emulations are created during the build process by the shell script
106 The @file{genscripts.sh} script starts by reading a file in the
107 @file{emulparams} directory. This is a shell script which sets various
111 The @file{genscripts.sh} script will invoke a shell script in the
113 written in the linker command language. The @file{scripttempl} script
116 The choice of script is made based on the command line options.
119 shell script, this time in the @file{emultempl} directory. That shell
120 script will create the emulation source file, which contains C code.
126 emulation parameters script in the @file{emulparams} directory, a linker
127 script generation script in the @file{scripttempl} directory, and an
128 emulation source file generation script in the @file{emultempl}
152 This shell variable is used by the @file{configure} script to control
157 shell script will be @file{emulparams/@var{emul}.sh}. The
164 the @file{configure} script, and is used to set the default target
167 By convention, the @file{emulparams/@var{emul}.sh} shell script should
171 @file{genscripts.sh} script.
179 This is the name of the @file{scripttempl} script to use. If
180 @code{SCRIPT_NAME} is set to @var{script}, @file{genscripts.sh} will use
181 the script @file{scripttempl/@var{script}.sc}.
184 This is the name of the @file{emultempl} script to use. If
186 use the script @file{emultempl/@var{template}.em}. If this variable is
191 the @file{scripttempl} script an extra time to create a shared library
192 script. @ref{linker scripts}.
196 @samp{"a.out-sunos-big"}. The @file{scripttempl} script will normally
197 use it in an @code{OUTPUT_FORMAT} expression in the linker script.
201 @samp{sparc}). The @file{scripttempl} script will normally use it in an
202 @code{OUTPUT_ARCH} expression in the linker script.
206 @code{ENTRY} expression in the linker script.
213 The @file{genscripts.sh} script uses this to set the default value of
214 @code{DATA_ALIGNMENT} when running the @file{scripttempl} script.
217 If @code{SEGMENT_SIZE} is not defined, the @file{genscripts.sh} script
228 Each linker target uses a @file{scripttempl} script to generate the
229 default linker scripts. The name of the @file{scripttempl} script is
230 set by the @code{SCRIPT_NAME} variable in the @file{emulparams} script.
231 If @code{SCRIPT_NAME} is set to @var{script}, @code{genscripts.sh} will
232 invoke @file{scripttempl/@var{script}.sc}.
234 The @file{genscripts.sh} script will invoke the @file{scripttempl}
235 script 5 to 9 times. Each time it will set the shell variable
237 options used will direct it to select a particular script. (Script
241 The @file{scripttempl} script should just write a linker script, written
246 where @var{extension} changes each time the @file{scripttempl} script is
253 The script generated is used by default (when none of the following
256 The script generated is used when the linker is invoked with the
259 The script generated is used when the linker is invoked with the
262 The script generated is used when the linker is invoked with the
265 The script generated is used when the linker is invoked with the
268 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
270 @file{emulparams} file. The @file{emultempl} script must arrange to use
271 this script at the appropriate time, normally when the linker is invoked
275 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
278 @file{emultempl} script must arrange to use this script at the appropriate
283 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
287 The @file{emultempl} script must arrange to use this script at the
291 The @file{scripttempl} script is only invoked with @code{LD_FLAG} set to
293 @file{emulparams} file. The @file{emultempl} script must arrange to
294 use this script at the appropriate time, normally when the linker is
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