daily update
[deliverable/binutils-gdb.git] / ld / NEWS
CommitLineData
252b5132 1-*- text -*-
81c23f82 2
13761a11
NC
3* Add support for the Texas Instruments MSP430X processor.
4
36591ba1
SL
5* Add support for Altera Nios II.
6
78c8d46c
NC
7* Add support for the V850E3V5 architecture.
8
a3c62988
NC
9* Add support for the Imagination Technologies Meta processor.
10
b1b00fcc
MF
11* --enable-new-dtags no longer generates old dtags in addition to new dtags.
12
e8044f35
RS
13* Remove linker support for MIPS ECOFF targets.
14
1eec346e
NC
15* Add ALIGN_WITH_INPUT to the linker script language to force the alignment of
16 an output section to use the maximum alignment of all its input sections.
17
af18cb59
TG
18Changes in 2.23:
19
8d55a8a0
KT
20* Enable compressed debug section feature for x86/x86_64 pe-coff.
21
da2bb560
NC
22* Add support for the 64-bit ARM architecture: AArch64.
23
eda680f8
L
24* Added SORT_NONE to the linker script language to disable section sorting.
25
62655c7b
RM
26* Add a linker-provided symbol when producing ELF output, '__ehdr_start'
27 to point to the ELF file header (and nearby program headers) in the
28 program's memory image.
29
6927f982
NC
30* Add support for S12X processor.
31
b9c361e0
JL
32* Add support for the VLE extension to the PowerPC architecture.
33
f6c1a2d5
NC
34* Add support for the Freescale XGATE architecture.
35
a72173de
TG
36* Add option -f FILE on AIX (for response file).
37
99c513f6
DD
38* Add support for the Renesas RL78 architecture.
39
cfb8c092
NC
40* Add support for the Adapteva EPIPHANY architecture.
41
a7142d94
TG
42Changes in 2.22:
43
d064f206
NC
44* --copy-dt-needed-entries is no longer enabled by default. Instead
45 --no-copy-dt-needed-entries is the default.
46
ae17ab41 47* INPUT_SECTION_FLAGS has been added to the linker script language
cfb8c092 48 to allow selection of input sections by section header section flags.
ae17ab41 49
69f56ae1 50* Add support for the Tilera TILEPro and TILE-Gx architectures.
90b3661c 51
02ecc8e9 52* Added SORT_BY_INIT_PRIORITY to the linker script language to permit
cfb8c092
NC
53 sorting sections by numerical value of the GCC init_priority attribute
54 encoded in the section name.
02ecc8e9 55
44f45767
TG
56Changes in 2.21:
57
5fec8599
L
58* Linker script expression evaluation is somewhat more sane. This may
59 break scripts that depend on quirks of the old expression evaluation.
60
17f73277
KT
61* Turn off underscoring for x86_64 PE+-COFF targets. For old behavior the
62 option --enable-leading-mingw64-underscores can be used on configure of
63 bfd.
64
40b36596
JM
65* Add support for the TMS320C6000 (TI C6X) processor family.
66
ddbb8a31
NC
67* --add-needed renamed to --copy-dt-needed-entries in order to avoid confusion
68 with --as-needed option.
69
7fcab871
KT
70* Extend .def file syntax by '== <ID>' for imports and exports. This allows
71 to alias the import/export table name written in PE image.
72
a72173de 73* Add --exclude-all-symbols option to PE based linkers. This prevents all
2927aaca
NC
74 symbols from automatically being exported.
75
c7927a3c
NC
76* Add support for the Renesas RX processor.
77
75875724
TG
78* Add support for alpha-vms target.
79
81c23f82
TG
80Changes in 2.20:
81
3e7a7d11
NC
82* GNU/Linux targets now support the STB_GNU_UNIQUE symbol binding. This is a
83 GNU extension to the standard set of ELF symbol bindings. The binding will
84 be passed on to the dynamic linker which will make sure that in the entire
85 process there is just one symbol with the given name and type in use.
ce11ba6c 86
c1711530
DK
87* PE targets now support a GNU extension to allow the alignment of common
88 common symbols to be specified. This support uses custom options in
89 the .drectve section, which will be disregarded by the native tools.
90
09e2aba4
DK
91* PE targets now add primitive support for ELF version scripts; symbols
92 are not versioned, but the local and global symbol visibility directives
93 are respected when filtering symbols in auto-export mode.
94
267e2722
CD
95* New option --no-export-dynamic to undo the effect of the -E and
96 --export-dynamic options.
97
a0c402a5
L
98* ELF: --warn-alternate-em option to warn if an object has alternate
99 ELF machine code.
100
4a93e180
NC
101* New script function REGION_ALIAS to add alias names to memory regions.
102
88183869
DK
103* PE targets no longer make use of the long section names PE extension to
104 the COFF format when generating executable images, by default. The old
105 (slightly non-conformant) behaviour can still be invoked by using the
3efd345c
DK
106 new '--enable-long-section-names' command-line option. It is also enabled
107 automatically in the presence of un-stripped debug information, as GDB
108 needs to be able to find the debug info sections by their full names.
88183869 109
d8045f23
NC
110* For GNU/Linux systems the linker will now avoid processing any relocations
111 made against symbols of the STT_GNU_IFUNC type and instead emit them into
112 the resulting binary for processing by the loader.
113
28024d9d
L
114* --as-needed now links in a dynamic library if it satisfies undefined
115 symbols in regular objects, or in other dynamic libraries. In the
116 latter case the library is not linked if it is found in a DT_NEEDED
117 entry of one of the libraries already linked.
118
258795f5
L
119* Add a new command line option, -Ttext-segment ADDR, for ELF targets
120 to set the address of the first byte of the text segment.
121
c3b7224a
NC
122* Add support for Sunplus score architecture.
123
ce11ba6c
KT
124* Add new option --use-nul-prefixed-import-tables to ld for PE targets to
125 allow fallback to old import table generation with null element prefix.
126
e1c37eb5
DK
127* Windows PE systems now support a new --exclude-modules-for-implib option,
128 allowing users to partition object files and archive members between a DLL
129 and its associated import library as they are generated during linking.
130
84e94c90
NC
131* Add support for Lattice Mico32 (lm32) architecture.
132
62655c7b 133* Add CR16 ELF --embedded-relocs (used to embedded relocations into binaries
7251ccbf
SR
134 for Embedded-PIC code) option.
135
6cb442d3
KT
136* Add to the PE/PE+ targets the support of two different kinds of
137 pseudo-relocations. They can be selected by the switches
138 --enable-runtime-pseudo-reloc-v1 and --enable-runtime-pseudo-reloc-v2.
139 For the switch --enable-runtime-pseudo-reloc it uses for 32-bit
140 runtime pseudo relocation version one, for 64-bit the version two.
141
6e33da12
TG
142Changes in 2.19:
143
66c103b7
AM
144* Linker scripts support a new INSERT command that makes it easier to
145 augment the default script.
146
967928e9 147* Linker script input section filespecs may now specify a file within an
66c103b7 148 archive by writing "archive:file".
967928e9 149
de7dd2bd
NC
150* The --sort-common switch now has an optional argument which specifies the
151 direction of sorting.
152
7fb9f789
NC
153* The M68K linker now supports multiple GOT generation schemes controlled via
154 the --got=<type> command line option.
155
66c103b7
AM
156* The ARM EABI linker will now generate stubs for function calls to symbols
157 that are too far away. The placement of the stubs is controlled by a new
158 linker command line option: --stub-group-size=N.
726150b7 159
7c3d153f
NC
160Changes in 2.18:
161
f96b4a7b
NC
162* Linker sources now released under version 3 of the GNU General Public
163 License.
164
c0065db7
RM
165* ELF: New --build-id option to generate a unique per-binary identifier
166 embedded in a note section.
167
3d3d428f 168* Added support for National Semicondutor CompactRISC (ie CR16) target.
a19bcec6 169
bcb674cf
RS
170* -l:foo now searches the library path for a filename called foo,
171 without converting it to libfoo.a or libfoo.so.
172
14be8564
L
173* Add a new command line option '--default-script=FILE' or '-dT FILE'
174 which specifies a replacement for the built in, default linker
175 script.
176
40b36307
L
177* ELF: Add -Bsymbolic-functions, --dynamic-list-cpp-new, which puts C++
178 operator new and delete on the dynamic list, and --dynamic-list-data,
179 builtin list for --dynamic-list, which puts global data symbols on the
180 dynamic list.
181
99ad8390
NC
182* Add support for x86_64 PE+ target.
183
1c0d3aa6
NC
184* Add support for Score target.
185
55255dae
L
186* ELF: Add --dynamic-list option to specify a list of global symbols
187 whose references shouldn't be bound to the definition within the
188 shared library, or a list of symbols which should be added to the
189 symbol table in the executable.
190
dc0b6aa0
AM
191* The default output section LMA has changed for allocatable sections from
192 being equal to VMA, to keeping the difference between LMA and VMA the same as
193 the previous output section in the same region. This is a more useful
194 default when using overlays and other cases where you specify an LMA
195 differing from the VMA for some sections.
196
c17d87de
NC
197* New switch: --print-gc-sections to list any sections removed by garabge
198 collection.
199
c6dd86c6 200* ARM: Added --vfp11-denorm-fix option to work around an erratum in current
f96b4a7b 201 VFP11 coprocessors.
c6dd86c6 202
c17d87de 203Changes in 2.17:
cf88bb9f 204
d70c5fc7
NC
205* Support for the Infineon XC16X has been added by KPIT Cummins Infosystems.
206
dfcffada
AM
207* Modify the Linux linker search order to better match ld.so search order.
208 Look for DT_NEEDED libraries in paths specified by ld.so.conf before
209 searching the default directories, rather than vice versa.
210 Use $prefix/etc/ld.so.conf if it exists, otherwise /etc/ld.so.conf.
c1446dba 211
4b5bd4e7
DS
212* PE-COFF: Forward exports from DLL's can now be specified in .def files
213 passed directly to ld.
214
3c9b82ba
NC
215* Support for the Z80 processor family has been added.
216
3e8a519c
MM
217* Add support for the "@<file>" syntax to the command line, so that extra
218 switches can be read from <file>.
219
957d91c1
NC
220Changes in 2.16:
221
319850b4
JB
222* Support for the R_ARM_V4BX relocation as defined in the ARM AAELF
223 specification has been added via the --fix-v4bx command-line option.
224
b717d30e
JJ
225* New linker script construct AS_NEEDED(), which sets the --as-needed flag
226 for input files listed inside of it.
227
e2243057
RS
228* A new command-line option, --sysroot, can be used to override the
229 default sysroot location. It only applies to toolchains that were
230 configured using --with-sysroot.
231
3ec57632
NC
232* New linker script functions: ORIGIN() and LENGTH() which return information
233 about a specified memory region.
234
7499d566
NC
235* Port to MAXQ processor contributed by HCL Tech.
236
ba916c8a
MM
237* Added SEGMENT_START to the linker script language to permit the user to
238 override the base address for a segment from the command-line.
239
8fdd7217
NC
240* ELF: --warn-shared-textrel option to warn if adding a DT_TEXTREL to a shared
241 object.
242
bcaa7b3e
L
243* Added SORT_BY_NAME and SORT_BY_ALIGNMENT to the linker script
244 language to permit sorting sections by section name or section
245 maximum alignment.
246
247* Added a new linker command line switch, --sort-section name|alignment,
248 to sort sections by section name or maximum alignment.
249
8fdd7217
NC
250* ELF: --add-needed/--no-add-needed options to control if a DT_NEEDED tag
251 should be added when a shared library comes from DT_NEEDED tags.
14b3c463 252
1fe1f39c
NC
253* Support for the crx-elf target added.
254
1a320fbb 255* Support for the sh-symbianelf target added.
1fe1f39c 256
2d643429
NC
257* A new linker command line switch has been added which allows the hash table
258 size to be set to a suitable prime value near to its argument. This switch
259 is --hash-size=<NUMBER>. Also if the switch --reduce-memory-overheads is
260 used, and --hash-size has not been used, then the default value will be set
261 to 1021.
262
35835446
JR
263* Linker map files are now generated with an O(N) algorithm for finding symbols
264 that are defined in each section. This uses about 40% more memory for
265 symbols than the old O(N^2) algorithm. You can use the new
266 --reduce-memory-overheads option to select the old algorithm; this option
267 might also be used in the future to select similar tradeoffs.
268
2d643429 269Changes in 2.15:
14b3c463 270
8fdd7217
NC
271* ELF: --as-needed/--no-as-needed options to control if a DT_NEEDED tag should
272 be added only when a shared library is referenced.
c0065db7 273
8fdd7217 274* PE: --large-address-aware option to indicate executables support virtual
26d2d8a2
BF
275 addresses greater than 2 gigabytes.
276
1b169501
BF
277* DWARF 2 support for i386pe added.
278
c894ddfb
HPN
279* The linker script operator DEFINED() will now yield 1 only for a symbol that
280 is defined before the statement where DEFINED is used.
281
7a7f4e42
CD
282* The MIPS --embedded-relocs (used to embed relocations into binaries for
283 Embedded-PIC code) is deprecated and will be removed in a future release.
284
0949843d
NC
285* cr16c support added by NSC.
286
6edf0760
NC
287* m32r Linux (ELF) support added by Renesas.
288
560e09e9
NC
289* Improved linker's handling of unresolved symbols. The switch
290 --unresolved-symbols=<method> has been added to tell the linker when it
291 should report them and the switch --warn-unresolved-symbols has been added to
292 make reports be issued as warning messages rather than errors.
293
43c58ae6
CD
294Changes in 2.14:
295
e8fd7476
NC
296* Added support for Xtensa architecture.
297
9c8ebd6a
DJ
298* Added --with-sysroot configure switch to specify a target system root, for
299 linking against a target filesystem image.
300
312b768e
NC
301* Added --accept-unknown-linker-format to restore old linker behaviour (pre
302 2.14) of silently accepting and linking in any files in an unknown binary
303 file format.
304
63fd3b82
NC
305* Added --no-omagic to undo the effects of the -N option.
306
004d9caf
NC
307* Support for Texas Instruments TMS320C4x and TMS320C3x series of
308 DSP's contributed by Michael Hayes and Svein E. Seldal.
c0065db7 309
8e523c23
NC
310* Added --with-lib-path configure switch to specify default value for
311 LIB_PATH.
312
7e392df6
NC
313* ARM port to QNX operating system added by Graeme Peterson.
314
cf88bb9f
NC
315* IP2K support added by Denis Chertykov.
316
2cbb2eef
NC
317Changes in 2.13:
318
319* Support for the Fujitsu FRV architecture added by Red Hat. Models for FR400
320 and FR500 included.
7d553a40 321
37020578
JT
322Changes in version 2.13:
323
324* DEC VAX ELF support, by Matt Thomas.
325
9a66911f
NC
326Changes in version 2.12:
327
49fda6c8
HPN
328* Support for Don Knuth's MMIX, by Hans-Peter Nilsson.
329
3b16e843
NC
330* Support for the OpenRISC 32-bit embedded processor by OpenCores.
331
8bd621d8
AM
332* Support for -z nocopyreloc in the x86 ELF linker, which disables
333 production of copy relocs. Warning: using this option may result in
334 non-sharable applications.
5b343f5a 335
db6751f2
JJ
336* Support for -z combreloc in the ELF linker, which puts dynamic
337 relocations against the same symbol together, so that dynamic linker
338 can use an one-entry symbol lookup cache.
339
340* Support for ELF SHF_MERGE section merging, by Jakub Jelinek.
341
9a66911f
NC
342Changes in version 2.11:
343
b8355149
JH
344* Support for AMD x86-64 architecture, by Jan Hubicka, SuSE Labs.
345
18e03609
NC
346* Support added for eliminating duplicate DWARF2 debug information by
347 having the compiler generate the information in sections called
348 .gnu.linkonce.wi.XXXX where XXXX is a checksum for the contents. The
349 linker then merges these sections together into the normal .debug_info
350 section.
252b5132 351
ec4eb78a
L
352* The native ELF linker now searches the directories in DT_RUNPATH or
353 DT_RPATH of a shared library for shared libraries needed by it.
354
2d30b3da
TW
355* TI C54x support, by Timothy Wall.
356
176355da 357* Added command line switch --section-start to set the start address of any
c0065db7 358 specified section.
176355da 359
a712da20
NC
360* Added ability to emit full relocation information in linked executables,
361 enabled by --emit-relocs. Some post-linkage optimization tools need
362 this information in order to be able to correctly identify and perform
363 symbol relative addressing in the event of changes in section contents
364 (instructions being added or deleted, extending data sections, etc.)
365
22b36938
JE
366* Support for i860, by Jason Eckhardt (preliminary, alpha quality).
367
5bcac8a4
HPN
368* Support for CRIS (Axis Communications ETRAX series).
369
500800ca
NC
370* Support for PDP-11 and 2.11BSD a.out format, by Lars Brinkhoff.
371
919e4093
AM
372Changes in version 2.10:
373
c0065db7 374* Added AT> to the linker script language to allow load-time allocation of
5948916f
TW
375 sections into regions.
376
c0065db7 377* Added garbage collection of unused sections, enabled by --gc-sections.
252b5132 378 It does require a bit of backend support; currently implemented are
4667035e
AM
379 arm-elf, avr-elf, d10v-elf, fr30-elf, i386-elf, m32r-elf, m68k-elf,
380 mcore-elf, mips-elf, mn10300-elf, ppc-elf, sh-elf, sparc-elf, and v850-elf.
987fd5b4 381 Others will ignore the option.
252b5132
RH
382
383* Added SORT to the linker script language to permit sorting sections by file
384 name or section name.
385
386* Added EXTERN to the linker script language as an equivalent to the -u
387 command-line option.
388
389* Added ASSERT to the linker script language.
390
277c9afe
ILT
391* Added EXCLUDE_FILE to the linker script language for further control over
392 wildcard file names.
393
252b5132 394* Added -O option to optimize linker output (as of this writing, this only
500800ca 395 affects ELF shared library generation).
252b5132
RH
396
397* The -e option now accepts a number as well as a symbol name.
398
2575273d
ILT
399* Added --no-undefined option to disallow undefined symbols when creating a
400 shared library.
401
9b1d3b78
ILT
402* The linker now issues a warning, not an error, for an undefined symbol when
403 using -Bsymbolic; use the new --no-undefined option to get the old
404 behaviour.
405
252b5132
RH
406* Added --demangle and --no-demangle options.
407
408Changes in version 2.9:
409
410* Added SQUAD to the linker script language.
411
412* New option --no-warn-mismatch.
413
414* The MEMORY command now parses the attributes to determine where sections that
415 are not placed in a specific memory region are placed.
416
417Changes in version 2.8:
418
419* Linker scripts may now contain shell wildcard characters for file and section
420 names.
421
422* The linker now supports symbol versions in ELF.
423
424* The NOCROSSREFS command was added to the linker script language.
425
426* The LOADADDR expression was added to the linker script language.
427
428* MAX and MIN functions were added to the linker script language.
429
430* The OVERLAY construct was added to the linker script language.
431
432* New option --warn-section-align to warn when the address of an output section
433 changes due to alignment of an input section.
434
435* New options --filter/-F and --auxiliary/-f.
436
437Changes in version 2.7:
438
439* New option --cref to print out a cross reference table.
440
441* New option --wrap SYMBOL.
442
443* New option --no-whole-archive, to turn off the effect of --whole-archive.
444
445* Input sections assigned to the output section /DISCARD/ in the linker script
446 are not included in the output file.
447
448* The SunOS and ELF linkers now merge stabs debugging information which uses
449 the N_BINCL and N_EINCL stab types. This reduces the amount of debugging
450 information generated.
451
452Changes in version 2.6:
453
454* When an ELF section name is representable as a C identifier (this is not true
45f111cc
NC
455of most ELF section names), the linker will automatically define symbols
456__start_SECNAME and __stop_SECNAME, where SECNAME is the section name, at the
457beginning and the end of the section. This is used by glibc.
458
459 Addendum: Current versions of the linker (at least for version 2.18 onwards
460and possibly much earlier as well) place two restrictions on this feature: The
461symbols are only implemented for orphaned sections, not for explicitly placed
462sections and they are PROVIDEd rather than being defined.
252b5132
RH
463
464* When an ELF section named .gnu.warning is encountered in an input file, the
465contents of the section are displayed as an error message, and the section is
466not copied into the output file. This is used by glibc.
467
468* When an ELF section named .gnu.warning.SYMBOL is encountered in an input
469file, and the symbol SYMBOL is referenced by some object file, the contents of
470the section are displayed as an error message. The section is not copied into
1049f94e 471the output file, unless doing a relocatable or shared link. This is used by
252b5132
RH
472glibc.
473
474* New options -split-by-reloc and -split-by-file.
475
476* The linker now supports linking PIC compiled code on SPARC SunOS. It can
477also create SPARC SunOS shared libraries, and, like the native SunOS linker,
478will do so whenever there is an undefined symbol in the link and neither the -e
479nor the -r option was used.
480
481* The -rpath option may be used on SunOS to set the list of directories to be
482searched at run time. This overrides the default of building the list from the
483-L options.
484
485* The COFF linker now combines debugging information for structs, unions, and
486enums, so that even if the same type is defined in multiple input files it will
487only be defined once in the output file. The --traditional-format switch will
488prevent this optimization.
489
490Changes in version 2.5:
491
492* The linker now supports linking against SunOS shared libraries. It still can
493not link SunOS PIC (Position Independent Code) files, so it can not be used to
07f3b6ad 494generate shared libraries.
252b5132
RH
495
496* The linker now supports linking against ELF shared libraries for the i386
497(UnixWare) and SPARC (Solaris). It can also link ELF PIC files, and can be
498used to generate shared libraries. Shared library generation is not well
499tested; please report any problems encountered. The linker is now enabled for
500Solaris again.
501
502* Eric Youngdale has contributed Linux support code, including linking against
503Linux a.out shared libraries. The linker produces Linux QMAGIC binaries.
504
505* The ELF backend has been converted to the new linker code. To use the new
506ELF linker, each particular target requires a relocation function. So far,
507this function has been written for i386 (UnixWare), SPARC (Solaris) MIPS (Irix
5085), and HPPA ELF targets.
509
510* The -( (--start-group) and -) (--end-group) options have been added to
511support searching a group of archives as though they were a single archive.
512This can also be used in a linker script, as GROUP ( files ).
513
514* When a file is named on the command line, and the linker does not recognize
515it as an object file, the linker will now treat the file as a linker script
516file. A linker script named in this way augments, but does not replace, the
517default linker script.
518
519* The -warn-once option was added. It causes the linker to only warn once per
520undefined symbol, rather than once per reference.
521
522* The COFF backend has been converted to the new linker code. As with ELF, to
523use the new linker, each particular target requires a relocation function. So
524far, this function has been written for the i386, m68k, a29k and SH targets.
525
526* The -V flag was made a synonym for -v, for SVR4 compatibility. The old -V
527behaviour is available via --verbose.
528
529Changes in version 2.4:
530
531* New linker code, by Steve Chamberlain and Ian Taylor. For a.out and ecoff
532 formats (so far), this should result in considerable savings in time
533 and memory used while linking; slightly poorer performance than
534 before for formats not converted yet.
535
536* Command-line parsing is no longer done with flex. This means
537 oddball characters in filenames won't get treated as argument
538 separators.
539
540* HP-PA ELF support, by Jeff Law. (No SOM support yet.)
541
542* Mach i386 support, by David Mackenzie.
543
544* Irix 4 shared libraries are now supported (Irix 5 uses ELF, and ELF shared
545 libraries are not yet supported).
546
547* COFF shared libraries (as on SCO) should work as well.
548
549* The linker is disabled for Solaris. (Actually, it was in 2.3 also, I just
550 forgot to note it.) Some of their C library routines don't work when
551 statically linked, and the GNU linker doesn't support dynamic linking yet.
552
553Changes in version 2.3:
554
555* Weak symbols are now supported.
556
557* ELF support has been added. The linker has been bootstrapped on
558 UnixWare and Solaris.
559
560* Alpha OSF/1 support has been added (non dynamic linking only).
561
562Changes in version 2.2:
563
564* The `bfd' library has been updated to reduce a.out-format string
565 table size. The effect of this is that files linked from many input
566 files with duplicate symbols (`-g' debugging records, or identical
567 static symbols) should be much smaller.
568
569Changes in version 2.1:
570
571* The ld -ySYMBOL flag (to trace references to SYMBOL) is now implemented.
572
573* There is now support for writing ECOFF files, so ld and the
574 other utilities should work on Risc/Ultrix and Irix.
575
576\f
5bf135a7
NC
577Copyright (C) 2012 Free Software Foundation, Inc.
578
579Copying and distribution of this file, with or without modification,
580are permitted in any medium without royalty provided the copyright
581notice and this notice are preserved.
582
252b5132
RH
583Local variables:
584fill-column: 79
585End:
This page took 0.655911 seconds and 4 git commands to generate.