OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [ChangeLog-2004] - Blame information for rev 146

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
2004-12-28  Danny Smith  
2
 
3
        * emultempl/pe.em (set_pe_subsystem): Change second arg to
4
        lang_add_entry to FALSE.
5
 
6
2004-12-23  Nick Clifton  
7
 
8
        PR 600
9
        * emulparams/shelf.sh (.stack): Increase stack start address to
10
        0x300000.
11
 
12
2004-12-20  Nick Clifton  
13
 
14
        * ldmain.c (main): Issue an error message if -static and -shared
15
        are used together.
16
 
17
2004-12-17  Jakub Jelinek  
18
 
19
        * ldexp.h (exp_data_seg): Add min_base and maxpagesize fields.
20
        * ldexp.c (fold_binary) : Initialize them.
21
        * ldlang.c (lang_size_sections): Use them to avoid wasting virtual
22
        address space at DATA_SEGMENT_ALIGN.  Fix computation of expected
23
        PT_GNU_RELRO segment end.
24
 
25
2004-12-14  P.J. Darcy  
26
 
27
        * configure.tgt: Add s390x-ibm-tpf support.
28
 
29
2004-12-16  Martin Kögler  
30
 
31
        * ldmisc.c (vfinfo): Handle the case where %B is passed a NULL
32
        BFD.
33
 
34
2004-12-07  Ben Elliston  
35
 
36
        * ldemul.h: Forward declare struct option.
37
 
38
2004-12-01  Danny Smith  
39
 
40
        * scripttempl/pe.sc (.data): Add .jcr subsection.
41
 
42
2004-11-30  Paul Brook  
43
 
44
        * emultempl/armelf.em: Ignore -p and -no-pipeline-knowledge.
45
 
46
2004-11-30  Tero Niemela  
47
 
48
        * Makefile.am: Change LOCALEDIR to $(datadir)/share.
49
        * Makefile.in: Regenerate.
50
 
51
2004-11-26  Melissa Mears  
52
 
53
        * emultempl/pe.em: Add --subsystem:xbox as well as
54
        --subsystem:%d.
55
        * ld.texinfo: (ld_options): Document acceptance of subsystem xbox
56
        and numeric subsystems.
57
 
58
2004-11-24  Alan Modra  
59
 
60
        * ldexp.c (fold_name): Correct PR 338 fix.
61
 
62
2004-11-19  Mark Mitchell  
63
 
64
        * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
65
        (earmelf_linux_eabi.c): New target.
66
        * configure.tgt (arm*-*-linux-gnueabi): Handle it.
67
        * emulparams/armelf_linux_eabi.sh: New file.
68
        * Makefile.in: Regenerated.
69
 
70
2004-11-19  Nick Clifton  
71
 
72
        PR 518
73
        * ld.texinfo (MEMORY): Update the descriptions of the ORIGIN and
74
        LENGTH fields in the MEMORY command, to explicitly state that
75
        symbols cannot be used in their expressions.
76
 
77
2004-11-19  Jon Beniston 
78
 
79
        * ld/ldlex.l: Allow ORIGIN and LENGTH in EXPRESSION.
80
        * ld/ldgram.y: Add ORIGIN and LENGTH expressions.
81
        * ld/ldexp.c (fold_name): Implement LENGTH() and ORIGIN() functions
82
        which return the length and origin of a memory.
83
        * ld/ld.texinfo: Document LENGTH() and ORIGIN() functions.
84
        * NEWS: Mention support for ORIGIN and LENGTH operators.
85
 
86
2004-11-17  Daniel Jacobowitz  
87
 
88
        * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
89
        a dynamic object for stubs.
90
 
91
2004-11-04  Paul Brook  
92
 
93
        * ld.texinfo: Document --default-imported-symver.
94
        * ldmain.c (main): Set link_info.default_imported_symver.
95
        * lexsup.c (option_values): Add OPTION_DEFAULT_IMPORTED_SYMVER.
96
        (ld_options): Add --default-imported-symver.
97
        (parse_args): Handle OPTION_DEFAULT_IMPORTED_SYMVER.
98
 
99
2004-11-08  Inderpreet Singh   
100
            Vineet Sharma      
101
 
102
        * Makefile.am: Add entries for new maxq-coff target.
103
        * Makefile.in: Regenerate.
104
        * configure.tgt: Add support for maxq.
105
        * emulparams/maxqcoff.sh: New File.
106
        * scripttempl/maxqcoff.sc: New linker script for target maxq.
107
        * NEWS: Mention the new target.
108
 
109
2004-11-04  Daniel Jacobowitz  
110
 
111
        * Makefile.am (ALL_EMULATIONS): Remove earmelf_oabi.o.
112
        (earmelf_oabi.c): Remove rule.
113
        * configure.tgt: Remove arm-*-oabi and thumb-*-oabi.
114
        * emulparams/armelf_oabi.sh, emultempl/armelf_oabi.em: Delete files.
115
        * Makefile.in: Regenerated.
116
 
117
2004-11-04  Hans-Peter Nilsson  
118
 
119
        * configure.tgt (crisv32-*-*): Handle like cris-*-* for non-aout.
120
        * emulparams/criself.sh (INIT_START): Remove emitted "push srp".
121
        (FINI_START): Ditto.
122
        (INIT_END): Remove emitted "jump [sp+]".
123
        (FINI_END): Ditto.
124
 
125
2004-11-04  Alan Modra  
126
 
127
        * emultempl/ppc64elf.em (no_tls_opt): Rename from notlsopt.
128
        (no_opd_opt, no_toc_opt): New static vars.
129
        (ppc_before_allocation): Don't edit opt if no_opd_opt.  Call
130
        ppc64_elf_edit_toc.
131
        (OPTION_NO_OPD_OPT, OPTION_NO_TOC_OPT): Define.
132
        (PARSE_AND_LIST_LONGOPTS): Add no-opd-optimize and no-toc-optimize.
133
        (PARSE_AND_LIST_OPTIONS): Describe new options.
134
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
135
 
136
2004-10-27  Nick Clifton  
137
 
138
        * emultempl/alphaelf.em (alpha_after_parse): Add extra, NULL,
139
        parameter to invocation of lang_section_start.
140
        * emultempl/aix.em (_handle_option): Likewise.
141
 
142
        * Makefile.am (eelf64alpha.c, eelf64alpha_fbsd.c,
143
        eelf64alpha_nbsd.c): Add dependency upon emultempl/alphaelf.em.
144
        * Makefile.in: Regenerate.
145
 
146
2004-10-26  Mark Mitchell  
147
 
148
        * emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Do not emit
149
        __exidx_{start,end} when not relocating.
150
 
151
2004-10-25  Mark Mitchell  
152
 
153
        * Makefile.in (earmsymbian.c): Depend on armbpabi.sc, not elf.sc.
154
        * ldexp.h (segment_type): New type.
155
        (segments): New variable.
156
        * ldexp.c (segments): New variable.
157
        (exp_print_token): Handle SEGMENT_START.
158
        (fold_binary): Likewise.
159
        * ldgram.y (SEGMENT_START): Declare it as a token.
160
        (exp): Handle SEGMENT_START.
161
        * ldlang.h (lang_address_statement_type): Add segment field.
162
        (lang_section_start): Change prototype.
163
        * ldlang.c (map_input_to_output_sections): Do not process section
164
        assignments if a corresponding SEGMENT_START has already been
165
        seen.
166
        (lang_section_start): Add segment parameter.
167
        * ldlex.l (SEGMENT_START): Add it.
168
        * lexsup.c (set_segment_start): New function.
169
        (parse_args): Use it for -Tbss, -Tdata, and -Ttext.
170
        * ld.texinfo (SEGMENT_START): Document it.
171
        * emulparams/armsymbian.sh (EMBEDDED): Set it.
172
        * scripttempl/armbpabi.sc: Use SEGMENT_START to control segment
173
        base addresses.  Do not map relocations.
174
        * NEWS: Mention SEGMENT_START.
175
 
176
2004-10-26  Paul Brook  
177
 
178
        * ld.texinfo: Document --default-symver.
179
        * ldmain.c (main): Set link_info.create_default_symver.
180
        * lexsup.c (enum option_values): Add OPTION_DEFAULT_SYMVER.
