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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [ld/] [ChangeLog-2005] - Blame information for rev 832

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

Line No. Rev Author Line
1 205 julius
2005-12-28  Jie Zhang  
2
 
3
        * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
4
        And add a prefix '_' to ENTRY.
5
        * scripttempl/elf.sc: Add END_SYMBOLS.
6
 
7
2005-12-27  H.J. Lu  
8
 
9
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
10
        (LDEMUL_PLACE_ORPHAN): Delete.
11
 
12
2005-12-27  Leif Ekblad  
13
 
14
        * configure.tgt: Add support for RDOS targets.
15
 
16
2005-12-27  Nick Clifton  
17
 
18
        * po/vi.po: New Vietnamese translation.
19
        * configure.in (ALL_LINGUAS): Add vi.
20
        * configure: Regenerate.
21
 
22
2005-12-27  Alan Modra  
23
 
24
        * Makefile.am: Run "make dep-am".
25
        * Makefile.in: Regenerate.
26
 
27
2005-12-24  Alan Modra  
28
 
29
        * ldlang.h (lang_output_section_statement_type): Add prev.
30
        * ldlang.c (output_statement_newfunc): Set os.prev.
31
        (lang_insert_orphan): Likewise.
32
        (output_prev_sec_find): Use os.prev.
33
 
34
2005-12-22  Santosh Raktawan 
35
 
36
        * ld/emulparms/h8300helf.sh (TINY_READONLY_SECTION,
37
        TINY_DATA_SECTION, TINY_BSS_SECTION): Define.
38
        * ld/emulparms/h8300self.sh: Likewise.
39
        * ld/emulparms/h8300sxelf.sh: Likewise.
40
        * ld/scripttempl/elf.sc: Add TINY_READONLY_SECTION,
41
        TINY_DATA_SECTION, TINY_BSS_SECTION.
42
 
43
2005-12-19  H.J. Lu  
44
 
45
        PR ld/2065
46
        * ldlang.c (output_statement_newfunc): Revert the change made on
47
        2005-11-16.
48
        (output_prev_sec_find): Likewise.
49
        * ldlang.h (lang_statement_list_type): Likewise.
50
 
51
2005-12-16  Nathan Sidwell  
52
 
53
        Second part of ms1 to mt renaming.
54
        * emulparams/elf32mt.sh (ARCH, OUTPUT_FORMAT): Adjust.
55
 
56
2005-12-14  Jakub Jelinek  
57
 
58
        * scripttempl/elf.sc: Put .gnu.linkonce.d.rel.ro.* sections into
59
        .data.rel.ro output section.  Fix a pasto for -z nocombreloc
60
        .rela.data.rel.ro section content.
61
 
62
2005-12-12  Nathan Sidwell  
63
 
64
        * Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
65
        (eelf32mt.c): Update target name and dependencies.
66
        * Makefile.in: Rebuilt.
67
        * configure.tgt: Replace ms1 arch with mt arch.
68
        * emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
69
        comment.
70
 
71
2005-12-11  Bernhard Fischer  
72
 
73
        * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
74
        * scripttempl/elf.sc: Ditto.
75
        * scripttempl/elf32sh-symbian.sc: Ditto.
76
        * scripttempl/elf_chaos.sc: Ditto.
77
        * scripttempl/elfd10v.sc: Ditto.
78
        * scripttempl/elfd30v.sc: Ditto.
79
        * scripttempl/elfxtensa.sc: Ditto.
80
        * scripttempl/iq2000.sc: Ditto.
81
        * scripttempl/xstormy16.sc: Ditto.
82
 
83
2005-12-08  Alan Modra  
84
 
85
        * emultempl/ppc32elf.em (emit_stub_syms): New var.
86
        (ppc_after_open): Pass it to ppc_elf_select_plt_layout.
87
        (PARSE_AND_LIST_PROLOGUE ): Define.