181
        (ld_options): Add default-symver.
182
        (parse_args): Handle OPTION_DEFAULT_SYMVER.
183
 
184
2004-10-24 Danny Smith  
185
 
186
        * pe-dll.c (process_def_file): Don't export all symbols by default if
187
        building a position-independent executable.
188
 
189
2004-10-21  H.J. Lu  
190
 
191
        PR 463
192
        * ldmain.c (reloc_overflow): Accept a pointer to struct
193
        bfd_link_hash_entry. Report symbol location for relocation
194
        overflow.
195
 
196
2004-10-21  H.J. Lu  
197
 
198
        * genscripts.sh (libpath.exp): Really generate for first
199
        emulation only.
200
 
201
2004-10-19  Danny Smith  
202
 
203
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
204
        comparison and replacement of filenames.
205
 
206
2004-10-19  H.J. Lu  
207
 
208
        PR 459
209
        * ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
210
        option on linker script as the one for linker script.
211
 
212
2004-10-16  Daniel Jacobowitz  
213
 
214
        * ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
215
        (check_excluded_libs): New.
216
        (load_symbols): Call check_excluded_libs.
217
        * ldlang.h (add_excluded_libs): New prototype.
218
        * emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
219
        (gld${EMULATION_NAME}_add_options): Add --exclude-libs.
220
        (gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
221
        * ld.texinfo (Command Line Variables): Document --exclude-libs.
222
        (Options Specific to i386 PE Targets): Remove --exclude-libs.
223
 
224
2004-10-15  Alan Modra  
225
 
226
        * ldexp.c (exp_fold_tree): Don't immediately exit ld on a
227
        failing link script assert.
228
 
229
        * ldctor.c (ldctor_add_set_entry): Fix comment typo.
230
 
231
2004-10-14  H.J. Lu  
232
 
233
        PR 445
234
        * emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
235
        (SMALL_DATA_DTOR): Set.
236
        * emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
237
        (SMALL_DATA_DTOR): Unset.
238
        * scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
239
        after .data. If SMALL_DATA_DTOR is set, move .dtors after
240
        .data.
241
 
242
2004-10-14  Alan Modra  
243
 
244
        PR 63
245
        * ldlang.h (lang_output_section_statement_type): Make "next" a
246
        struct lang_output_section_statement_struct *.
247
        (struct orphan_save): Move from elf32.em.  Add "name" and "flags".
248
        (lang_output_section_find_by_flags, lang_insert_orphan): Declare.
249
        * ldlang.c (lang_output_section_find_1): Adjust for changed
250
        output_section_statement "next".
251
        (strip_excluded_output_sections): Likewise.
252
        (lang_record_phdrs): Likewise.
253
        (lang_output_section_find_by_flags): New function.
254
        (output_prev_sec_find): Move from pe.em.  Adjust iterator.
255
        (lang_insert_orphan): New function.  Tail end of elf32.em's
256
        place_orphan merged with that from pe.em.  Allow bfd_section to
257
        be placed first.  New heuristic for placing new output section
258
        statement in existing script, and accompanying split of __start
259
        symbol alignment into a separate assignment to dot.
260
        (lang_add_section): Consistently use output->bfd_section rather than
261
        an alias, section->output_section.
262
        (map_input_to_output_sections): Rename overly long arg.  Move
263
        initialization of data_statement output section to here..
264
        (lang_check_section_addresses): ..from here.
265
        (print_assignment): Correct printing of etree_assert.
266
        (print_all_symbols): Don't bomb if userdata is NULL.
267
        (IGNORE_SECTION): Rearrange.
268
        * emultempl/elf32.em (output_rel_find): Adjust interator.
269
        (output_prev_sec_find): Delete.
270
        (struct orphan_save): Delete.
271
        (gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
272
        flags without creating a duplicate output section statement.
273
        Revise code holding history of various orphan section placements.
274
        Allow orphan sections to place before script specified output
275
        sections.  Call lang_output_section_find_by_flags when placement
276
        by name fails.  Use lang_insert_orphan.
277
        * emultempl/mmo.em (output_prev_sec_find): Delete.
278
        (struct orphan_save): Delete.
279
        (mmo_place_orphan): Revise code holding history of orphan placement.
280
        Allow orphans to place before existing output sections.  Use
281
        lang_insert_orphan.
282
        * emultempl/pe.em (output_prev_sec_find): Delete.
283
        (struct orphan_save): Delete.
284
        (gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
285
        lang_insert_orphan.
286
 
287
2004-10-13  Mark Mitchell  
288
 
289
        * scripttempl/armbpabi.sc: Do not put .gnu.version.* into a
290
        loadable segment.
291
 
292
2004-10-13  Alan Modra  
293
 
294
        PR 44
295
        * ldcref.c (check_section_sym_xref): Delete.
296
        (check_local_sym_xref): New function.
297
        (check_nocrossrefs): Adjust call.
298
        * emultempl/pe.em (struct orphan_save): Add os_tail.
299
        (place_orphan): Backport assorted fixes from elf32.em.
300
 
301
2004-10-12  Bob Wilson  
302
 
303
        * emultempl/xtensaelf.em: Use ISO C90 formatting.
304
 
305
2004-10-11  Jakub Jelinek  
306
 
307
        * emultempl/elf32.em (gld${EMULATION_NAME}_parse_ld_so_conf): Avoid
308
        getline for portability.
309
 
310
        * emultempl/elf32.em (gld${EMULATION_NAME}_ld_so_conf): New structure.
311
        (gld${EMULATION_NAME}_parse_ld_so_conf,
312
        gld${EMULATION_NAME}_parse_ld_so_conf_include): New functions.
313
        (gld${EMULATION_NAME}_check_ld_so_conf): Use them.
314
 
315
2004-10-11  Alan Modra  
316
 
317
        PR 423
318
        * ldfile.c (ldfile_try_open_bfd): Ensure dynamic objects are
319
        rejected when linking statically.
320
 
321
2004-10-08  Daniel Jacobowitz  
322
 
323
        * configure.tgt: Include elf_x86_64 for i[3-7]86-*-solaris2*.
324
 
325
2004-10-07  Bob Wilson  
326
 
327
        * ld.texinfo (Xtensa): Describe new linker relaxation to optimize
328
        assembler-generated longcall sequences.  Describe new --size-opt
329
        option.
330
        * emulparams/elf32xtensa.sh (OTHER_SECTIONS): Add .xt.prop section.
331
        * emultempl/xtensaelf.em (remove_section,
332
        replace_insn_sec_with_prop_sec, replace_instruction_table_sections,
333
        elf_xtensa_after_open): New.
334
        (OPTION_OPT_SIZEOPT, OPTION_LITERAL_MOVEMENT,
335
        OPTION_NO_LITERAL_MOVEMENT): Define.
336
        (elf32xtensa_size_opt, elf32xtensa_no_literal_movement): New globals.
337
        (PARSE_AND_LIST_LONGOPTS): Add size-opt and [no-]literal-movement.
338
        (PARSE_AND_LIST_OPTIONS): Add --size-opt.
339
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_OPT_SIZEOPT,
340
        OPTION_LITERAL_MOVEMENT, and OPTION_NO_LITERAL_MOVEMENT.
341
        (LDEMUL_AFTER_OPEN): Set to elf_xtensa_after_open.
342
        * scripttempl/elfxtensa.sc: Update with changes from elf.sc.
343
        * Makefile.am (eelf32xtensa.c): Update dependencies.
344
        * Makefile.in: Regenerate.
345
 
346
2004-10-07  Jeff Baker  
347
 
348
        * lexsup.c: Handle --warn-shared-textrel option.
349
        (ld_options): Restore alpha sorting of options.
350
        * ldmain.c (main): Initialise warn_shared_info field to FALSE.
351
        * ld.texinfo: Add documentation for --warn-shared-textrel.
352
        * NEWS: Added mention of --warn-shared-textrel option.
353
 
354
2004-10-05  Tomer Levi  
355
 
356
        * emultempl/crxelf.em (disable_relaxation): Add.
357
        (crxelf_before_allocation): Enable --relax option by default.
358
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_NO_RELAX.
359
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --no-relax.
360
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NO_RELAX.
361
 
362
2004-10-04  H.J. Lu  
363
 
364
        * NEWS: Mention SORT_BY_NAME, SORT_BY_ALIGNMENT and
365
        --sort-section name|alignment.
366
 
367
        * ld.texinfo: Document SORT_BY_NAME, SORT_BY_ALIGNMENT and
368
        --sort-section name|alignment.
369
 
370
        * ld.h (sort_type): New enum.
371
        (wildcard_spec): Change the type of `sorted' to sort_type.
372
 
373
        * ldgram.y (SORT): Removed.
374
        (SORT_BY_NAME): Added.
375
        (SORT_BY_ALIGNMENT): Added.
376
        (wildcard_spec): Updated `sorted'. Handle SORT_BY_NAME and
377
        SORT_BY_ALIGNMENT.
378
        (input_section_spec_no_keep): Updated `sorted'.
379
        (statement): Replace SORT with SORT_BY_NAME.
380
 
381
        * ldlang.c (compare_section): New function to compare 2
382
        sections with different sorting schemes.
383
        (wild_sort): Updated. Use compare_section.
384
        (update_wild_statements): New function.
385
        (lang_process): Call update_wild_statements before
386
        map_input_to_output_sections.
387
 
388
        * ldlex.l (SORT_BY_NAME): New.
389
        (SORT_BY_ALIGNMENT): New.
390
        (SORT): Return SORT_BY_NAME.
391
 
392
        * ldmain.c (sort_section): New. Defined.
393
        (main): Initialize it to none.
394
 
395
        * lexsup.c (option_values): Add OPTION_SORT_SECTION.
396
        (ld_options): Add an entry for OPTION_SORT_SECTION.
397
        (parse_args): Handle OPTION_SORT_SECTION.
398
 
399
        * mri.c (mri_draw_tree): Updated `sorted'.
400
 
401
2004-10-04  Jakub Jelinek  
402
 
403
        * ldgram.y (DATA_SEGMENT_RELRO_END): Add one argument.
404
        * scripttempl/elf.sc (DATA_SEGMENT_RELRO_END): Add 0 as first
405
        argument.
406
        (DATA_SEGMENT_RELRO_GOTPLT_END): Pass $SEPARATE_GOTPLT as first
407
        and . as second argument.
408
        (GOTPLT): Move $DATA_SEGMENT_RELRO_GOTPLT_END before the section.
409
        * ldexp.c (fold_unary): Remove DATA_SEGMENT_RELRO_END handling here.
410
        (fold_binary): Add it here.  Insert padding to make relro_end
411
        COMMONPAGESIZE bytes aligned.  For DATA_SEGMENT_ALIGN in
412
        exp_dataseg_relro_adjust phase just use previously computed
413
        exp_data_seg.base.
414
        * ldlang.c (lang_size_sections): Set exp_data_seg.base for
415
        relro_adjust here.  Call lang_size_sections_1 once more if there
416
        was too big padding at DATA_SEGMENT_RELRO_END.
417
        * ld.texinfo (DATA_SEGMENT_RELRO_END): Add documentation.
418
 
419
2004-10-01  Paul Brook  
420
 
421
        * emulparams/armelf.sh: Add unwinding table sections.
422
 
423
2004-09-30  Filip Navara  
424
 
425
        * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Generate
426
        correct base address for position independant executables.
427
        * pe-dll.c (pe_dll_fill_sections): Don't mark position independant
428
        executables as DLLs.
429
 
430
2004-09-30  Paul Brook  
431
 
432
        * ld.texinfo: Document --target2=abs.
433
        * emulparms/armsymbian.sh (TARGET2_TYPE): Set.
434
 
435
2004-09-29  Nick Clifton  
436
 
437
        * scripttempl/xstormy16.sc: Only perform the assignments to the
438
        ROM region when not performing a relocatable link.  The ROM region
439
        does not start at address 0, but the sections will.
440
        * Makefile.am: Fix linker script dependency for the generation of
441
        eelf32xstormy16.c.
442
        * Makefile.in: Regenerate.
443
 
444
2004-09-18  Filip Navara  
445
 
446
        * emulparams/arm_epoc_pe.sh, emulparams/armpe.sh, emulparams/i386pe.sh,
447
        emulparams/i386pe_posix.sh, emulparams/mcorepe.sh,
448
        emulparams/mipspe.sh, emulparams/ppcpe.sh, scripttempl/pe.sc: Define
449
        TARGET_PAGE_SIZE.
450
        * scripttempl/pe.sc: Make the virtual address and file offset synced if
451
        the alignment is lower than the target page size.
452
 
453
2004-09-27  Filip Navara  
454
 
455
        * emultempl/pe.em (gld_${EMULATION_NAME}_unrecognized_file): Allow
456
        def_file_parse to handle pe_def_file if NULL and prevent crash with
457
        invalid .def files.
458
 
459
2004-09-27  Alan Modra  
460
 
461
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Enable
462
        --emit-stub-syms automatically when --emit-relocs.
463
 
464
2004-09-24  Paul Brook  
465
 
466
        * scripttempl/elf.sc: Keep .preinit_array, .init_array and
467
        .fini_array sections.
468
 
469
2004-09-19  Andreas Schwab  
470
 
471
        * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Adjust data segment
472
        base so that relro end is suitably aligned.
473
 
474
2004-09-17  Paul Brook  
475
 
476
        * ld.texinfo: Rename arm-specific section.  Document --target*
477
        * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
478
        * emulparams/armelf_linux.sh: Ditto.
479
        * emulparams/armelf_nbsd.sh: Ditto.
480
        * emultempl/armelf.em: Set default for TARGET2_TYPE.
481
        (target2_type): New variable.
482
        (arm_elf_before_allocation): Don't pass target1_type.
483
        (arm_elf_create_output_section_statements): New function.
484
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
485
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
486
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
487
        (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
488
        * emultempl/armelf_oabi.em (_before_allocation): Remove extra
489
        argument to bfd_elf32_arm_process_before_allocation.
490
 
491
2004-09-17  Alan Modra  
492
 
493
        * ldexp.c (fold_name): Update u.undef.next refs.
494
        * emultempl/pe.em: Likewise.
495
        * emultempl/sunos.em: Likewise.
496
 
497
2004-09-17  Alan Modra  
498
 
499
        * Makefile.am: Run "make dep-am".
500
        * Makefile.in: Regenerate.
501
        * config.in: Regenerate.
502
        * configure: Regenerate.
503
        * aclocal.m4: Regenerate.
504
        * po/ld.pot: Regenerate.
505
 
506
2004-09-16  Tomer Levi  
507
 
508
        * scripttempl/elf32crx.sc (.init): Add KEEP for section's *personality*.
509
        (.fini): Likewise.
510
        (.jcr): Likewise.
511
 
512
2004-09-16  Alan Modra  
513
 
514
        * emultempl/armelf_oabi.em (before_allocation): Add extra zero param
515
        to bfd_elf32_arm_process_before_allocation call.
516
 
517
2004-09-13  Paul Brook  
518
 
519
        * emulparams/armsymbian.sh: Set TARGET1_IS_REL.
520
        * emultempl/armelf.em: Use TARGET1_IS_REL.  Add --target1-{rel,abs}.
521
 
522
2004-09-07  H.J. Lu  
523
 
524
        * configure: Regenerated with autconfig 2.13.
525
 
526
2004-09-07  Andreas Schwab  
527
 
528
        * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: Apply data segment
529
        alignment before adjusting DATA_SEGMENT_RELRO_END.
530
 
531
2004-09-06  Mark Mitchell  
532
 
533
        * emulparams/armsymbian.sh: Use armbpabi script.
534
        * scripttempl/armbpabi.sc: New script.
535
 
536
2004-09-02  Mark Mitchell  
537
 
538
        * Makefile.am (ALL_EMULATIONS): Add earmsymbian.o.
539
        (earmsymbian.c): New target.
540
        * configure.tgt: Use armsymbian emulation for arm*-*-symbianelf*.
541
        * Makefile.in: Regenerated.
542
        * aclocal.m4: Likewise.
543
        * configure: Likewise.
544
        * emulparams/armsymbian.sh: New file.
545
 
546
2004-09-03  Tomer Levi  
547
 
548
        * scripttempl/elf32crx.sc: Edit file with comments.
549
        (.init): Add new section.
550
        (.fini): Likewise.
551
        (.ctor): Control the linkage order.
552
        (.dtor): Likewise.
553
 
554
2004-08-27  Nick Clifton  
555
 
556
        * emultempl/pe.em (after_open): Do not assume that either bfd is
557
        an archive.
558
 
559
2004-08-26  Alan Modra  
560
 
561
        * ldlang.c (lang_init): Don't compare with TRUE.
562
 
563
2004-08-25  Dmitry Diky  
564
 
565
        * emulparams/msp430all.sh: Fix RAM sizes for all targets.
566
        * scripttempl/elf32msp430.sc: Add .profiler section definition.
567
 
568
2004-08-24  H.J. Lu  
569
 
570
        * ldlang.c (wildcardp): Defined as a macro with strpbrk.
571
 
572
2004-08-19  Mark Mitchell  
573
 
574
        * configure.tgt (arm*-*-symbianelf*): New target.
575
        (arm*-*-eabi*): Likewise.
576
 
577
2004-08-19  Jakub Jelinek  
578
 
579
        * emultempl/ppc64elf.em (non_overlapping_opd): New variable.
580
        (ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
581
        (OPTION_NON_OVERLAPPING_OPD): Define.
582
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
583
        --non-overlapping-opd option.
584
 
585
2004-08-18  Alan Modra  
586
 
587
        PR 338
588
        * ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
589
        was already on the undefs list.
590
 
591
2004-08-17  Alan Modra  
592
 
593
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
594
        prefix the symbol field too.
595
 
596
2004-08-13  Alan Modra  
597
 
598
        * ldmain.c (link_callbacks): Remove "error_handler".
599
        * ldmisc.c: Include elf-bfd.h.
600
        (vfinfo): Sort comment.  Handle %A.  Use %A instead of
601
        bfd_get_section_indent.
602
        (error_handler): Delete.
603
        * ldmisc.h (error_handler): Delete declaration.
604
 
605
2004-08-10  Alan Modra  
606
 
607
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
608
        ppc64_elf_restore_symbols.
609
 
610
2004-08-09  Alan Modra  
611
 
612
        * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if
613
        .toc is too large on relocatable linking.
614
 
615
2004-08-09  Alan Modra  
616
 
617
        * emultempl/ppc64elf.em (ppc_after_open): Delete.
618
        (LDEMUL_AFTER_OPEN): Don't define.
619
 
620
2004-08-02  Stephane Carrez  
621
 
622
        * ld.texinfo (Top): Document specific options of 68HC11 and 68HC12.
623
 
624
2004-08-01  Stephane Carrez  
625
 
626
        * scripttempl/elfm68hc12.sc: Align text, rodata and data section
627
        on power of 2.
628
 
629
2004-07-27  Jason Thorpe  
630
 
631
        * emulparams/hppanbsd.sh (OUTPUT_FORMAT): Set to "elf32-hppa-netbsd".
632
 
633
2004-07-26  Dmitry Diky  
634
 
635
        * Makefile.am: Add new subtargets: msp430x1610, msp430x1611,
636
        msp430x1612, msp430x415, msp430x417, msp430xG437, msp430xG438,
637
        msp430xG439.
638
        * configure.tgt: Likewise.
639
        * emulparams/msp430all.sh: Likewise.
640
        * Makefile.in: Regenerate.
641
 
642
2004-07-23  Nick Clifton  
643
 
644
        * emultempl/elf32.em (_place_orphan): Use an already existing
645
        section name if that section does not have any flags set.
646
 
647
2004-07-21  H.J. Lu  
648
 
649
        * ldlang.c (already_linked_hash_entry): Removed.
650
        (already_linked): Likewise.
651
        (already_linked_table): Likewise.
652
        (section_already_linked): Call bfd_section_already_linked.
653
        (lang_process): Replace already_linked_table_init with
654
        bfd_section_already_linked_table_init and check return. Replace
655
        already_linked_table_free with bfd_section_already_linked_table_free.
656
 
657
2004-07-21  Nick Clifton  
658
 
659
        * ldlang.c (init_os): Make sure that the newly allocated userdata
660
        structure is zeroed out.
661
 
662
2004-07-19  H.J. Lu  
663
 
664
        * NEWS: Mention the new --add-needed/--no-add-needed and
665
        --as-needed/--no-as-needed options.
666
 
667
2004-07-19  H.J. Lu  
668
 
669
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
670
        check the add_needed field.
671
        (dt_needed): New struct.
672
        (gld${EMULATION_NAME}_try_needed): Change the first argument
673
        to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
674
        bit in the file where the DT_NEEDED entry comes from.
675
        (gld${EMULATION_NAME}_search_needed): Change the second
676
        argument to a pointer to struct dt_needed.
677
        (gld${EMULATION_NAME}_check_ld_so_conf): Updated.
678
        (gld${EMULATION_NAME}_after_open): Likewise.
679
 
680
        * ld.texinfo: Add --add-needed document.
681
        * ldlang.c (new_afile): Set p->add_needed.
682
        * ldlang.h (lang_input_statement_type): Add add_needed field.
683
        * ldmain.h (add_needed): Declare.
684
        * ldmain.c (add_needed): New global var.
685
        * lexsup.c (option_values): Add OPTION_ADD_NEEDED and
686
        OPTION_NO_ADD_NEEDED.
687
        (ld_options): Likewise.
688
        (parse_args): Handle them.
689
 
690
2004-07-13  Christof Petig  
691
 
692
        * emultempl/pe.em (make_import_fixup): Use bfd_get_32 to correct
693
        for endian-ness of extracted addend.
694
 
695
2004-07-13  Danny Smith  
696
 
697
        * pe-dll.c (auto_export):  Filter on just the import prefix,
698
        "_imp_", not "_imp__".
699
 
700
2004-07-09  Nick Clifton  
701
 
702
        * configure.tgt: Change sh-sybmian-elf to sh-*-symbianelf.
703
 
704
2004-07-06  Tomer Levi  
705
 
706
        * Makefile.am (ALL_EMULATIONS): Add eelf32crx.o.
707
        (eelf32crx.c): New target.
708
        * Makefile.in: Regenerate.
709
        * configure.tgt: Handle crx-*-elf*.
710
        * emulparams/elf32crx.sh: New file.
711
        * emultempl/crxelf.em: New file.
712
        * scripttempl/elf32crx.sc: New file.
713
        * NEWS: Mention new target.
714
 
715
2004-07-06  Nick Clifton  
716
 
717
        * Makefile.am: Add eshlsymbian.c.
718
        * Makefile.in: Regenerate.
719
        * configure.tgt: Add sh*-symbian-elf target.
720
        * emulparams/shlsymbian.sh: New file.  Configure the
721
        sh-symbian-elf linker scripts.
722
        * scripttemp/elf32sh-symbian.sc: New file.  Linker script
723
        template for the sh-symbian-elf target.
724
 
725
2004-07-05  John David Anglin  
726
 
727
        * emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
728
        * emulparams/hppalinux.sh: Likewise.
729
        * scripttempl/elf.sc: Place .plt just before .got when .plt is in
730
        data segment and PLT_BEFORE_GOT is defined.
731
 
732
2004-07-03  Aaron W. LaFramboise  
733
 
734
        * ld.texinfo (WIN32): Document PE weak symbols.
735
 
736
2004-07-02  Kaz Kojima  
737
 
738
        * emulparams/shlelf32_linux.sh (COMMONPAGESIZE): Set to 4KB.
739
 
740
2004-07-01  H.J. Lu  
741
 
742
        * ldmisc.c (vfinfo): Call bfd_get_section_ident to identify
743
        the section.
744
 
745
2004-06-29  Alan Modra  
746
 
747
        * ldlang.c (lang_reset_memory_regions): Save last relax pass section
748
        size in rawsize.
749
 
750
2004-06-24  Alan Modra  
751
 
752
        * ldlang.c (print_output_section_statement): Don't print size before
753
        relaxation.
754
        (IGNORE_SECTION): Remove bfd arg.  Update all callers.
755
 
756
        * ldexp.c (fold_name): .. See below.
757
        * ldlang.c (section_already_linked, print_output_section_statement,
758
        print_input_section, insert_pad, size_input_section,
759
        lang_check_section_addresses, lang_size_sections_1,
760
        lang_size_sections, lang_do_assignments_1, lang_set_startof,
761
        lang_one_common, lang_reset_memory_regions, lang_process,
762
        lang_abs_symbol_at_end_of, lang_do_version_exports_section): ..
763
        * ldwrite.c (build_link_order, clone_section, ds, split_sections): ..
764
        * pe-dll.c (process_def_file, generate_reloc): ..
765
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_statement_assignment,
766
        gld${EMULATION_NAME}_before_allocation): ..
767
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): ..
768
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation,
769
        sh64_elf_${EMULATION_NAME}_after_allocation): ..
770
        * emultempl/sunos.em (gld${EMULATION_NAME}_before_allocation): ..
771
        * emultempl/xtensaelf.em (ld_assign_relative_paged_dot,
772
        ld_local_file_relocations_fit, ld_xtensa_insert_page_offsets): Use
773
        "size" instead of "_raw_size" and "_cooked_size".  Expand
774
        bfd_section_size macro invocations.
775
 
776
2004-06-22  Aaron W. LaFramboise 
777
 
778
        * ld/scripttemp/pe.sc (.CRT): Define ___crt_xc_start__,
779
        ___crt_xc_end__, ___crt_xi_start__, ___crt_xi_end__, ___crt_xl_start__,
780
        ___crt_xp_start__, ___crt_xp_end__, ___crt_xt_start__ and
781
        ___crt_xt_end__.
782
        (.tls): Define ___tls_start__ and ___tls_end__.
783
 
784
2004-06-21  Alexandre Oliva  
785
 
786
        * emulparams/elf32frvfd.sh (GENERATE_PIE_SCRIPT): Set to yes.
787
 
788
2004-06-18  Adam Nemet  
789
 
790
        * configure.in: Set EXTRA_SHLIB_EXTENSION to .a for LynxOS.
791
        * configure: Regenerate.
792
 
793
2004-06-15  Jakub Jelinek  
794
 
795
        * scripttempl/elf.sc: Readd KEEP and .gcc_except_table.* to
796
        .gcc_except_table output sections lost accidentally with
797
        -z relro patch.
798
 
799
2004-06-15  Alan Modra  
800
 
801
        * ldwrite.c (build_link_order): Use bfd_get_section_size
802
        instead of bfd_get_section_size_before_reloc or _raw_size.
803
        * pe-dll.c (process_def_file): Likewise.
804
 
805
2004-06-14  Alan Modra  
806
 
807
        From Richard Wirth 
808
        * ldlang.c (lang_finish): Don't free lang_definedness_table.
809
 
810
2004-05-29  Alan Modra  
811
 
812
        * ldlang.c (gc_section_callback): Move SEC_EXCLUDE twiddles..
813
        (lang_gc_sections): .. to a LANG_FOR_EACH_INPUT_STATEMENT loop here.
814
 
815
2004-05-28  Alan Modra  
816
 
817
        * ldlang.c: Formatting.  Wrap long lines, expand bfd_get_section_flags
818
        throughout file.
819
        * lexsup.c: Formatting.  Wrap long lines.
820
        * ldwrite.c: Update copyright date.
821
 
822
        * ldlang.c (lang_add_section): Don't twidlle SEC_EXCLUDE here.
823
        (output_section_callback): Nor SEC_KEEP here.
824
        (gc_section_callback): Twiddle SEC_EXCLUDE here.
825
        (lang_gc_wild): Delete.  Fold into..
826
        (lang_gc_sections_1): ..here.  Only call bfd_gc_sections when garbage
827
        collecting.
828
        (lang_process): Always call lang_gc_sections.
829
        (lang_place_orphans): Handle SEC_EXCLUDE sections.
830
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Remove
831
        SEC_EXCLUDE code.
832
 
833
2004-05-26  H.J. Lu  
834
 
835
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Clear
836
        SEC_EXCLUDE on non-SEC_DEBUGGING sections for relocatable link.
837
        * ldlang.c (lang_add_section): Likewise.
838
 
839
2004-05-26  Alan Modra  
840
 
841
        * ldlang.c (lang_add_section): Set SEC_EXCLUDE for SEC_GROUP
842
        sections when doing a final link.  Clear SEC_EXCLUDE when doing
843
        a relocable link, except for SEC_DEBUGGING sections.
844
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Use the
845
        same condition here to drop SEC_EXCLUDE orphan sections.
846
 
847
2004-05-25  Alan Modra  
848
 
849
        * ldlang.c (lang_process): Call bfd_merge_sections later, and
850
        only when not a relocatable link.
851
        (print_input_section): Handle SEC_EXCLUDE sections.
852
        (size_input_section): Don't update dot on SEC_EXCLUDE sections.
853
        (lang_do_assignments_1): Likewise.
854
        * ldwrite.c (build_link_order): Ignore SEC_EXCLUDE input sections.
855
        * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
856
        * emultempl/hppaelf.em (build_section_lists): Likewise.
857
        * emultempl/ppc64elf.em (build_toc_list): Likewise.
858
        (build_section_lists): Likewise.
859
 
860
2004-05-23  Andreas Schwab  
861
 
862
        * ld.texinfo (Options): Fix typo in last change.
863
 
864
2004-05-21  Andy Chittenden  
865
 
866
        * ld.h (ld_config_type): Add new field: hash_table_size.
867
        * ldmain.c: Initialise the new field to zero.  If it is non-zero
868
        after parsing the linker's command line call
869
        bfd_hash_set_default_size.
870
        * lexsup.c (option_values): Add OPTION_HASH_SIZE.
871
        (ld_options): Add hash-size.
872
        (parse_args): Parse --hash-size option.  Allow
873
        --reduce-memory-overheads to set the default hash table size as
874
        well.
875
        * ld.texinfo: Document the new switch.  Also mention that
876
        --reduce-memory-overheads can affect the hash table size.
877
        * NEWS: Mention the new feature.
878
 
879
2004-05-19  J"orn Rennecke 
880
 
881
        * NEWS: Mention new linker map file generation and the
882
        --reduce-memory-overheads option.
883
        * ld.texinfo: Document --reduce-memory-overheads option.
884
        * ld.h (map_symbol_def): New struct.
885
        (struct user_section_struct, section_userdata_type): Rename to:
886
        (struct lean_user_section_struct, lean_section_userdata_type).
887
        (struct fat_user_section_struct, fat_section_userdata_type): New.
888
        (SECTION_USERDATA_SIZE): Define.
889
        (args_type): New member reduce_memory_overheads.
890
        * ldlang.c (map_obstack): New static variable.
891
        (init_map_userdata, print_all_symbols, sort_def_symbol): New functions.
892
        (lang_map): Unless command_line.reduce_memory_overheads is set,
893
        initialize lists of defined symbols for each section.
894
        (print_input_section): Unless command_line.reduce_memory_overheads
895
        is set, use print_all_symbols.
896
        (init_os): Use lean_section_userdata_type / SECTION_USERDATA_SIZE.
897
        * ldmain.c (main): Initialize command_line.reduce_memory_overheads.
898
        * lexsup.c (enum option_values): Add OPTION_REDUCE_MEMORY_OVERHEADS.
899
        (ld_options): Add entry for --reduce-memory-overheads.
900
        (parse_args): Handle OPTION_REDUCE_MEMORY_OVERHEADS.
901
 
902
2004-05-19  Jakub Jelinek  
903
 
904
        * ldgram.y (sect_constraint): New.
905
        (ONLY_IF_RO, ONLY_IF_RW): New tokens.
906
        (section): Add sect_constraint.  Pass additional argument
907
        to lang_enter_output_section_statement.
908
        * mri.c (mri_draw_tree): Pass additional argument to
909
        lang_enter_output_section_statement.
910
        * emultempl/pe.em (place_orphan): Likewise.
911
        (output_prev_sec_find): Disregard output section statements with
912
        constraint == -1.
913
        * emultempl/mmo.em (output_prev_sec_find): Likewise.
914
        (mmo_place_orphan): Pass additional argument to
915
        lang_enter_output_section_statement.
916
        * emultempl/elf32.em (output_prev_sec_find): Disregard output section
917
        statements with constraint == -1.
918
        (place_orphan): Pass additional argument to
919
        lang_enter_output_section_statement.
920
        * ldlang.c (lang_enter_overlay_section): Likewise.
921
        (lang_output_section_find_1): New.
922
        (lang_output_section_find): Use it.
923
        (lang_output_section_statement_lookup_1): New.
924
        (lang_output_section_statement_lookup): Use it.
925
        (check_section_callback, check_input_sections): New.
926
        (map_input_to_output_sections): Check if all input sections
927
        are readonly if ONLY_IF_RO or ONLY_IF_RW was seen.
928
        (strip_excluded_output_sections): Disregard output section statements
929
        with constraint == -1.
930
        (lang_record_phdrs): Likewise.
931
        (lang_enter_output_section_statement): Add constraint argument.
932
        Use lang_output_section_statement_lookup_1.
933
        * ldlang.h (lang_output_section_statement_type): Add constraint
934
        and all_input_readonly fields.
935
        (lang_enter_output_section_statement): Adjust prototype.
936
        * ldlex.l (ONLY_IF_RO, ONLY_IF_RW): New tokens.
937
        * scripttempl/elf.sc (.eh_frame, .gcc_except_table): Move into text
938
        segment if all input sections are readonly.
939
 
940
2004-05-19  Adam Nemet  
941
 
942
        * scripttempl/i386lynx.sc: Remove file.
943
 
944
2004-05-17  Bob Wilson  
945
 
946
        * ld.texinfo (Output Section Address): Correct subsection name.
947
 
948
2004-05-17  Adam Nemet  
949
 
950
        * configure.tgt (powerpc-*-lynxos* case): New case.
951
        * configure.host (i[3-7]86-*-lynxos* case): Remove case.
952
        * emulparams/ppclynx.sh: New file.
953
        * emulparams/i386lynx.sh (SCRIPT_NAME): Update to LynxOS 4.0.
954
        * Makefile.am (ALL_EMULATIONS): Add eppclynx.o
955
        (ei386lynx.c): Update rule to LynxOS 4.0 ELF.
956
        (eppclynx.c): New rule.
957
        * Makefile.in: Regenerate.
958
 
959
2004-05-13  Joel Sherrill 
960
 
961
        * configure.tgt (or32-*-rtems*): Switch to elf and
962
        support versioned targets.
963
 
964
2004-05-13  Nick Clifton  
965
 
966
        * po/fr.po: Updated French translation.
967
 
968
2004-05-11  Jakub Jelinek  
969
 
970
        * genscripts.sh: Generate -z combreloc -z now -z relro scripts
971
        for binaries, -shared and -pie.
972
        * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
973
        * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
974
        * emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
975
        (OTHER_RELRO_SECTIONS): ... this.
976
        * ldlex.l (DATA_SEGMENT_RELRO_END): Add.
977
        * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
978
        -z relro and -z norelro.
979
        (gld${EMULATION_NAME}_list_options): Add it to usage.
980
        (gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
981
        -z relro scripts when appropriate.
982
        * scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
983
        Create separate .got.plt section if SEPARATE_GOTPLT.
984
        Move sections which are only written during relocation handling
985
        to the beginning of RW segment.  If NO_SMALL_DATA, move .got
986
        before .data.  Add DATA_SEGMENT_RELRO_END directive.
987
        Include OTHER_RELRO_SECTIONS.
988
        * ldgram.y (DATA_SEGMENT_RELRO_END): Add.
989
        * ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
990
        (fold_unary): Likewise.
991
        (fold_binary): Handle -z relro.
992
        * ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
993
        exp_dataseg_relro_adjust phases.  Add relro_end field.
994
        * ldmain.c (main): Initialize link_info.relro to FALSE.
995
        * ldlang.c (lang_size_sections): Handle -z relro.
996
 
997
2004-05-08  Marek Michalkiewicz  
998
 
999
        * scripttempl/avr.sc: Do not set LMA for "eeprom" section.
1000
 
1001
2004-05-07  J"orn Rennecke 
1002
 
1003
        * ldlang.c (print_padding_statement): Cast size_t to bfd_vma
1004
        before printing it with %W.
1005
 
1006
2004-05-07  Brian Ford  
1007
            DJ Delorie  
1008
 
1009
        * emultempl/pe.em (real_flags): New static.
1010
        (OPTION_LARGE_ADDRESS_AWARE): New define.
1011
        (gld${EMULATION_NAME}_add_options): Add --large-address-aware option.
1012
        (gld_${EMULATION_NAME}_list_options): Likewise.
1013
        (gld${EMULATION_NAME}_handle_option): Likewise.
1014
        (gld_${EMULATION_NAME}_after_open): Pass real_flags to PE private data.
1015
        * ld.texinfo: Document it.
1016
        * NEWS: Mention it.
1017
 
1018
2004-05-07  Brian Ford  
1019
 
1020
        * NEWS: Mention DWARF 2 support for i386pe.
1021
 
1022
2004-05-05  Alexandre Oliva  
1023
 
1024
        * emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
1025
        elf32-frvfdpic.
1026
 
1027
2004-04-30  Alan Modra  
1028
 
1029
        * ldlang.c (unique_section_p): Pass section parm, return true on
1030
        group sections.
1031
        (output_section_callback): Adjust.
1032
        * ldlang.h (unique_section_p): Update prototype.
1033
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.
1034
 
1035
2004-04-30  Eric Botcazou  
1036
 
1037
        * ld.texinfo (--gc-sections): Remove restriction for
1038
        dynamic linking.
1039
 
1040
2004-04-29  Brian Ford  
1041
 
1042
        * scripttempl/pe.sc: Handle .debug* and .gnu.linkonce.wi.* sections
1043
        for DWARF 2/3.  Update stab section's syntax.
1044
 
1045
2004-04-29  Alan Modra  
1046
 
1047
        * pe-dll.c: Revert changes accidentally committed 2004-03-08.
1048
        (fill_edata): Correct pointer arithmetic.
1049
 
1050
2004-04-21  Chris Demetriou  
1051
 
1052
        * ld.texinfo: Remove MIPS --embedded-relocs documentation.
1053
        * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition.
1054
        * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em.
1055
        (EXTRA_EM_FILE): Use mipsecoff.em
1056
        * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em.
1057
        (EXTRA_EM_FILE): Use mipsecoff.em
1058
        * emultempl/mipsecoff.em: Restructure to be included as an
1059
        extra emulation file.
1060
        (check_sections, gld${EMULATION_NAME}_after_open)
1061
        (gld${EMULATION_NAME}_after_allocation)
1062
        (gld${EMULATION_NAME}_get_script)
1063
        (ld_${EMULATION_NAME}_emulation): Remove
1064
        (gld${EMULATION_NAME}_before_parse): Rename to...
1065
        (mipsecoff_before_parse): This.
1066
        (LDEMUL_BEFORE_PARSE): Define.
1067
        * emultempl/mipself.em: Remove file.
1068
        * scripttempl/mips.sc (.rel.sdata): Do not include in output.
1069
        (__runtime_reloc_start, __runtime_reloc_stop): Stop providing
1070
        these symbols.
1071
        * Makefile.am: Remove dependencies on emultempl/mipself.em.
1072
        * Makefile.in: Regenerate.
1073
 
1074
2004-04-21      Anil Paranjpe   
1075
 
1076
        * ld.texinfo (synthesizing on H8/300): Information about linker
1077
        relaxation support for bit manipulation instructions and system
1078
        control instructions is added.
1079
 
1080
2004-04-21  Hans-Peter Nilsson  
1081
 
1082
        * NEWS: Mention change in DEFINED semantics.
1083
 
1084
2004-04-21  Eric Botcazou  
1085
 
1086
        * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.
1087
        (.data): Add KEEP for .gnu.linkonce.d.*personality*.
1088
        (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
1089
 
1090
2004-04-21  Ben Elliston  
1091
 
1092
        * ld.texinfo (Simple Example): Add missing punctuation.
1093
 
1094
2004-04-20  Chris Demetriou  
1095
 
1096
        * NEWS: Note that MIPS --embedded-relocs option is deprecated.
1097
 
1098
2004-04-19  Jakub Jelinek  
1099
 
1100
        * ldlang.c (lang_do_assignments_1): Handle .tbss output section
1101
        specially.
1102
 
1103
2004-04-18  Danny Smith  
1104
 
1105
        * scriptempl/pe.sc:  Put numbered .ctors.* after .ctors
1106
        with default priority. Likewise for dtors.
1107
 
1108
2004-04-11  Thiemo Seufer  
1109
 
1110
        * configure.host: Remove mips*-dec-bsd* target.
1111
        * configure.tgt: Likewise.
1112
 
1113
2004-04-08  Richard Sandiford  
1114
 
1115
        * emulparams/elf32bsmip.sh (EXTRA_EM_FILE): Define to irix.
1116
        * emulparams/elf64bmip.sh (EXTRA_EM_FILE): Likewise.
1117
        * emulparams/elf32bmipn32.sh (EXTRA_EM_FILE): Likewise.
1118
        * emultempl/irix.em: New file.
1119
        * Makefile.am (eelf32bsmip.c, eelf32bmipn32.c, eelf64bmip.c): Update
1120
        dependencies.
1121
        * Makefile.in: Regenerate.
1122
 
1123
2004-04-01  Paul Brook  
1124
 
1125
        * emultempl/armelf.em (byteswap_code): Add.
1126
        (arm_elf_before_allocation): Pass extra parameter.
1127
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_BE8.
1128
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add be8.
1129
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_BE8.
1130
        * emultempl/armelf_oabi.em: Pass extra parameter.
1131
        * ld.texinfo: Document --be8.
1132
 
1133
2004-03-30  Stan Shebs  
1134
 
1135
        Remove long-obsolete MPW support.
1136
        * mpw-config.in, mpw-make.sed, mac-ld.r: Remove files.
1137
        * Makefile.am (mpw): Remove file-presynthesizing actions.
1138
        * Makefile.in: Likewise.
1139
        * ldfile.c (slash): Remove MPW case.
1140
        * ldlex.l [MPW]: Remove unused definition.
1141
 
1142
2004-03-30  Galit Heller  
1143
 
1144
        * Makefile.am (ALL_EMULATIONS): Add eelf32cr16c.o.
1145
        (eelf32cr16c.c): New target.
1146
        * Makefile.in: Regenerate.
1147
        * configure.tgt: Handle cr16c-*-elf*.
1148
        * emulparams/elf32cr16c.sh: New file.
1149
        * scripttempl/elfcr16c.sc: Likewise
1150
        * NEWS: Mention support for new target.
1151
 
1152
2004-03-30  Nick Clifton  
1153
 
1154
        * po/sv.po: Updated Swedish translation.
1155
 
1156
2004-03-27  Alan Modra  
1157
 
1158
        * emultempl/elf32.em: Update new bfd_elf_discard_info name.
1159
        * emultempl/hppaelf.em: Likewise.
1160
        * emultempl/ppc64elf.em: Likewise.
1161
        * emultempl/sh64elf.em: Likewise.
1162
 
1163
2004-03-25  Alan Modra  
1164
 
1165
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Update
1166
        size_dynamic_sections call.
1167
 
1168
2004-03-23  Alan Modra  
1169
 
1170
        PR 51.
1171
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Set
1172
        link_info.wrap_char.
1173
 
1174
2004-03-20  H.J. Lu  
1175
 
1176
        * lexsup.c (parse_args): Don't set unresolved_syms_in_objects
1177
        or unresolved_syms_in_shared_libs for -Bdynamic and -Bstatic.
1178
 
1179
2004-03-20  Alexandre Oliva  
1180
 
1181
        * emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
1182
 
1183
2004-03-19  Alan Modra  
1184
 
1185
        * config.in: Regenerate.
1186
        * po/ld.pot: Regenerate.
1187
 
1188
2004-03-18  Alan Modra  
1189
 
1190
        * ld.texinfo: Add --as-needed doco.
1191
        * ldmain.c (as_needed): New global var.
1192
        * ldmain.h (as_needed): Declare.
1193
        * lexsup.c (option_values): Add OPTION_AS_NEEDED and
1194
        OPTION_NO_AS_NEEDED.
1195
        (ld_options): Likewise.
1196
        (parse_args): Handle them.
1197
        * ldlang.h (lang_input_statement_type): Add as_needed field.
1198
        * ldlang.c (new_afile): Set p->as_needed.
1199
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
1200
        (gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
1201
        (ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
1202
 
1203
        * ldlang.c (open_input_bfds): Remove useless cast.
1204
        (lang_do_assignments_1): Likewise.
1205
        (lang_for_each_input_section): Delete.
1206
 
1207
2004-03-17  Ralf Corsepius 
1208
 
1209
        * configure.tgt: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
1210
 
1211
2004-03-08  Danny Smith  
1212
 
1213
        * pe-dll.c (pe_dll_generate_implib): Skip sections marked as
1214
        private when building implib.
1215
 
1216
2004-03-05  Nathan Sidwell  
1217
 
1218
        * ldlang.c (lang_add_section): Don't force SEC_LOAD on
1219
        SEC_THREAD_LOCAL.
1220
        (IGNORE_SECTION): Ignore .tbss sections too.
1221
        (lang_size_sections_1): .tbss sections do not advance dot.
1222
 
1223
2004-03-01  Andreas Schwab  
1224
 
1225
        * ld.texinfo (Options): Fix example for --wrap.
1226
 
1227
2004-02-25  Danny Smith  
1228
 
1229
        * pe-dll.c (fill_edata): Check that exported_symbol_sections is
1230
        not NULL.
1231
 
1232
2004-02-23  Ian Lance Taylor  
1233
 
1234
        * ldlang.c (lang_check): Use %P, not %E, in error message.
1235
 
1236
2004-02-23  Nathan Sidwell  
1237
 
1238
        * ldlang.h (struct lang_output_section_state): Change processed
1239
        field's type.
1240
        * ldexp.c (check, invalid): Remove.
1241
        (fold_name): Move valid_p assignments. Create undefined symbol
1242
        when needed. Directly exampine section's processd flag.
1243
        * ldlang.c (lang_output_section_statement_lookup): Adjust
1244
        processed field init.
1245
        (lang_size_sections_1): Allow LOADADDR when determining section's
1246
        VMA. Adjust error message. Fold data statement's expr.
1247
        (lang_size_sections): Correctly increment lang_statement_iteration.
1248
 
1249
2004-02-23  Alan Modra 
1250
 
1251
        * ldexp.c (fold_tree): Follow indirect symbols.
1252
 
1253
2004-02-20  Nathan Sidwell  
1254
 
1255
        * ldgram.y (exp): Add two operand ALIGN.
1256
        * ldexp.c (fold_binary): Add ALIGN_K case.
1257
        * ld.texinfo (ALIGN): Document two operand version.
1258
 
1259
2004-02-19  Nathan Sidwell  
1260
 
1261
        * ldlang.c (map_input_to_output_sections): Initialize sections
1262
        mentioned in a data statement expression.
1263
        (lang_do_assignments_1): Add data statement's expression's
1264
        section's vma.
1265
 
1266
2004-02-18  Nathan Sidwell  
1267
 
1268
        * ldgram.y (statement_anywhere): Add assert rule.
1269
        * ldlang.c (exp_init_os): Add assert case.
1270
 
1271
2004-02-14  Andrew Cagney  
1272
 
1273
        * ldmain.c (remove_output): Call bfd_cache_close.
1274
 
1275
2004-02-14  Richard Sandiford  
1276
 
1277
        * emulparams/elf32bmipn32-defs.sh (OTHER_SECTIONS): Discard
1278
        .MIPS.content* and .MIPS.events* sections.
1279
 
1280
2004-02-09  Daniel Jacobowitz  
1281
 
1282
        * emulparams/armelf.sh, emulparams/armelf_linux.sh: Move
1283
        .note.gnu.arm.ident to after allocated sections.  Mark its
1284
        address as 0.
1285
 
1286
2004-02-09  Daniel Jacobowitz  
1287
 
1288
        * emulparams/armelf_linux.sh (COMMONPAGESIZE): Set to 4KB.
1289
        * emulparams/elf32bmip.sh (COMMONPAGESIZE): Likewise.
1290
        * emulparams/elf32bmipn32.sh (COMMONPAGESIZE): Likewise.
1291
        * emulparams/elf32btsmipn32.sh (COMMONPAGESIZE): Likewise.
1292
        * emulparams/shlelf_linux.sh (COMMONPAGESIZE): Likewise.
1293
 
1294
2004-02-05  Nick Clifton  
1295
 
1296
        * emultempl/pe.em (_after_open): Fix typo in previous delta.
1297
 
1298
2004-02-04  Danny Smith  
1299
 
1300
        * emultempl/pe.em (_after_open): Fix thinko in 2003-12-18 patch.
1301
 
1302
2004-01-28  Alan Modra  
1303
 
1304
        * genscripts.sh: Fix typo.
1305
 
1306
        * genscripts.sh: Apply $LIBPATH_SUFFIX to $tool_lib and $libdir too.
1307
 
1308
2004-01-24  Jakub Jelinek  
1309
 
1310
        * emulparams/elf64_ia64.sh: Put .rela.opd into
1311
        OTHER_GOT_RELOC_SECTIONS instead of OTHER_PLT_RELOC_SECTIONS.
1312
 
1313
2004-01-20  Danny Smith  
1314
 
1315
        * pe-dll.c (pe_create_import_fixup): Clear WP_TEXT flag.
1316
        * ld.texinfo (--omagic): Note that writable text section
1317
        does not conform to published PE-COFF specs.
1318
        (--enable-auto-import): Likewise.
1319
 
1320
2004-01-15  Alan Modra  
1321
 
1322
        * emulparams/elf32ppc.sh (COMMONPAGESIZE): Define.
1323
 
1324
2004-01-13  Nick Clifton  
1325
 
1326
        * ldlang.c (lang_get_regions): Add extra parameter 'have_vma'
1327
        which if true will prevent the LMA region being used as a
1328
        replacement for a default VMA region.
1329
        (lang_leave_output_section_statement): Pass extra parameter.
1330
        (lang_leave_overlay): Likewise.
1331
        * ld.texinfo (Output Section LMA): Document that the LMA
1332
        region can be set to the VMA region if no VMA has been set.
1333
        * ldlang.h (struct lang_output_section_phdr_list): Create a
1334
        typedef for this type.  Minor formatting fixes.
1335
 
1336
2004-01-13  Nick Clifton  
1337
 
1338
        * ldlang.c (lang_size_sections_1): If dot is advanced, then
1339
        assume that the section should be allocated.
1340
 
1341
2004-01-13  Alan Modra  
1342
 
1343
        * ldlang.c (IGNORE_SECTION): Don't ignore SEC_ALLOC && !SEC_LOAD
1344
        sections.  Do ignore SEC_NEVER_LOAD sections.
1345
        (lang_size_sections_1): Remove test made redundant with the above.
1346
 
1347
2004-01-09  Alan Modra  
1348
 
1349
        * emultempl/ppc64elf.em (ppc_before_allocation): Clear cached
1350
        program_header_size.
1351
 
1352
2004-01-06  Alexandre Oliva  
1353
 
1354
        2003-11-28  Alexandre Oliva  
1355
        * emulparams/elf32frvfd.sh (EMBEDDED): Clear.
1356
        2003-11-05  Alexandre Oliva  
1357
        * emulparams/elf32frvfd.sh (STACK_ADDR): Unset.
1358
        (MAXPAGESIZE): Set to 64Kb.
1359
        (OTHER_READONLY_SECTIONS): Define __ROFIXUP_LIST__ and
1360
        __ROFIXUP_END__.  Don't map .rofixup.got any more.
1361
        * emulparams/elf32frv.sh (NOP): Set.
1362
        2003-10-31  Alexandre Oliva  
1363
        * configure.tgt: Add frv-*-*linux*.
1364
        2003-09-30  Alexandre Oliva  
1365
        * Makefile.am (ALL_EMULATIONS): Added eelf32frvfd.o.
1366
        (eelf32frvfd.c): New.
1367
        * configure.tgt : Added it to targ_extra_emuls.
1368
        * emulparams/elf32frv.sh: Reverted previous two patches.
1369
        * emulparams/elf32frvfd.sh: New.
1370
        * Makefile.in: Rebuilt.
1371
        2003-09-18  Alexandre Oliva  
1372
        * emulparams/elf32frv.sh (OTHER_READONLY_SECTIONS): Added
1373
        .rofixup.got to .rofixup.
1374
        2003-09-15  Alexandre Oliva  
1375
        * emulparams/elf32frv.sh (MAXPAGESIZE): Make it 256KiB, not 256B.
1376
        (TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT): Set.
1377
 
1378
2004-01-05  Jakub Jelinek  
1379
 
1380
        * emulparams/elf_s390.sh (NO_SMALL_DATA): Set to yes.
1381
        * emulparams/elf64_s390.sh (NO_SMALL_DATA): Set to yes.
1382
 
1383
2004-01-03  Alan Modra  
1384
 
1385
        * ldexp.c (align_n): Make static.
1386
        * ldexp.h (align_n): Delete declaration.
1387
        * ldlang.h (lang_enter_output_section_statement): Remove
1388
        block_value param.
1389
        * ldlang.c (lang_enter_output_section_statement): Likewise.
1390
        (TO_ADDR, TO_SIZE): Define.
1391
        (opb_shift): New var.
1392
        (init_opb): New function.
1393
        (print_input_section): Call init_opb and use TO_ADDR.
1394
        (print_data_statement, print_reloc_statement): Likewise.
1395
        (print_padding_statement): Likewise.
1396
        (size_input_section): Use TO_SIZE and TO_ADDR, and global opb_shift.
1397
        (lang_check_section_addresses): Likewise.
1398
        (lang_size_sections_1): Likewise.
1399
        (lang_do_assignments_1): Likewise.
1400
        (lang_set_startof): Likewise.
1401
        (lang_one_common): Likewise.  Combine power_of_two and opb_shift align.
1402
        (lang_process): Call init_opb.
1403
        (lang_abs_symbol_at_end_of): Use TO_ADDR and global opb_shift.
1404
        (lang_enter_overlay_section): Adjust
1405
        lang_enter_output_section_statement call.
1406
        * ldgram.y: Likewise.
1407
        * mri.c (mri_draw_tree): Likewise.
1408
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1409
        * emultempl/mmo.em (mmo_place_orphan): Likewise.
1410
        * emultempl/pe.em (gld${EMULATION_NAME}_place_orphan): Likewise.
1411
 
1412
        * ldfile.c (ldfile_set_output_arch): Add defarch param.
1413
        * ldfile.h (ldfile_set_output_arch): Ditto.
1414
        * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Use
1415
        ldfile_set_output_arch.
1416
        * emultempl/beos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1417
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Ditto.
1418
        * emultempl/linux.em (gld${EMULATION_NAME}_before_parse): Ditto.
1419
        * emultempl/mipsecoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1420
        * emultempl/pe.em (gld${EMULATION_NAME}_before_parse): Ditto.
1421
        * emultempl/sunos.em (gld${EMULATION_NAME}_before_parse): Ditto.
1422
        * ldgram.y: Adjust ldfile_set_output_arch call.
1423
        * emultempl/armcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1424
        * emultempl/armelf.em (gld${EMULATION_NAME}_before_parse): Ditto.
1425
        * emultempl/armelf_oabi.em (gld${EMULATION_NAME}_before_parse): Ditto.
1426
        * emultempl/generic.em (gld${EMULATION_NAME}_before_parse): Ditto.
1427
        * emultempl/gld960c.em (gld960_set_output_arch): Ditto.
1428
        * emultempl/m68kcoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1429
        * emultempl/ticoff.em (gld${EMULATION_NAME}_before_parse): Ditto.
1430
 
1431
2004-01-02  Bernardo Innocenti  
1432
 
1433
        * configure.tgt: Add m68k-uClinux target.
1434
 
1435
For older changes see ChangeLog-0203
1436
 
1437
Local Variables:
1438
mode: change-log
1439
left-margin: 8
1440
fill-column: 74
1441
version-control: never
1442
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.