88
        (PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
89
        (PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
90
        (PARSE_AND_LIST_OPTIONS): Handle it.
91
 
92
2005-12-08  Alan Modra  
93
 
94
        * pe-dll.c (build_filler_bfd): Conform error message to standard.
95
        (pe_dll_generate_implib): Use %E in error message.
96
        (add_bfd_to_link): Likewise.
97
        (pe_implied_import_dll): Likewise.
98
 
99
2005-12-07  Thiemo Seufer  
100
            H.J. Lu  
101
 
102
        PR ld/1932
103
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
104
        Adjust bfd_elf_record_link_assignment call.
105
 
106
        * ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.
107
 
108
2005-11-25  Jan Beulich  
109
 
110
        * Makefile.am: Make configdoc.texi writeable before trying
111
        to write to it.
112
        * Makefile.in: Refresh.
113
 
114
2005-11-24  Alan Modra  
115
 
116
        * ldlang.c (lang_output_section_find_by_flags): Add match_type param.
117
        Run two passes, first using match_type, second without.
118
        * ldlang.h (lang_match_sec_type_func): New typedef.
119
        (lang_output_section_find_by_flags): Update prototype.
120
        bfd_match_sections_by_type and lang_output_section_find_by_flags.
121
        * emultempl/pe.em (place_orphan): Likewise.
122
 
123
2005-11-24  Alan Modra  
124
 
125
        * ldlang.c (lang_insert_orphan): Skip first assignment to dot
126
        in script when looking for place to insert orphan statements.
127
 
128
2005-11-18  Alan Modra  
129
 
130
        * emulparams/elf64ppc.sh (.tocbss): Use new section alignment scheme.
131
        (.got, .toc1, .opd): Likewise.
132
 
133
2005-11-18  Alan Modra  
134
 
135
        * ldlang.c (lang_size_sections_1): Revert 2005-11-16 functional
136
        changes to section alignment.
137
        * ldmisc.c (vfinfo): Handle %ld and %lu.
138
 
139
2005-11-16  Mark Mitchell  
140
 
141
        * Makefile.am (configdoc.texi): Set top_srcdir in configdoc.texi..
142
        * Makefile.in: Regenerated.
143
        * ld.texinfo: Include configdoc.texi and ldver.texi in man pages.
144
        Add @file documentation.
145
 
146
2005-11-17  Alan Modra  
147
 
148
        * ldlang.h (lang_input_section_type): Remove "ifile" field.
149
        (lang_insert_orphan, lang_add_section): Update prototypes.
150
        * ldlang.c (lang_insert_orphan): Remove "file" param.
151
        (lang_add_section): Likewise.  Update all callers.
152
        (wild_sort): Get an input section's bfd via "section->owner".
153
        (size_input_section): Access just_syms_flag via bfd usrdata.
154
        (lang_place_orphans): Update ldemul_place_orphan call.
155
        * ldemul.h (ldemul_place_orphan): Remove input_statement param.
156
        (struct ld_emulation_xfer_struct ): Likewise.
157
        * ldemul.c (ldemul_place_orphan): Likewise.
158
        * ldwrite.c (build_link_order): Access just_syms_flag via bfd usrdata.
159
        * emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Likewise.
160
        * emultempl/beos.em (sort_by_file_name): Access bfd by section->owner.
161
        (sort_sections): Likewise.
162
        (place_orphan): Remove "file" param.  Adjust lang_add_section call.
163
        * emultempl/elf32.em (place_orphan): Remove "file" param.  Adjust
164
        lang_add_section and lang_insert_orphan calls.
165
        * emultempl/hppaelf.em (hppaelf_add_stub_section): Adjust
166
        lang_add_section call.
167
        (build_section_lists): Access just_syms_flag via bfd usrdata.
168
        * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Adjust
169
        lang_add_section call.
170
        * emultempl/mmo.em (mmo_place_orphan): Remove "file" param.  Adjust
171
        lang_add_section and lang_insert_orphan calls.
172
        * emultempl/pe.em (place_orphan): Likewise.  Access bfd via section
173
        owner.
174
        * emultempl/ppc64elf.em (ppc_add_stub_section): Adjust
175
        lang_add_section call.
176
        (build_toc_list): Access just_syms_flag via bfd usrdata.
177
        (build_section_lists): Likewise.
178
        * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Remove "file"
179
        param.  Adjust place_orphan call.
180
        (ld_build_required_section_dependence): Access bfd via section owner.
181
 
182
2005-11-16  Alan Modra  
183
 
184
        * ldlang.h (lang_output_section_statement_type): Add prev.
185
        * ldlang.c (new_afile): Always init header.type.
186
        (output_statement_newfunc): Set os.prev.
187
        (output_prev_sec_find): Use os.prev.
188
        (lang_enter_output_section_statement): Formatting.
189
        (lang_final, lang_add_target, lang_add_fill): Likewise.
190
        (lang_add_data, lang_add_reloc): Likewise.
191
        (lang_add_attribute): Only alloc the header.
192
 
193
2005-11-16  Alan Modra  
194
 
195
        * ld.texinfo (Forced Output Alignment): Specify that this is an
196
        alignment increase, not an override.
197
        * ldlang.c (init_os): Set output section alignment here..
198
        (lang_add_section): ..rather than here.
199
        (lang_size_sections_1): Consolidate alignment code.  Warn if section
200
        alignment affects start address when explicit address given.
201
 
202
2005-11-07  Steve Ellcey  
203
 
204
        * configure: Regenerate after modifying bfd/warning.m4.
205
 
206
2005-11-07  Olaf Hering  
207
 
208
        * ldmain.c (main): Add \n to error message.
209
 
210
2005-11-04  Alan Modra  
211
 
212
        * ldlang.c (struct output_statement_hash_entry): Don't indirect to os.
213
        (output_statement_newfunc): Rewrite.
214
        (lang_output_section_find_1): Merge into..
215
        (lang_output_section_find): ..here.
216
        (lang_output_section_statement_lookup_1): Rewrite to handle
217
        multiple sections with the same name.
218
        (output_statement_table_init): Commonise error message.
219
        (lang_init, open_output): Likewise.
220
 
221
2005-11-03  Paul Brook  
222
 
223
        * scripttempl/elf.sc: Add .init_array.* and .fini_array.*.
224
        * scripttempl/armbpabi.sc: Make init/fini array consistent with
225
        elf.sc.
226
        * scripttempl/elf32sh-symbian.sc: Ditto.
227
        * scripttempl/elfxtensa.sc: Ditto.
228
 
229
2005-11-03  Alan Modra  
230
 
231
        * ldlang.h (lang_output_section_statement_type): Rearrange.  Remove
232
        memspec.  Make "processed" a bitfield.
233
        (lang_data_statement_type, lang_reloc_statement_type): Rename
234
        output_vma to output_offset.
235
        * ldlang.c (lang_output_section_statement_lookup_1): Init
236
        all_input_readonly.  Don't init memspec.
237
        (init_os): Remove incorrect comment.
238
        (print_data_statement, print_reloc_statement): Adjust for
239
        lang_data_statement_type and lang_reloc_statement_type change.
240
        (lang_size_sections_1, lang_add_reloc): Likewise.
241
        * ldwrite.c (build_link_order): Likewise.
242
 
243
2005-10-30  Mark Mitchell  
244
 
245
        * lexsup.c (help): Document "@FILE".
246
 
247
2005-10-30  H.J. Lu  
248
 
249
        * Makefile.am: Run "make dep-am".
250
        * Makefile.in: Regenerated.
251
 
252
        * dep-in.sed: Replace " ./" with " ".
253
 
254
2005-10-25  Arnold Metselaar  
255
 
256
        * Makefile.am: Add support for Z80
257
        * Makefile.in: Regenerated
258
        * configure.tgt: Add z80-*-coff
259
        * emulparams/z80.sh: New file.
260
        * emultempl/z80.em: New file.
261
        * scripttempl/z80.sc New file.
262
        * NEWS: Mention this new support.
263
 
264
2005-10-25  Alan Modra  
265
 
266
        * po/ld.pot: Regenerate.
267
 
268
2005-10-25  Chris Metcalf 
269
 
270
        * ld.texinfo (--reduce-memory-overheads): Fix typo.
271
 
272
2005-10-23  H.J. Lu  
273
 
274
        PR ld/1487
275
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Call
276
        bfd_match_sections_by_type to match section types.
277
 
278
        * ldlang.c (init_os): Take the input section. Call
279
        bfd_init_private_section_data if the input section isn't NULL.
280
        (exp_init_os): Pass NULL to init_os.
281
        (map_input_to_output_sections): Likewise.
282
        (lang_add_section): Pass the input section to init_os.
283
 
284
2005-10-19  Paul Brook  
285
 
286
        * emulparams/armelf.sh: Add .ARM.attributes to OTHER_SECTIONS.
287
 
288
2005-10-15  H.J. Lu  
289
 
290
        PR ld/1467
291
        * emultempl/elf32.em: Include "elf-bfd.h".
292
        (gld${EMULATION_NAME}_place_orphan): Check section type and
293
        don't use section name for ELF input sections.
294
 
295
        * ld.texinfo: Document orphan section processing.
296
 
297
        * ldlang.c (lang_output_section_find_by_flags): Match section
298
        types by calling bfd_match_sections_by_type.
299
 
300
2005-10-13  Mark Mitchell  
301
 
302
        * ld.texino: Describe double-quoted string syntax for version
303
        nodes.
304
        * ldlang.h (lang_new_vers_pattern): Add literal_p parameter.
305
        * ldgram.y (vers_defns): Allow NAME as well as VERS_IDENTIFIER.
306
        Adjust calls to lang_new_vers_pattern to pass literal_p argument.
307
        * ldlang.c (lang_vers_match): Fix indentation.  Do not glob-match
308
        version nodes without a pattern.
309
        (lang_new_vers_pattern): Add literal_p parameter.
310
        (lang_do_version_exports_section): Pass it.
311
 
312
2005-10-12  Mark Mitchell  
313
 
314
        * NEWS: Mention @file.
315
 
316
2005-10-05  H.J. Lu  
317
 
318
        PR ld/1396
319
        * ldcref.c (check_refs): Accept bfd_boolean.
320
        (check_local_sym_xref): Pass FALSE to check_refs.
321
        (check_nocrossref): Pass TRUE to check_refs.
322
        (check_refs_info): Add bfd_boolean.
323
        (check_refs): Add bfd_boolean to check_refs_info.
324
        (check_reloc_refs): Match relocations with proper symbols.
325
 
326
        * ldmisc.c (vfinfo): Don't add extra ":\n".
327
 
328
2005-10-05  Danny Smith  
329
 
330
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
331
        default entry symbol to ENTRY here.
332
        * scripttempl/pe.sc: Not here.
333
 
334
2005-09-30  James E Wilson  
335
 
336
        * ldlang.c (lang_startup): Add missing ": " to einfo call.
337
 
338
2005-09-30  H.J. Lu  
339
 
340
        * Makefile.am: Run "make dep-am".
341
        * Makefile.in: Regenerated.
342
        * aclocal.m4: Likewise.
343
 
344
2005-09-30  H.J. Lu  
345
 
346
        * ldlang.c (output_statement_hash_entry): New type.
347
        (output_statement_table): New variable for hash table.
348
        (output_statement_newfunc): New function.
349
        (output_statement_table_init): Likewise.
350
        (output_statement_table_free): Likewise.
351
        (lang_init): Call output_statement_table_init.
352
        (lang_finish): Renamed to ...
353
        (lang_end): This.
354
        (lang_process): Updated.
355
        (lang_finish): New function.
356
        (lang_output_section_find_1): Use hash table.
357
        (lang_output_section_statement_lookup_1): Likewise.
358
 
359
        * ldlang.h (lang_finish): New.
360
 
361
        * ldmain.c (main): Call lang_finish.
362
 
363
2005-09-30  Mark Mitchell  
364
 
365
        * ldmain.c (main): Use expandargv.
366
 
367
2005-09-30  Catherine Moore  
368
 
369
        * Makefile.am: Bfin support.
370
        * Makefile.in: Regenerated.
371
        * aclocal.m4: Regenerated.
372
        * configure.tgt: Bfin support.
373
        * emulparams/bfin.sh: New file.
374
        * emultempl/bfin.em: New file.
375
 
376
2005-09-30  Matthias Kurz  
377
 
378
        * ld.h: Prevent the inclusion of  from the Solaris
379
        version of  when ENABLE_NLS is not defined.
380
 
381
2005-09-27  H.J. Lu  
382
 
383
        * ld.texinfo (ALIGN): Document it as forcing output section
384
        alignment.
385
 
386
        * ldgram.y (ALIGN): Support it for forcing output section
387
        alignment.
388
 
389
2005-09-20  Alan Modra  
390
 
391
        * ldlang.h (lang_output_section_statement_struct): Change type of
392
        "processed" to bfd_boolean.
393
        * ldexp.c (fold_name): Update references to os->processed.
394
        * ldlang.c (lang_output_section_statement_lookup_1): Likewise.
395
        (lang_size_sections_1): Likewise.
396
        (lang_reset_memory_regions): Likewise.
397
 
398
        PR ld/1353
399
        * ldlang.c (lang_size_sections_1): Process addr_tree earlier,
400
        so that unused output section statements affect dot.
401
 
402
2005-09-08  Jakub Jelinek  
403
 
404
        * ld.texinfo: Document -z {no,}execstack, -z {no,}relro
405
        and --eh-frame-hdr options.
406
 
407
2005-09-07  Alan Modra  
408
 
409
        * ldexp.c (fold_name ): Return 0 for non-existent section.
410
        (exp_fold_tree_1): Print assert message only in final stage of
411
        linking.  Trigger assertion failure if expression cannot be
412
        evaluated.
413
 
414
2005-09-06  H.J. Lu  
415
 
416
        PR ld/1263
417
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Check
418
        --just-symbols on DSO.
419
 
420
2005-08-18  Alan Modra  
421
 
422
        * scripttempl/elf.sc: Remove commented out defines.
423
 
424
2005-08-18  Alan Modra  
425
 
426
        * emulparams/a29k.sh: Delete.
427
        * emulparams/ebmon29k.sh: Delete.
428
        * emulparams/sa29200.sh: Delete.
429
        * Makefile.am: Remove a29k support.
430
        * configure.tgt: Likewise.
431
        * ld.texinfo: Likewise.
432
        * Makefile.in: Regenerate.
433
 
434
2005-08-17  Jakub Jelinek  
435
 
436
        * ldgram.y (vers_defns): Don't lose pattern list before
437
        extern NAME {}.  Handle global, local and extern symbol names.
438
 
439
2005-08-17  Kaz Kojima  
440
 
441
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
442
        Don't increment rel_count of .cranges here.  Set rawsize of .cranges.
443
 
444
2005-08-10  Nick Clifton  
445
 
446
        * pe-dll.c (pe_exe_fill_sections): Call lang_reset_memory_regions
447
        before lang_size_sections.
448
 
449
2005-08-09  Alan Modra  
450
 
451
        * emulparams/hppa64linux.sh (LARGE_SECTIONS): Remove .tbss.
452
 
453
2005-08-08  Eric Doenges 
454
 
455
        * Makefile.am (ALL_EMULATIONS): Add msp430x21xx variants.
456
        Add rules to build these emulations.
457
        * Makefile.in: Regenerate.
458
        * configure.tgt (msp430): Add the new variants to the
459
        targ_extra_emuls list.
460
        * emulparams/msp430all.sh: Add entries for the msp430x21xx
461
        variants.
462
 
463
2005-08-05  H.J. Lu  
464
 
465
        * ld.texinfo: Document PROVIDE_HIDDEN.
466
 
467
        * ldexp.c (exp_fold_tree_1): Hide a provided symbol if asked.
468
        (exp_provide): Add and set hidden.
469
 
470
        * ldexp.h (etree_type): Add hidden to assign.
471
 
472
        * ldgram.y (PROVIDE_HIDDEN): New.
473
        * ldlex.l (PROVIDE_HIDDEN): Likewise.
474
 
475
        * scripttempl/elf.sc: Use PROVIDE_HIDDEN on array bound
476
        symbols.
477
 
478
2005-08-05  Alan Modra  
479
 
480
        * emulparams/elf_x86_64.sh: Revert last change.
481
        * scripttempl/elf.sc (REL_LARGE, LARGE_SECTIONS): Define here.
482
 
483
2005-08-05  Alan Modra  
484
 
485
        * emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
486
        OTHER_END_SYMBOLS.
487
        * emulparams/armelf_linux.sh: Likewise.
488
        * emulparams/armnto.sh: Likewise.
489
        * emulparams/criself.sh: Likewise.
490
        * emulparams/elf32mcore.sh: Likewise.
491
        * emulparams/criself.sh (OTHER_SYMBOLS): Define.
492
        * emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
493
        (OTHER_END_SYMBOLS): Don't define.
494
        * emulparams/elf32fr30.sh: Likewise.
495
        * emulparams/elf64mmix.sh: Likewise.
496
        * emulparams/hppa64linux.sh: Likewise.
497
        * emulparams/m32relf.sh: Likewise.
498
        * emulparams/vxworks.sh: Likewise.
499
        * scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
500
        (OTHER_BSS_END_SYMBOLS): Add.
501
        (OTHER_END_SYMBOLS): Move before current end sym definitions.
502
        (OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
503
        * scripttempl/elf.sc: Likewise.
504
        * scripttempl/elf32sh-symbian.sc: Likewise.
505
        * scripttempl/elf_chaos.sc: Likewise.
506
        * scripttempl/elfxtensa.sc: Likewise.
507
        * scripttempl/iq2000.sc: Likewise.
508
        * scripttempl/xstormy16.sc: Likewise.
509
 
510
        * scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
511
        (REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
512
        (REL_LARGE, LARGE_SECTIONS): Add.
513
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
514
        (REL_LARGE): Define.
515
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
516
        (LARGE_SECTIONS): Define.
517
        * emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
518
        (LARGE_SECTIONS): Define.
519
 
520
2005-08-04  Alan Modra  
521
 
522
        * ldemul.c (ldemul_do_assignments, do_assignments_default): Delete.
523
        * ldemul.h (ldemul_do_assignments, do_assignments_default): Delete.
524
        (struct ld_emulation_xfer_struct): Remove do_assignments field.
525
        * ldlang.c (lang_do_assignments): Don't call ldemul_do_assignments.
526
        * emulparams/elf32ppc.sh (SDATA_START_SYMBOLS): New.
527
        (SDATA2_START_SYMBOLS, SBSS_START_SYMBOLS, SBSS_END_SYMBOLS): New.
528
        * emultempl/aix.em (ld_*_emulation): Delete do_assignments init.
529
        * emultempl/armcoff.em: Likewise.
530
        * emultempl/beos.em: Likewise.
531
        * emultempl/generic.em: Likewise.
532
        * emultempl/gld960.em: Likewise.
533
        * emultempl/gld960c.em: Likewise.
534
        * emultempl/linux.em: Likewise.
535
        * emultempl/lnk960.em: Likewise.
536
        * emultempl/m68kcoff.em: Likewise.
537
        * emultempl/pe.em: Likewise.
538
        * emultempl/sunos.em: Likewise.
539
        * emultempl/ticoff.em: Likewise.
540
        * emultempl/vanilla.em: Likewise.
541
        * emultempl/elf32.em: Likewise.
542
        (gld*_provide_bound_symbols): Delete.
543
        (gld*_provide_init_fini_syms): Delete.
544
        (gld*_before_allocation): Don't call ldemul_do_assignments.
545
        * emultempl/ppc32elf.em (ppc_do_assignments): Delete.
546
        (LDEMUL_DO_ASSIGNMENTS): Delete.
547
        * scripttempl/elf.sc: Provide init/fini syms.  Add SBSS_START_SYMBOLS,
548
        SBSS_END_SYMBOLS, SDATA2_START_SYMBOLS.
549
 
550
2005-08-04  Alan Modra  
551
 
552
        * Makefile.am (eelf32m32c.c): Fix dependencies.
553
        * Makefile.in: Regenerate.
554
 
555
2005-08-04  Alan Modra  
556
 
557
        * ldemul.c (ldemul_finish): Call ld_emulation->finish unconditionally.
558
        (finish_default): New function.
559
        * ldemul.h (finish_default): Declare.
560
        * emultempl/aix.em (gld*_before_allocation): Call
561
        before_allocation_default rather than strip_excluded_output_sections.
562
        (ld_*_emulation): Init finish field to finish_default.
563
        * emultempl/armcoff.em: Likewise.
564
        * emultempl/beos.em: Likewise.
565
        * emultempl/elf32.em: Likewise.
566
        * emultempl/generic.em: Likewise.
567
        * emultempl/gld960.em: Likewise.
568
        * emultempl/gld960c.em: Likewise.
569
        * emultempl/hppaelf.em: Likewise.
570
        * emultempl/linux.em: Likewise.
571
        * emultempl/lnk960.em: Likewise.
572
        * emultempl/m68kcoff.em: Likewise.
573
        * emultempl/mmo.em: Likewise.
574
        * emultempl/pe.em: Likewise.
575
        * emultempl/ppc64elf.em: Likewise.
576
        * emultempl/sunos.em: Likewise.
577
        * emultempl/ticoff.em: Likewise.
578
        * emultempl/vanilla.em: Likewise.
579
 
580
2005-08-03  Alan Modra  
581
 
582
        * ldlang.c (exp_init_os): Handle etree_provide.
583
        * emulparams/armelf.sh (OTHER_END_SYMBOLS): Rename from..
584
        (OTHER_BSS_END_SYMBOLS): ..this.
585
        * emulparams/armelf_linux.sh: Likewise.
586
        * emulparams/armnto.sh: Likewise.
587
        * emulparams/criself.sh: Likewise.
588
        * emulparams/crislinux.sh: Likewise.
589
        * emulparams/elf32frv.sh: Likewise.
590
        * emulparams/elf32mcore.sh: Likewise.
591
        * emulparams/elf32ppc.sh: Likewise.
592
        * emulparams/elf32ppclinux.sh: Likewise.
593
        * emulparams/hppa64linux.sh: Likewise.
594
        * scripttempl/armbpabi.sc: Substitute $OTHER_END_SYMBOLS, not
595
        $OTHER_BSS_END_SYMBOLS.
596
        * scripttempl/elf32sh-symbian.sc: Likewise.
597
        * scripttempl/elf_chaos.sc: Likewise.
598
        * scripttempl/iq2000.sc: Likewise.
599
        * scripttempl/xstormy16.sc: Likewise.
600
        * scripttempl/elf.sc: Likewise.  Delete __bss_start comment.
601
        * scripttempl/elfxtensa.sc: Likewise.
602
 
603
2005-07-29  Nick Clifton  
604
 
605
        * ldmain.c (main): Allow -shared and -static to be used together.
606
        * ld.texinfo (-static): Mention that it is allowed with -shared.
607
 
608
2005-07-28  DJ Delorie  
609
 
610
        * ldlang.c (lang_output_section_statement_lookup_1): Don't cast a
611
        unary & address operator, as that breaks GCC's strict aliasing
612
        rules.
613
 
614
2005-07-25  Jan Hubicka  
615
            H.J. Lu  
616
 
617
        * emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
618
 
619
        * scripttempl/elf.sc: Updated for large section support.
620
 
621
2005-07-21  Ralf Corsepius  
622
 
623
        * configure.tgt: Remove i[3-7]86-*-rtemself*.
624
        Remove sparc-*-rtemself*.
625
 
626
2005-07-21  Ben Elliston  
627
 
628
        * ldgram.y (ldgram_want_filename): Remove unused static.
629
 
630
2005-07-20  DJ Delorie  
631
 
632
        * emulparams/elf32m32c.sh (TEMPLATE_NAME): New.
633
        (EXTRA_EM_FILE): New.
634
 
635
2005-07-19  H.J. Lu  
636
 
637
        * ldmain.c (main): Reindent.
638
 
639
2005-07-19  Paul Brook  
640
 
641
        * configure.host (HOSTING_CRT0): Parse output of gcc --help --verbose
642
        to determine dynamic linker name.
643
 
644
2005-07-18  Nick Clifton  
645
 
646
        * configure.tgt: Restore alpha ordering to list of arches.
647
 
648
2005-07-16  Alan Modra  
649
 
650
        * emultempl/elf32.em (gld*_provide_init_fini_syms): Prototype.
651
        (gld*_before_allocation): Call ldemul_do_assignments rather than
652
        gld*_provide_init_fini_syms directly.
653
        * emultempl/ppc32elf.em (gld*_after_allocation): Delete.
654
        (ppc_do_assignments): New function.
655
        (LDEMUL_AFTER_ALLOCATION): Don't define.
656
        (LDEMUL_DO_ASSIGNMENTS): Define.
657
 
658
2005-07-16  Alan Modra  
659
 
660
        * Makefile.am: Run "make dep-am".
661
        (emipsidt.c, emipsidtl.c): Depend on generic.em.
662
        * Makefile.in: Regenerate.
663
 
664
2005-07-15  Alan Modra  
665
 
666
        * ldemul.c (ldemul_do_assignments): New function.
667
        (do_assignments_default): New function.
668
        * ldemul.h (ldemul_do_assignments): Declare.
669
        (do_assignments_default): Declare.
670
        (struct ld_emulation_xfer_struct): Add do_assignments.
671
        * ldlang.c (lang_do_assignments) Call ldemul_do_assignments.
672
        * emultempl/aix.em (ld_*_emulation): Init do_assignments field.
673
        * emultempl/armcoff.em: Likewise.
674
        * emultempl/beos.em: Likewise.
675
        * emultempl/generic.em: Likewise.
676
        * emultempl/gld960.em: Likewise.
677
        * emultempl/gld960c.em: Likewise.
678
        * emultempl/linux.em: Likewise.
679
        * emultempl/lnk960.em: Likewise.
680
        * emultempl/m68kcoff.em: Likewise.
681
        * emultempl/pe.em: Likewise.
682
        * emultempl/sunos.em: Likewise.
683
        * emultempl/ticoff.em: Likewise.
684
        * emultempl/vanilla.em: Likewise.
685
        * emultempl/elf32.em: Likewise, to call gld*_provide_init_fini_syms.
686
        (gld*_find_exp_assignment): Adjust bfd_elf_record_link_assignment call.
687
 
688
2005-07-14  Jim Blandy  
689
 
690
        Add support for the Renesas M32C and M16C.
691
        * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o.
692
        (eelf32m32c.c): New target.
693
        * Makefile.in: Regenerated.
694
        * configure.tgt: Add case for m32c-*-elf.
695
        * emulparams/elf32m32c.sh: New file.
696
 
697
2005-07-14  Alan Modra  
698
 
699
        * ldlang.c (strip_excluded_output_sections): Don't call
700
        bfd_gc_sections.
701
        * emultempl/elf32.em (gld*_provide_bound_symbols): Move.
702
        (gld*_provide_init_fini_syms): Move.
703
        (gld*_before_allocation): Call the above from here..
704
        (gld*_finish): ..not here.  Call _bfd_elf_fix_excluded_sec_syms.
705
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
706
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
707
 
708
2005-07-10  Ralf Corsepius 
709
 
710
        * configure.tgt: Remove sparc*-*-rtemsaout*, i[3-7]86-go32-rtems*,
711
        i[3-7]86-*-rtemscoff*, hppa*-*-rtems*, mips*el-*-rtems*,
712
        powerpcle-*-rtems*.
713
 
714
2005-07-09  Christopher Faylor  
715
 
716
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Enable runtime
717
        relocation by default.
718
        (compute_dll_image_base): Avoid linking into cygwin dll address space.
719
 
720
2005-07-08  Alan Modra  
721
 
722
        * ldlang.c (wild_sort): Formatting.
723
        (strip_excluded_output_sections): Strip zero size sections here.
724
        * emultempl/elf32.em (gld*_strip_empty_sections): Delete.
725
        (gld*_finish): Don't call the above.
726
        * emultempl/hppaelf.em (hppaelf_finish): Likewise.
727
        * emultempl/ppc64elf.em (ppc_finish): Likewise.
728
 
729
2005-07-05  Paul Brook  
730
 
731
        * Makefile.am (ALL_EMULATIONS): Add eelf32ppcvxworks.o.
732
        (eelf32ppcvxworks.o): Add dependencies.
733
        * Makefile.in: Regenerate.
734
        * configure.tgt: Add entry for powerpc-vxworks.
735
        * emulparams/elf32-ppc.c: Mention elf32ppcvxworks.sh in comment.
736
        * emulparams/elf32ppcvxworks.sh: New file.
737
        * emultempl/ppc32elf.em (bfd_elf32_powerpc_vxworks_vec): Declare.
738
        (is_ppc_elf32_vec): New function.
739
        (ppc_after_open, ppc_before_allocation,
740
        gld${EMULATION_NAME}_after_allocation): Use it.
741
 
742
2005-07-05  Peter S. Mazinger" 
743
 
744
        * emulparams/elf32bmip.sh (GENERATE_PIE_SCRIPT): Define as "yes".
745
        * emulparams/elf32bmipn32-defs.sh (GENERATE_PIE_SCRIPT): Define as "yes".
746
 
747
2005-07-04  Mike Frysinger 
748
 
749
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Fix typo in
750
        name.
751
 
752
2005-07-04  Kazuhiro Inaoka  
753
 
754
        * emulparams/m32relf_linux.sh (GENERATE_PIE_SCRIPT): Set to yes.
755
 
756
2005-07-04  Aurelien Jarno  
757
 
758
        * emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
759
 
760
2005-07-01  Alan Modra  
761
 
762
        * scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
763
 
764
2005-06-30  Ben Elliston  
765
 
766
        * Makefile.am (check-DEJAGNU): Don't search for expect.
767
        * Makefile.in: Regenerate.
768
 
769
2005-06-30  Ben Elliston  
770
 
771
        * Makefile.am (EXPECT): Set to expect.
772
        (RUNTEST): Likewise, set to runtest.
773
        * Makefile.in: Regenerate.
774
 
775
2005-06-16  Alexander Klimov  
776
 
777
        * emultempl/armelf.em: Add quotes to avoid a null test
778
        expression.
779
 
780
2005-06-12  Daniel Jacobowitz  
781
 
782
        * ld.texinfo (Command Line Options): Add @item for --hash-size.
783
 
784
2005-06-10  Alan Modra  
785
 
786
        * scripttempt/elf.sc (.bss): Align tail in a way that allows
787
        empty section pruning.
788
 
789
2005-06-09  Steve Ellcey  
790
 
791
        * configure.in (AM_BINUTILS_WARNINGS): Add.
792
        (BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
793
        * config.in: Regenerate.
794
        * configure: Regenerate.
795
        * sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
796
        * ldmain.c: Ditto.
797
 
798
2005-06-09  Alan Modra  
799
 
800
        * ldexp.c (fold_unary ): Revert last change.
801
 
802
2005-06-09  Alan Modra  
803
 
804
        * ld.h (lang_phase_type): Move to..
805
        * ldexp.h: ..here.  Add lang_mark_phase_enum.
806
        (node_type): Remove etree_undef and etree_unspec.
807
        (exp_data_seg): Delete.
808
        (struct ldexp_control, expld): New.
809
        (invalid, exp_mark_used_section): Delete.
810
        (exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
811
        exp_get_abs_int): Update prototypes.
812
        * ldexp.c (assigning_to_dot): Delete.
813
        (expld): Define.
814
        (make_abs): Operate directly on expld.result.  Update all callers.
815
        (new_abs): Likewise.  Return void.
816
        (new_rel_from_abs): Rename from new_rel_from_section.
817
        (new_rel, new_rel_from_abs): Operate on expld.result and return void.
818
        Update all callers.
819
        (fold_unary): Operate on expld.result and return void.  Remove
820
        "current_section", "allocation_done", "dot", "dotp" and "mark_used"
821
        params.  Update all callers.
822
        (fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
823
        (fold_unary ): Ensure alignment is absolute.
824
        (fold_unary ): Use make_abs.
825
        (fold_unary ): Evaluate mark_phase as for
826
        allocating_phase.
827
        (fold_binary ): Ditto.
828
        (fold_binary <'%','/'>): Don't error if marking.
829
        (fold_name ): Don't call bfd_sizeof_headers when
830
        marking.
831
        (fold_name ): Remove FIXME; -R is handled correctly.  Don't
832
        error when marking.
833
        (fold_name ): Don't set SEC_KEEP.
834
        (exp_fold_tree_1): Don't error when marking.
835
        (exp_fold_tree_1 ): Evaluate in all phases except first.
836
        (exp_fold_tree_1 ): Don't check for NULL
837
        current section, instead check for NULL dotp.
838
        (exp_fold_tree_1 ): Don't evaluate the assignment
839
        source unless the symbol is referenced and undefined.
840
        (exp_fold_tree): Remove "allocation_done" and "dot" params.  Save
841
        params to expld.
842
        (exp_fold_tree_no_dot): Remove "current_section", "allocation_done
843
        and "mark_used" params.  Save params to expld.  Update all callers.
844
        (exp_assop): Do without temp var.
845
        (exp_print_tree ): Delete code.
846
        (exp_get_vma): Remove "allocation_done" param.  Correct error return.
847
        (exp_get_fill, exp_get_abs_int): Likewise.
848
        (exp_get_value_int): Remove "allocation_done" param.
849
        (exp_mark_used_section): Delete.
850
        * ldgram.y (fill_exp): Update exp_get_fill call.
851
        (origin_spec, length_spec): Update exp_get_vma call.
852
        * ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
853
        (lang_mark_used_section_1, lang_mark_used_section): Delete.
854
        (strip_excluded_output_sections): Call one_lang_size_sections_pass in
855
        marking mode.  Merge old lang_mark_used_section code.  Correct handling
856
        of output sections with excluded input sections and data statements.
857
        Don't drop non-zero sized sections.  Don't zap os->bfd_section.
858
        Do set SEC_EXCLUDE when appropriate.
859
        (print_output_section_statement): Update for changed ldexp.c
860
        interface.
861
        (print_assignment, lang_size_sections_1): Likewise.
862
        (lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
863
        (lang_new_phdr, lang_record_phdrs): Likewise.
864
        (lang_size_sections): Likewise.
865
        (insert_pad): Use following statement if it is a pad, rather than
866
        creating a new one.
867
        (lang_size_sections_1 ): Do
868
        process ignored output section to set vma and lma, but don't
869
        update dot for these sections.  Don't error if marking.
870
        (lang_size_sections_1 ): Don't
871
        update dot for ignored sections.
872
        (lang_size_sections_1 ): Don't mark absolute
873
        section with SEC_ALLOC.
874
        (one_lang_size_sections_pass): New function.
875
        (lang_size_sections): Remove first five params.  Set expld.phase on
876
        entry and exit.   Use one_lang_size_sections_pass.
877
        (lang_do_assignments): Remove all params.  Update all callers.
878
        (lang_reset_memory_regions): Clear os->processed for all output
879
        section statements.
880
        * ldlang.h (lang_do_assignments): Update prototype.
881
        (lang_size_sections): Likewise.
882
        (one_lang_size_sections_pass): Declare.
883
        * pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
884
        lang_size_sections and lang_do_assignments calls.
885
        * emultempl/elf32.em (layout_sections_again): Likewise.
886
        * emultempl/ppc64elf.em (ppc_before_allocation): Use
887
        one_lang_size_sections_pass.
888
 
889
2005-06-08  Aldy Hernandez  
890
 
891
        * emulparams/elf32ms1.sh: New.
892
 
893
2005-06-07  Eric Christopher  
894
 
895
        * Makefile.am (eelf32ms1.c): Use tab.
896
        * Makefile.in: Regenerate.
897
 
898
2005-06-07  Aldy Hernandez  
899
            Michael Snyder  
900
            Stan Cox  
901
 
902
        * configure.tgt: Same.
903
 
904
        * Makefile.am (ALL_EMULATIONS): Depend on eelf32ms1.o.
905
        (eelf32ms1.c): Add eelf32ms1.c rule.
906
 
907
        * Makefile.in: Regenerate.
908
 
909
2005-06-06  Alan Modra  
910
 
911
        * emultempl/ppc64elf.em (ppc_before_allocation): Always run
912
        ppc64_elf_edit_opd.
913
 
914
2005-06-05  H.J. Lu  
915
 
916
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
917
        section only if the symbol will be defined.
918
 
919
2005-06-04  H.J. Lu  
920
 
921
        PR 992
922
        * ldexp.c (exp_mark_used_section): Set SEC_KEEP on current
923
        section for etree_assign, etree_provide and etree_provided.
924
        Call fold_binary on etree_binary.
925
 
926
        * ldlang.c (lang_mark_used_section_1): Handle load base.
927
 
928
2005-06-03  Alan Modra  
929
 
930
        * ldmain.c (link_callbacks): Add einfo.
931
        (add_archive_element): Use passed info, not link_info.
932
        (constructor_callback): Likewise.
933
        (reloc_overflow): Don't handle null bfd specially.
934
        (reloc_dangerous, unattached_reloc): Likewise.
935
        * ldmisc.c (vfinfo ): Print "ld generated" for null bfd.
936
        (vfinfo ): Handle null bfd.  Wrap comments.
937
 
938
2005-06-02  Alan Modra  
939
 
940
        * ldexp.h (etree_value_type): Use "asection *" in place of
941
        "struct lang_output_section_statement_struct *" for "section".
942
        (exp_fold_tree): Likewise.
943
        (exp_mark_used_section): Likewise.
944
        * ldexp.c (new_rel, new_rel_from_section, fold_unary, fold_binary,
945
        fold_trinary, fold_name, exp_fold_tree_1, exp_fold_tree,
946
        exp_mark_used_section): Likewise for "current_section" param.
947
        (make_abs, new_abs, exp_binop, exp_unop, exp_get_vma, exp_get_fill,
948
        exp_get_abs_int): Adjust for above changes.
949
        * ldlang.c (lang_mark_used_section_1, print_assignment,
950
        lang_size_sections_1, lang_do_assignments_1): Likewise.
951
        * ldexp.c (fold_name): Init entire result struct.
952
 
953
2005-06-01  Maciej W. Rozycki  
954
 
955
        * emulparams/elf32btsmip.sh: Unset DATA_ADDR.
956
 
957
2005-05-31  Zack Weinberg  
958
 
959
        * ldlang.c (entry_symbol_default): New file-scope global.
960
        (lang_finish): Use it, not a hardwired "start".
961
        (lang_default_entry): Set it.
962
        * ldlang.h: Declare lang_default_entry.
963
        * emultempl/beos.em, emultempl/pe.em: Use lang_default_entry,
964
        not lang_add_entry, to override default entry point symbol.
965
 
966
2005-05-29  Richard Henderson  
967
 
968
        * emulparams/elf64alpha.sh (PLT): New.
969
        (TEXT_PLT): New.
970
        * emultempl/alphaelf.em (disable_relaxation): New.
971
        (limit_32bit): Rename from elf64alpha_32bit; update all users.
972
        (elf64_alpha_use_secureplt): Declare.
973
        (bfd_elf64_alpha_vec, bfd_elf64_alpha_freebsd_vec): Declare.
974
        (alpha_after_open): New.
975
        (alpha_before_allocation): New.
976
        (OPTION_NO_RELAX, OPTION_SECUREPLT, OPTION_NO_SECUREPLT): New.
977
        (PARSE_AND_LIST_LONGOPTS): Include them.
978
        (PARSE_AND_LIST_OPTIONS): Likewise.
979
        (PARSE_AND_LIST_ARGS_CASES): Likewise.
980
        (LDEMUL_AFTER_OPEN, LDEMUL_BEFORE_ALLOCATION): New.
981
        * scripttempl/elf.sc (TEXT_PLT): New.
982
        (PLT): Use it.
983
 
984
2005-05-27  Andreas Schwab  
985
 
986
        * configure.host (HOSTING_LIBS): Add libunwind.a if it exists.
987
 
988
2005-05-24  Alan Modra  
989
 
990
        * emultempl/ppc32elf.em (after_allocation): Don't call
991
        ppc_elf_set_sdata_syms when relocatable.
992
 
993
2005-05-21  H.J. Lu  
994
 
995
        * Makefile.am (ld.1): Revert the last 2 changes.
996
        (info-recursive): Depend on ld.1.
997
        * Makefile.in: Regenerated.
998
 
999
2005-05-21  H.J. Lu  
1000
 
1001
        * Makefile.am (ld.1): Depend on "info" instead of
1002
        "configdoc.texi ldver.texi".
1003
        * Makefile.in: Regenerated.
1004
 
1005
2005-05-21  H.J. Lu  
1006
 
1007
        * Makefile.am (ld.1): Depend on "info".
1008
        * Makefile.in: Regenerated.
1009
 
1010
2005-05-19  Zack Weinberg  
1011
 
1012
        * Makefile.am: Have 'all' depend on 'info' and 'ld.1'.
1013
        * Makefile.in: Regenerate.
1014
 
1015
2005-05-17  Zack Weinberg  
1016
 
1017
        * ld-arm/mixed-app.d: Adjust expected disassembly a little.
1018
 
1019
2005-05-17  Daniel Jacobowitz  
1020
 
1021
        * Makefile.am (ldver.texi): Don't use $<.
1022
        * Makefile.in: Regenerated.
1023
 
1024
2005-05-17  Daniel Jacobowitz  
1025
 
1026
        * Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Explicitly include
1027
        $(srcdir) before $(BFDDIR)/doc.
1028
        * Makefile.in: Regenerated.
1029
 
1030
2005-05-17  H.J. Lu  
1031
 
1032
        PR 797
1033
        * ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
1034
        take take a bfd_boolean, mark_used. Ignore assert failure if
1035
        mark_used is TRUE.
1036
        (exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
1037
        (exp_fold_tree_no_dot): Updated to take a bfd_boolean,
1038
        mark_used and pass down.
1039
        (fold_unary): Likewise.
1040
        (fold_binary): Likewise.
1041
        (fold_trinary): Likewise.
1042
        (exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
1043
        (exp_trinop): Likewise.
1044
        (exp_unop): Likewise.
1045
        (exp_nameop): Likewise.
1046
        (exp_get_vma): Likewise.
1047
        (exp_get_fill): Likewise.
1048
        (exp_get_abs_int): Likewise.
1049
        (fold_name): Likewise. Set SEC_KEEP in output section flags.
1050
        (exp_mark_used_section): New.
1051
 
1052
        * ldexp.h (exp_mark_used_section): New.
1053
 
1054
        * ldlang.c (lang_output_section_statement_lookup_1): Set the
1055
        ignored field to FALSE.
1056
        (lang_mark_used_section_1): New.
1057
        (lang_mark_used_section): Call lang_mark_used_section_1.
1058
        (strip_excluded_output_sections): Call lang_mark_used_section
1059
        and check for unused sections.
1060
        (lang_size_sections_1): Skip an output section if it should
1061
        be ignored.
1062
        (lang_do_assignments_1): Likewise.
1063
        (lang_process): Don't call lang_mark_used_section here.
1064
 
1065
        * ldlang.h (lang_output_section_statement_type): Change
1066
        all_input_readonly to bitfield. Add ignored.
1067
 
1068
2005-05-17  Lennert Buytenhek  
1069
            Peter S. Mazinger" 
1070
 
1071
        * emulparams/armelf_linux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
1072
        * emulparams/hppalinux.sh (GENERATE_PIE_SCRIPT): Define as "yes".
1073
 
1074
2005-05-17  Julian Brown 
1075
 
1076
        * ldlang.c (print_assignment): Do not rely upon a valid result
1077
        having a section associated with it.
1078
 
1079
2005-05-17  Nick Clifton  
1080
 
1081
        * ldlang.c (Scan_for_self_assignment): Check an assignment tree to
1082
        see if the same value is being used on the rhs as on the lhs.
1083
        (print_assignment): Call scan_for_self_assignment and if it
1084
        returns true, do no display the result of the computation but
1085
        instead just the final value of the symbol on the lhs.
1086
        * ld.texinfo: Document this behaviour and provide an example of
1087
        when it will happen.
1088
 
1089
2005-05-15  Daniel Jacobowitz  
1090
 
1091
        * Makefile.am (AM_MAKEINFOFLAGS): Define.
1092
        (TEXI2DVI): Define.
1093
        (ldver.texi): Depend on distributed files instead of built files.
1094
        (ld.info): Include $(srcdir) in the rule target.  Remove actions.
1095
        (ld.dvi): Remove actions.
1096
        (MAINTAINERCLEANFILES): Add configdoc.texi.
1097
        (CONFIG_STATUS_DEPENDENCIES): Add bfd/configure.in.
1098
        (install-data-local): Renamed from install.
1099
        (Makefile): Remove explicit dependency.
1100
        * acinclude.m4: Remove obsolete code.
1101
        * configure.in: Update AC_PREREQ.  Remove extra $CONFIG_SHELL.
1102
        * Makefile.in, aclocal.m4, config.in, configure: Regenerated.
1103
 
1104
2005-05-11  Bob Wilson  
1105
 
1106
        * scripttempl/elfxtensa.sc: Sync up with elf.sc.
1107
        * emulparams/elf32xtensa.sh (PLT, GOT): Define.
1108
 
1109
2005-05-11  Alan Modra  
1110
 
1111
        * ldgram.y: Add SPECIAL token.
1112
        (sect_constraint): Handle SPECIAL.
1113
        * ldlang.c (lang_output_section_find_1): Don't match SPECIAL.
1114
        (map_input_to_output_sections): Likewise.
1115
        * ldlex.l (SPECIAL): Define.
1116
        * emulparams/elf32ppc.sh (DATA_GOT, SDATA_GOT, SEPARATE_GOTPLT,
1117
        GOT, PLT, GOTPLT): Define.
1118
        * emultempl/ppc32elf.em (old_plt, old_got): New static vars.
1119
        (ppc_after_open): New function.
1120
        (PARSE_AND_LIST_PROLOGUE): Define OPTION_OLD_LPT and OPTION_OLD_GOT.
1121
        (PARSE_AND_LIST_LONGOPTS): Add "bss-plt" and "sdata-got".
1122
        (PARSE_AND_LIST_OPTIONS): Document them.
1123
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
1124
        (LDEMUL_AFTER_OPEN): Define.
1125
        * scripttempl/elf.sc (PLT): Don't override existing define.
1126
        (DATA_GOT, SDATA_GOT): Define and use to enable alternate got
1127
        placement rather than using NO_SMALL_DATA.  Emit GOTPLT for RELRO_NOW.
1128
 
1129
2005-05-10  Alan Modra  
1130
 
1131
        * scripttempl/elf.sc (DATA_SEGMENT_RELRO_GOTPLT_END): Delete.
1132
        (DATA_SEGMENT_RELRO_END): Use SEPARATE_GOTPLT value.
1133
        (GOTPLT): Remove DATA_SEGMENT_RELRO_GOTPLT_END.  Place after
1134
        DATA_SEGMENT_RELRO_END in script.
1135
 
1136
2005-05-09  H.J. Lu  
1137
 
1138
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1139
        Don't use a removed section.
1140
 
1141
2005-05-09  H.J. Lu  
1142
 
1143
        * ldmain.c (reloc_overflow): Use output_bfd if the symbol
1144
        is defined in the ABS section.
1145
 
1146
2005-05-06  H.J. Lu  
1147
 
1148
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
1149
        Put back !link_info.relocatable.
1150
 
1151
2005-05-06  H.J. Lu  
1152
 
1153
        PR 878
1154
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_init_fini_syms):
1155
        Just check link_info.executable.
1156
 
1157
2005-05-06  Nick Clifton  
1158
 
1159
        * Update the address and phone number of the FSF organization in
1160
        the GPL notices in the following files:
1161
        aclocal.m4, deffile.h, deffilep.y, fdl.texi, ld.h, ldcref.c,
1162
        ldctor.c, ldctor.h, ldemul.c, ldexp.c, ldexp.h, ldfile.c,
1163
        ldfile.h, 20ldgram.y, ldint.texinfo, ldlang.c, ldlang.h, ldlex.h,
1164
        ldlex.l, ldmain.c, ldmain.h, ldmisc.c, ldmisc.h, ldver.c, ldver.h,
1165
        ldwrite.c, ldwrite.h, lexsup.c, mri.c, mri.h, pe-dll.c, pe-dll.h,
1166
        sysdep.h, emultempl/aix.em, emultempl/alphaelf.em,
1167
        emultempl/armcoff.em, emultempl/armelf.em, emultempl/beos.em,
1168
        emultempl/crxelf.em, emultempl/elf32.em, emultempl/generic.em,
1169
        emultempl/gld960.em, emultempl/gld960c.em, emultempl/hppaelf.em,
1170
        emultempl/ia64elf.em, emultempl/irix.em,  emultempl/linux.em,
1171
        emultempl/lnk960.em, emultempl/m68hc1xelf.em,
1172
        emultempl/m68kcoff.em, emultempl/m68kelf.em,
1173
        emultempl/mipsecoff.em, emultempl/mmix-elfnmmo.em,
1174
        emultempl/mmixelf.em, emultempl/mmo.em, emultempl/needrelax.em,
1175
        emultempl/pe.em, emultempl/ppc32elf.em, emultempl/ppc64elf.em,
1176
        emultempl/sh64elf.em, emultempl/sunos.em, emultempl/ticoff.em,
1177
        emultempl/vanilla.em, emultempl/xtensaelf.em
1178
 
1179
2005-05-05  H.J. Lu  
1180
 
1181
        * scripttempl/elf.sc: Document the usage of __bss_start.
1182
 
1183
2005-05-05  Paul Brook  
1184
 
1185
        * Makefile.am: Add eelf_i386_vxworks.
1186
        * Makefile.in: Regenerate.
1187
        * configure.tgt: Make i?86-*-vxworks use targ_emul=elf_i386_vxworks.
1188
        * emulparams/elf_i386_vxworks.sh: New file.
1189
        * emulparams/vxworks.sh: New file.
1190
        * scripttempl/elf.sc: Add DATA_END_SYMBOLS and ETEXT_NAME.
1191
 
1192
2005-05-04  H.J. Lu  
1193
 
1194
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1195
        Call _bfd_elf_provide_section_bound_symbols.
1196
 
1197
2005-05-04  Alan Modra  
1198
 
1199
        * ldemul.c: Include bfdlink.h.
1200
        (ldemul_before_allocation): Assume before_allocation is non-zero.
1201
        (before_allocation_default): Call strip_excluded_output_sections.
1202
        * ldlang.c (stripped_excluded_sections): New variable.
1203
        (lang_add_section): Build input section list for each output
1204
        section, attached via map_head and map_tail pointers.
1205
        (strip_excluded_output_sections): Make global.  Traverse the
1206
        input section lists to find which output sections can go.  Clear
1207
        link_order pointers and set stripped_excluded_sections.
1208
        (lang_process): Call strip_excluded_output_sections.
1209
        * ldlang.h (strip_excluded_output_sections): Declare.
1210
        * ldwrite.c: Update throuhout for link_order_head -> map_head change.
1211
        * emultempl/aix.em (before_allocation): Call
1212
        strip_excluded_output_sections.
1213
        * emultempl/armcoff.em (before_allocation): Likewise.
1214
        * emultempl/beos.em (before_allocation): Likewise.
1215
        * emultempl/linux.em (before_allocation): Likewise.
1216
        * emultempl/pe.em (before_allocation): Likewise.
1217
        * emultempl/sunos.em (before_allocation): Likewise.
1218
        * emultempl/elf32.em (before_allocation): Likewise.  Call
1219
        bfd_elf_size_dynsym_hash_dynstr too.
1220
        * emultempl/lnk960.em (lnk960_before_allocation): Delete.
1221
        (ld_lnk960): Use before_allocation_default.
1222
 
1223
2005-05-02  H.J. Lu  
1224
 
1225
        * emultempl/elf32.em (gld${EMULATION_NAME}_strip_empty_section):
1226
        Updated for bfd_section_list_remove change.
1227
        * ldlang.c (lang_insert_orphan): Likewise.
1228
        (strip_excluded_output_sections): Likewise.
1229
        (sort_sections_by_lma): New.
1230
        (lang_check_section_addresses): Sort the sections before
1231
        checking addresses.
1232
 
1233
2005-04-29  Ralf Corsepius 
1234
 
1235
        * configure.tgt: Add h8300*-*-rtemscoff.
1236
        Switch h8300*-*-rtems* to elf.
1237
 
1238
2005-04-29  Ben Elliston  
1239
 
1240
        * ldgram.y (lang_memory_region_type): Make static.
1241
        (ldgram_want_filename): Likewise.
1242
        * ldemul.c (ld_emulation): Make static.
1243
        * ldfile.h (ldfile_find_command_file): Remove extern.
1244
        * ldfile.c (ldfile_find_command_file): Make static.
1245
        * ldlang.h (unique_section_list): Remove extern declaration.
1246
        * ldlang.c (unique_section_list): Make static.
1247
        * mri.h (symbol_truncate): Remove extern declaration.
1248
        * mri.c (symbol_truncate): Make static.
1249
        (order, only_load, address, alias): Likewise.
1250
        (alignment, subalignment): Likewise.
1251
 
1252
2005-04-27  H.J. Lu  
1253
 
1254
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols):
1255
        Use the first SEC_ALLOC section which isn't SEC_READONLY or the
1256
        last SEC_ALLOC section if such a section doesn't exist.
1257
 
1258
2005-04-24  Mark Kettenis  
1259
 
1260
        * configure.host: Add *-*-openbsd support.
1261
 
1262
2005-04-15  Julian Brown  
1263
 
1264
        * ld.texinfo: Document --use-blx.
1265
        * emultempl/armelf.em (use_blx): New variable.
1266
        (arm_elf_create_output_section_statements): Communicate value of
1267
        use_blx to bfd.
1268
        (PARSE_AND_LIST_PROLOGUE): Add OPTION_USE_BLX.
1269
        (PARSE_AND_LIST_OPTIONS): Add --use-blx option.
1270
        (PARSE_AND_LIST_ARGS_CASES): Add OPTION_USE_BLX case.
1271
 
1272
2005-04-14  Alan Modra  
1273
 
1274
        * Makefile.am (NO_WERROR): Define.  Use instead of -Wno-error.
1275
        * configure.in: Include ../bfd/warning.m4 contents.
1276
        * Makefile.in: Regenerate.
1277
        * configure: Regenerate.
1278
 
1279
2005-04-12  Alan Modra  
1280
 
1281
        * Makefile.am: Run "make dep-am".
1282
        (ldgram.o, ldlex.o, deffilep.o): Add -Wno-error to command.
1283
        * Makefile.in: Regenerate.
1284
        * config.in: Regenerate.
1285
 
1286
2005-04-11  Alan Modra  
1287
 
1288
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed): Ignore
1289
        as_needed libs that were not needed.
1290
        (gld${EMULATION_NAME}_check_needed): Likewise.
1291
 
1292
2005-04-07  Nick Clifton  
1293
 
1294
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
1295
        ldfile.h can use the lang_input_statement type.
1296
 
1297
2005-04-06  Jakub Jelinek  
1298
 
1299
        * ldlang.c: Formatting.
1300
        (walk_wild_consider_section): Remember return value from wildcardp.
1301
        (is_simple_wild): Use strcspn instead of 2 strpbrk calls and strlen.
1302
        (wild_spec_can_overlap): Use strcspn instead of strpbrk and strlen.
1303
 
1304
2005-04-06  Robert O'Callahan  
1305
 
1306
        * ld.h (lean_section_userdata_type): Remove.
1307
        (fat_section_userdata_type): Remove file field.
1308
        (SECTION_USERDATA_SIZE): Remove.
1309
        * ldlang.c (init_os): Eliminate initialization of unused
1310
        lean_section_userdata_type.
1311
 
1312
        * ldlang.h (callback_t, walk_wild_section_handler_t): New
1313
        typedefs.
1314
        (struct lang_wild_statement_struct): Add walk_wild_section_handler
1315
        and handler_data fields.
1316
        * ldlang.c (callback_t): Removed.
1317
        (walk_wild_consider_section, walk_wild_section_general,
1318
        section_iterator_callback, find_section, is_simple_wild,
1319
        match_simple_wild, walk_wild_section_specs1_wild0,
1320
        walk_wild_section_specs1_wild1, walk_wild_section_specs2_wild1,
1321
        walk_wild_section_specs3_wild2, walk_wild_section_specs4_wild2,
1322
        wild_spec_can_overlap, analyze_walk_wild_section_handler): New
1323
        functions.
1324
        (lang_add_wild): Call analyze_walk_wild_section_handler.
1325
        (walk_wild_section): Renamed to walk_wild_section_general and
1326
        created a wrapper function.
1327
        (section_iterator_callback_data): New typedef.
1328
 
1329
2005-04-04  Nick Clifton  
1330
 
1331
        * configure.in: Add a check for  providing a prototype
1332
        for getopt() which is compatible with the one in
1333
        include/getopt.h.  If so then define HAVE_DECL_GETOPT.
1334
        * configure: Regenerate.
1335
        * config.in (HAVE_DECL_GETOPT): Add.
1336
        * ldemul.c: Include config.h
1337
        * lexsup.c: Likewise.
1338
        * emultempl/elf32.sc: Likewise.
1339
 
1340
2005-03-29  Alan Modra  
1341
 
1342
        * emultempl/elf32.em (gld${EMULATION_NAME}_layout_sections_again):
1343
        New function, extracted from static void gld${EMULATION_NAME}_finish.
1344
        (gld${EMULATION_NAME}_strip_empty_sections): Likewise.
1345
        (gld${EMULATION_NAME}_provide_init_fini_syms): Likewise.
1346
        * emultempl/ppc64elf.em: Revert last change.
1347
        (ppc_layout_sections_again): Use
1348
        gld${EMULATION_NAME}_layout_sections_again.
1349
        (ppc_finish): Don't call gld${EMULATION_NAME}_finish.  Instead call
1350
        gld${EMULATION_NAME}_strip_empty_sections and
1351
        gld${EMULATION_NAME}_provide_init_fini_syms.
1352
        * emultempl/hppaelf.em: Similarly.
1353
 
1354
2005-03-29  Alan Modra  
1355
 
1356
        * emultempl/ppc64elf.em (need_laying_out): Delete.  Remove all refs.
1357
        (ppc_finish): Don't call bfd_elf_discard_info.
1358
        * emultempl/hppaelf.em: Similarly.
1359
 
1360
2005-03-24  Nick Clifton  
1361
 
1362
        * po/fr.po: Updated French translation.
1363
 
1364
2005-03-23  Mike Frysinger  
1365
            Nick Clifton  
1366
 
1367
        * configure.host: Accept any C library to accompany a GNU Linux
1368
        implementation, not just the GNU C library.
1369
        * configure.tgt: Likewise.
1370
        * emultempl/elf32.em: Likewise.
1371
 
1372
2005-03-22  H.J. Lu  
1373
 
1374
        * emultempl/elf32.em (gld${EMULATION_NAME}_provide_bound_symbols): New
1375
        (gld${EMULATION_NAME}_finish): Call
1376
        gld${EMULATION_NAME}_provide_bound_symbols to provide
1377
        __preinit_array_start, __preinit_array_end, __init_array_start,
1378
        __init_array_end, __fini_array_start and __fini_array_end.
1379
 
1380
        * scripttempl/elf.sc: Don't provide __preinit_array_start,
1381
        __preinit_array_end, __init_array_start, __init_array_end,
1382
        __fini_array_start nor __fini_array_end.
1383
 
1384
2005-03-23  Alan Modra  
1385
 
1386
        * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
1387
        SEC_EXCLUDE on .gnu.warning sections.
1388
 
1389
2005-03-22  Alan Modra  
1390
 
1391
        * scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
1392
 
1393
2005-03-21  Alan Modra  
1394
 
1395
        * emultempl/ppc32elf.em (gld${EMULATION_NAME}_after_allocation): New
1396
        function.
1397
        (LDEMUL_AFTER_ALLOCATION): Define.
1398
 
1399
2005-03-21  Alan Modra  
1400
 
1401
        * emultempl/ppc64elf.em (ppc_finish): Rename from
1402
        gld${EMULATION_NAME}_finish.  Call gld${EMULATION_NAME}_finish.
1403
        (LDEMUL_FINISH): Update.
1404
        * emultempl/hppaelf.em (hppaelf_finish, LDEMUL_FINISH): Likewise.
1405
        * emultempl/m68hc1xelf.em (m68hc11elf_finish, LDEMUL_FINISH): Likewise.
1406
 
1407
2005-03-18  Julian Brown  
1408
 
1409
        * scripttempl/armbpapi.sc (.rel.dyn): Add .rel.init_array,
1410
        .rel.fini_array.
1411
        (.rela.dyn): Add .rela.init_array, .rela.fini_array.
1412
        (SECTIONS): Add .rel.other, .rela.other, .reli.other after PLT relocs.
1413
 
1414
2005-03-18  H.J. Lu  
1415
 
1416
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Don't set
1417
        bfd_section when removing unused empty output sections for
1418
        non-relocatable link.
1419
 
1420
2005-03-19  Alan Modra  
1421
 
1422
        * ldlang.c (lang_insert_orphan): Use old section_tail rather than
1423
        traversing the bfd section list to find pointer to new section.
1424
 
1425
2005-03-18  Alan Modra  
1426
 
1427
        * scripttempl/elf.sc: When CREATE_SHLIB, put .sdata2 and .sbss2
1428
        input sections into .sdata and .sbss output respectively.
1429
 
1430
2005-03-16  David Heine  
1431
            Bob Wilson  
1432
 
1433
        * ldlang.c (IGNORE_SECTION): Remove check for zero size.
1434
        (lang_check_section_addresses): Ignore zero size sections here.
1435
 
1436
2005-03-16  H.J. Lu  
1437
 
1438
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
1439
        unused empty output sections for non-relocatable link.
1440
 
1441
        * ld.h (args_type): Remove gc_sections.
1442
 
1443
        * ldlang.c (lang_mark_used_section): New.
1444
        (lang_gc_sections): Use link_info.gc_sections instead of
1445
        command_line.gc_sections.
1446
        * ldmain.c (main): Likewise.
1447
        * lexsup.c (parse_args): Likewise.
1448
        * ldlang.c (lang_process): Call lang_mark_used_section.
1449
 
1450
        * ldmain.c (main): Initialize link_info.gc_sections to FALSE.
1451
 
1452
2005-03-16  Nick Clifton  
1453
            Ben Elliston  
1454
 
1455
        * configure.in (werror): New switch: Add -Werror to the
1456
        compiler command line.  Enabled by default.  Disable via
1457
        --disable-werror.
1458
        * configure: Regenerate.
1459
 
1460
2005-03-16  Alan Modra  
1461
 
1462
        * emulparams/elf32ppclinux.sh (OTHER_READWRITE_SECTION): Delete.
1463
        (OTHER_RELRO_SECTIONS): Set this instead.
1464
 
1465
2005-03-15  Nick Clifton  
1466
 
1467
        * NEWS: Add cutoff for changes in 2.16 release.
1468
 
1469
2005-03-15  Mikkel Krautz  
1470
 
1471
        * configure.tgt (x86_64-elf): Add target.
1472
 
1473
2005-03-15  Alan Modra  
1474
 
1475
        * po/es.po: Commit new Spanish translation.
1476
 
1477
2005-03-14  Alan Modra  
1478
 
1479
        * ldexp.c (exp_fold_tree): Ensure return value is initialized.
1480
        Tidy etree_assert case.
1481
 
1482
2005-03-14  Alan Modra  
1483
 
1484
        * po/tr.po: Commit new Turkish translation.
1485
 
1486
2005-03-11  Daniel Jacobowitz  
1487
 
1488
        * Makefile.am: Remove references to em68klynx.o and esparclynx.o.
1489
        * Makefile.in: Regenerated.
1490
        * emulparams/m68klynx.sh, emulparams/sparclynx.sh: Remove.
1491
 
1492
2005-03-07  Nick Clifton  
1493
 
1494
        * po/fr.po: Updated translation.
1495
 
1496
2005-03-05  Alan Modra  
1497
 
1498
        * po/ld.pot: Regenerate.
1499
 
1500
2005-03-02  Jan Beulich  
1501
 
1502
        * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink.
1503
        * pe-dll.c (pe_dll_generate_implib): Likewise.
1504
 
1505
2005-02-24  Ben Elliston  
1506
 
1507
        * ldfile.c: Remove GNU960 conditional code.
1508
        * emultempl/gld960.em: Likewise.
1509
        * emultempl/gld960c.em: Likewise.
1510
        * emultempl/lnk960.em: Likewise.
1511
 
1512
2005-02-24  Nick Clifton  
1513
 
1514
        * emultempl/lnk960.em (lnk960_before_parse): Remove redundant
1515
        empty string from calls to concat.
1516
 
1517
2005-02-23  Nick Clifton  
1518
 
1519
        * emultempl/lnk960.em (lnk960_before_parse): Terminate list of
1520
        arguments passed to concat() with a NULL.
1521
 
1522
        * emultempl/m68kcoff.em: Include ldexp.h and ldlang.h because they
1523
        define types needed by ldfile.h
1524
 
1525
2005-02-23  Alan Modra  
1526
 
1527
        * pe-dll.c: Warning fixes.
1528
        * emultempl/sunos.em: Likewise.
1529
 
1530
2005-02-22  Daniel Jacobowitz  
1531
 
1532
        * ldlang.c (section_already_linked): Don't call
1533
        bfd_section_already_linked for dynamic objects.
1534
 
1535
2005-02-22  Alan Modra  
1536
 
1537
        * ldexp.c: Warning fixes.
1538
        * ldwrite.c: Likewise.
1539
        * emultempl/elf32.em: Likewise.
1540
 
1541
2005-02-21  H.J. Lu  
1542
 
1543
        * ldlang.c (lang_add_section): Check SEC_TIC54X_BLOCK for TI
1544
        tic54x input only.
1545
        (lang_size_sections_1): Check SEC_COFF_SHARED_LIBRARY for COFF
1546
        and ECOFF output only.
1547
 
1548
2005-02-21  Alan Modra  
1549
 
1550
        * config.in: Regenerate.
1551
        * configure: Regenerate.
1552
 
1553
2005-02-17  Zack Weinberg  
1554
 
1555
        * ldexp.c (assigning_to_dot): New global flag.
1556
        (fold_name): If assigning_to_dot is true, object immediately to
1557
        an undefined symbol.
1558
        (exp_fold_tree): Set and clear assigning_to_dot around the
1559
        recursive call to exp_fold_tree to process the right-hand side
1560
        of an assignment to the location counter.
1561
 
1562
2005-02-17  Paul Brook  
1563
 
1564
        * scripttempl/armbpabi.sc: Add dummy name to version block.
1565
 
1566
2005-02-17  Alan Modra  
1567
 
1568
        * ldexp.c (new_abs): Init new.str.
1569
 
1570
2005-02-15  Mark Mitchell  
1571
 
1572
        * configure.in (AC_CHECK_FUNCS): Add glob.
1573
        * configure: Regenerated.
1574
        * emultempl/elf32.em (): Do not include if HAVE_GLOB is
1575
        not defined.
1576
        (gld${EMULATION_NAME}_parse_ld_so_conf_include): Do not use glob
1577
        if HAVE_GLOB is not defined.
1578
 
1579
2005-02-16  Kaz Kojima  
1580
 
1581
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
1582
        lib_path if NATIVE is yes.
1583
 
1584
2005-02-16  Alan Modra  
1585
 
1586
        * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
1587
        an error creating fake bfd fatal.
1588
        (ppc_before_allocation): Continue on after errors.
1589
        (gld${EMULATION_NAME}_finish): Likewise.
1590
 
1591
2005-02-15  Nick Clifton  
1592
 
1593
        * ldlex.l (YY_NO_UNPUT): Define so that the yy_unput function is
1594
        not declared.  It is not used and its presence causes a compile
1595
        time warning.
1596
 
1597
2005-02-11  Zack Weinberg  
1598
 
1599
        * emultempl/elf32.em (gld${EMULATION_NAME}_stat_needed):
1600
        If st.st_ino is zero, do not treat the library as a duplicate.
1601
 
1602
2005-02-10  Jakub Jelinek  
1603
 
1604
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1605
        Set BFD_LINKER_CREATED on the stubs bfd.
1606
        * emultempl/ppc64elf.em (ppc_create_output_section_statements):
1607
        Likewise.
1608
 
1609
2005-02-08  Mark Mitchell  
1610
 
1611
        * scripttempl/armbpabi.sc (VERSION): Make special section symbols
1612
        local.
1613
        (Image$$ER_RO$$Base): Define whenever RELOCATING.
1614
        (Image$$ER_RO$$Limit): Likewise.
1615
        (SHT$$INIT_ARRAY$$Base): Likewise.
1616
        (SHT$$INIT_ARRAY$$Limit): Likeise.
1617
 
1618
2005-02-10  Ben Elliston  
1619
 
1620
        * emultempl/beos.em: Remove #if 0 and #if 1 blocks.
1621
 
1622
2005-02-08  Richard Sandiford  
1623
 
1624
        * configure.tgt (mips64*el-*-linux-gnu*): Define targ_extra_libpath
1625
        to include o32 and n64 emulations.
1626
        (mips64*-*-linux-gnu*): Likewise.
1627
 
1628
2005-02-08  Hans-Peter Nilsson  
1629
 
1630
        * ldmain.c (warning_callback, warning_find_reloc): Prepend
1631
        "warning: " to warning messages.
1632
 
1633
2005-02-04  Alan Modra  
1634
 
1635
        * emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment): Don't
1636
        look up symbol for etree_provide here.
1637
 
1638
2005-02-02  Daniel Jacobowitz  
1639
 
1640
        * emulparams/elf32bmip.sh (TEXT_DYNAMIC): Always set.
1641
 
1642
2005-02-01  Edward Welbourne  
1643
            Nick Clifton  
1644
 
1645
        * ld.texinfo (Source Code Reference): New node describing how to
1646
        access linker script defined variables from source code.
1647
 
1648
2005-02-01  Alan Modra  
1649
 
1650
        * ld.texinfo: Clarify --as-needed operation.
1651
 
1652
2005-01-31  Andrew Cagney  
1653
 
1654
        * configure: Regenerate to track ../gettext.m4.
1655
 
1656
2005-01-31  Nick Clifton  
1657
 
1658
        * ldver.c (ldversion): Bump reported copyright date to 2005.
1659
 
1660
2005-01-31  Nick Clifton  
1661
 
1662
        * configure.tgt: Remove obsolete targets m68k-lynxos and
1663
        sparc-lynxos.
1664
 
1665
2005-01-28  Julian Brown  
1666
 
1667
        * emultempl/armelf.em (fix_v4bx): New variable.
1668
        (arm_elf_create_output_section_statements): Communicate fix_v4bx flag
1669
        value to bfd.
1670
        (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_FIX_V4BX.
1671
        (PARSE_AND_LIST_LONGOPTS): Add option --fix-v4bx.
1672
        (PARSE_AND_LIST_OPTIONS): Add option --fix-v4bx.
1673
        (PARSE_AND_LIST_ARGS_CASES): Add option OPTION_FIX_V4BX.
1674
        * NEWS: Mention --fix-v4bx.
1675
        * ld.texinfo: Document --fix-v4bx.
1676
 
1677
2005-01-25  Mark Mitchell  
1678
 
1679
        * emulparams/armsymbian.sh (OTHER_READONLY_SECTIONS): Define, so
1680
        as to include .ARM.exidx$${Base,Limit}.
1681
        * ld/scripttempl/armbpabi.sc: Move .plt to end of text segment.
1682
        Define IMAGE$$ER_RO$${Base,Limit} and SHT$$INIT_ARRAY$${Base,Limit}.
1683
        Put .init_array, .fini_array, etc. into the read-only data
1684
        segment.
1685
 
1686
2005-01-25  Alan Modra  
1687
 
1688
        * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Formatting.
1689
        (gld${EMULATION_NAME}_after_open): Ignore needed libs if they were
1690
        only needed by an as-needed lib that didn't get linked.
1691
 
1692
2005-01-23  Alan Modra  
1693
 
1694
        * ld.texinfo (Output Section Keywords ): Correct
1695
        __DTOR_LIST__ description.
1696
 
1697
2005-01-23  Alan Modra  
1698
 
1699
        * ld.texinfo (Location Counter ): Document
1700
        effects of orphan section placement, and ". = ." workaround.
1701
        * Makefile.in: Regenerate.
1702
 
1703
2005-01-22  Richard Sandiford  
1704
 
1705
        * emulparams/elf32bmip.sh (OTHER_GOT_SECTIONS): Add ". = .;".
1706
        * emulparams/elf32bmipn32-defs.sh (OTHER_GOT_SECTIONS): Likewise.
1707
 
1708
2005-01-21  Jakub Jelinek  
1709
 
1710
        * ldgram.y (AS_NEEDED): New token.
1711
        (input_list): Handle AS_NEEDED ( input_list ).
1712
        * ldlex.l (AS_NEEDED): Add.
1713
        * ld.texinfo: Document AS_NEEDED ().
1714
        * NEWS: Mention AS_NEEDED ().
1715
 
1716
2005-01-21  Ben Elliston  
1717
 
1718
        * ldlang.c (lang_reasonable_defaults): Remove.
1719
        (lang_process): Don't call lang_reasonable_defaults.
1720
 
1721
        * ldexp.c (exp_assop): Remove #if 0'd code.
1722
        (exp_print_tree): Likewise.
1723
        * ldlang.c (lang_memory_region_lookup): Likewise.
1724
        (open_output): Likewise.
1725
        (lang_do_assignments_1): Likewise.
1726
        (lang_place_orphans): Likewise.
1727
        (lang_enter_output_section_statement): Likewise.
1728
        (lang_reasonable_defaults): Likewise.
1729
        * ldlang.h (struct lang_input_statement_struct): Likewise.
1730
        * mri.c (mri_draw_tree): Likewise.
1731
        (mri_load): Likewise.
1732
        * pe-dll.c (generate_reloc): Likewise.
1733
        (make_import_fixup_entry): Likewise.
1734
        (pe_as16): Likewise.
1735
        * emultempl/beos.em (set_pe_subsystem): Likewise.
1736
        * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
1737
        * emultempl/pe.em: Likewise.
1738
        * emultempl/xtensaelf.em (xtensa_colocate_literals): Likewise.
1739
 
1740
2005-01-20  Daniel Jacobowitz  
1741
 
1742
        * Makefile.am (ALL_EMULATIONS): Add earmelfb_linux_eabi.o.
1743
        (earmelfb_linux_eabi.c): New target.
1744
        * Makefile.in: Regenerated.
1745
        * configure.tgt (arm*b-*-linux-gnueabi): New target.
1746
        * emulparams/armelfb_linux_eabi.sh: New file.
1747
 
1748
2005-01-20  Nick Hudson  
1749
 
1750
        PR ld/676
1751
        * emultempl/hppaelf.em (hppaelf_create_output_section_statements):
1752
        Handle bfd_elf32_hppa_nbsd_vec.
1753
 
1754
2005-01-19  Richard Sandiford  
1755
 
1756
        * ldmain.h (ld_sysroot): Change type to a constant string.
1757
        * ldmain.c (ld_sysroot): Likewise.
1758
        (get_relative_sysroot, get_sysroot): New functions, adding command-line
1759
        support for changing the sysroot.
1760
        (main): Call the new functions.
1761
        * lexsup.c (OPTION_SYSROOT): New.
1762
        (ld_options): Add --sysroot.
1763
        (parse_args): Add a dummy handler for it.
1764
        * ld.texinfo (--sysroot): Document.
1765
        * NEWS: Mention the new --sysroot option.
1766
 
1767
2005-01-18  Alan Modra  
1768
 
1769
        * ldlang.c (section_already_linked): Adjust bfd_link_just_syms call.
1770
        (lang_place_orphans): Don't abort on just_syms_flag, instead call
1771
        bfd_link_just_syms.
1772
 
1773
2005-01-16  Danny Smith  
1774
 
1775
        * defilep.y (def_name, def_library): Combine into...
1776
        (def_image_name): New function.  Strip name to basename,
1777
        with warning.
1778
 
1779
2005-01-12  Mark Kettenis  
1780
 
1781
        * configure.in: Be sure to invoke config.sub using the shell.
1782
        * configure: Regenerate.
1783
 
1784
2005-01-11  Alan Modra  
1785
 
1786
        * configure.host: Correct sed patterns for last change.
1787
 
1788
2005-01-10  Nick Clifton  
1789
 
1790
        PR binutils/609
1791
        * ldmisc.c (vfinfo): Add an extra argument: is_warning.  Use this
1792
        to determine whether config.make_executable should be set to FALSE in
1793
        conjunction with config.fatal_warnings.
1794
        (info_msg, minfo, lfinof): Pass FALSE as the extra argument.
1795
        (einfo): Pass TRUE as the extra argument.
1796
 
1797
2005-01-10  Greg Schaffer  
1798
 
1799
        * configure.host (linux targets): Use "${CC} -dumpspecs" instead
1800
        of "${CC} --print-file-name=specs" to appease GCC versions >= 4.0.
1801
        (ia64-*-aix): Delete - this target is obsolete, and would be
1802
        broken by this patch.
1803
 
1804
2005-01-06  Eric Botcazou  
1805
 
1806
        * configure.host (sparc*-*-solaris2*): Rename into sparc-*-solaris2*.
1807
        (sparc64-sun-solaris2*): New host.
1808
 
1809
2005-01-06  Paul Brook  
1810
 
1811
        * Makefie.am: Add earmelf_vxworks.
1812
        * Makefile.in: Regenerate.
1813
        * configure.tgt: Make arm-*-vxworks a separate case.
1814
        * emulparams/armelf_vxworks.sh: New function.
1815
 
1816
2005-01-06  Alan Modra  
1817
 
1818
        * emultempl/ppc64elf.em (no_multi_toc): New var.
1819
        (gld${EMULATION_NAME}_finish): Pass to ppc64_elf_setup_section_lists.
1820
        (OPTION_NO_MULTI_TOC): Define.
1821
        (PARSE_AND_LIST_LONGOPTS): Add --no-multi-toc support.
1822
        (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
1823
 
1824
2005-01-05  Nick Clifton  
1825
 
1826
        PR binutils/614
1827
        * ldmisc.c (vfinfo): Alter output to conform to the GNU Coding
1828
        Standard's specification for parsable error messages.
1829
 
1830
2005-01-04  Paul Brook  
1831
 
1832
        * Makefile.am: Correct dependency for earmsymbian.c.
1833
        * Makefile.in: Regenerate.
1834
 
1835
For older changes see ChangeLog-2004
1836
 
1837
Local Variables:
1838
mode: change-log
1839
left-margin: 8
1840
fill-column: 74
1841
version-control: never
1842
End:

powered by: WebSVN 2.1.0

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