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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [ChangeLog] - Blame information for rev 208

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

Line No. Rev Author Line
1 205 julius
2010-02-10  Richard Sandiford  
2
 
3
        * Makefile.am (CFILES): Add ldlex-wrapper.c.
4
        (OFILES): Replace ldlex.c with ldlex-wrapper.c.
5
        (ldlex.o): Replace with...
6
        (ldlex-wrapper.o): ...this new rule.
7
        (EXTRA_ld_new_SOURCES): Add ldlex.l.
8
        (ld_new_SOURCES): Replace ldlex.l with ldlex-wrapper.c.
9
        * Makefile.in: Regenerate.
10
        * ldlex.l (sysdep.h): Don't include here.
11
        * ldlex-wrapper.c: New file.
12
 
13
2010-01-08  Alan Modra  
14
 
15
        PR 11107
16
        * emultempl/vxworks.em: Expand tr arguments to suit non-GNU tr.
17
 
18
2009-12-17  Dave Korn  
19
 
20
        * pe-dll.c (generate_reloc): Take account of wrapper options when
21
        testing if a weak symbol is defined or not, and when it is not,
22
        consider whether the default value requires a base reloc anyway.
23
 
24
2009-12-09  Alan Modra  
25
 
26
        PR ld/11012
27
        * emulparams/elf64ppc.sh (OTHER_GOT_RELOC_SECTIONS): Move .rela.opd ..
28
        (INITIAL_RELOC_SECTIONS): .. to here.  New define.
29
        * scripttempl/elf.sc: Expand INITIAL_RELOC_SECTIONS.
30
 
31
2009-10-14  Andreas Schwab  
32
 
33
        * ldlex.l (yy_input): Remove second argument and return the value
34
        instead.
35
        (YY_INPUT): Adjust.
36
 
37
2009-10-14  Ryan Mansfield  
38
 
39
        * ldlang.c (load_symbols): Set whole_archive from entry when
40
        parsing a linker script.
41
 
42
2009-10-09  Alan Modra  
43
 
44
        PR ld/10749
45
        * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.
46
        * scripttempl/elf32cr16.sc: Revert 2009-09-28 change.
47
        * scripttempl/elf32cr16c.sc: Likewise.
48
        * scripttempl/elf32crx.sc: Likewise.
49
        * scripttempl/tic54xcoff.sc: Likewise.
50
        * scripttempl/aix.sc: Likewise.
51
        * scripttempl/avr.sc: Likewise.
52
        * scripttempl/elf32msp430.sc: Likewise.
53
        * scripttempl/elf32msp430_3.sc: Likewise.
54
        * scripttempl/elf32sh-symbian.sc: Likewise.
55
        * scripttempl/elf_chaos.sc: Likewise.
56
        * scripttempl/elfi370.sc: Likewise.
57
        * scripttempl/nw.sc: Likewise.
58
        * scripttempl/psos.sc: Likewise.
59
        * scripttempl/armbpabi.sc: Likewise.
60
        * scripttempl/elf.sc: Likewise.
61
        * scripttempl/elf64hppa.sc: Likewise.
62
        * scripttempl/elfd10v.sc: Likewise.
63
        * scripttempl/elfd30v.sc: Likewise.
64
        * scripttempl/elfm68hc11.sc: Likewise.
65
        * scripttempl/elfm68hc12.sc: Likewise.
66
        * scripttempl/elfmicroblaze.sc: Likewise.
67
        * scripttempl/elfxtensa.sc: Likewise.
68
        * scripttempl/iq2000.sc: Likewise.
69
        * scripttempl/mep.sc: Likewise.
70
        * scripttempl/xstormy16.sc: Likewise.
71
 
72
2009-10-03  Alan Modra  
73
 
74
        * emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
75
        (ppc_after_open): Set emit_stubs_syms by default when shared.
76
        (OPTION_NO_STUBSYMS): Define.
77
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
78
        PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
79
        * emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
80
        (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
81
        (OPTION_NO_STUBSYMS): Define.
82
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
83
        PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
84
 
85
2009-09-30  Matthias Klose  
86
 
87
        PR ld/9863
88
        * emulparams/armelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE
89
        with __data_start.
90
 
91
2009-09-29  Joel Sherrill 
92
 
93
        * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
94
        (rts).
95
 
96
2009-09-29  Alan Modra  
97
 
98
        * ldlang.c (lang_size_sections_1): Allow scripts to specify a
99
        non-zero vma even when relocatable.
100
 
101
2009-09-28  Alan Modra  
102
 
103
        * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
104
        * scripttempl/elf32cr16c.sc: Likewise.
105
        * scripttempl/elf32crx.sc: Likewise.
106
        * scripttempl/tic54xcoff.sc: Likewise.
107
        * scripttempl/aix.sc: Delete ${RELOCATING-0}.
108
        * scripttempl/avr.sc: Likewise.
109
        * scripttempl/elf32msp430.sc: Likewise.
110
        * scripttempl/elf32msp430_3.sc: Likewise.
111
        * scripttempl/elf32sh-symbian.sc: Likewise.
112
        * scripttempl/elf_chaos.sc: Likewise.
113
        * scripttempl/elfi370.sc: Likewise.
114
        * scripttempl/nw.sc: Likewise.
115
        * scripttempl/psos.sc: Likewise.
116
        * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
117
        * scripttempl/elf.sc: Likewise.
118
        * scripttempl/elf64hppa.sc: Likewise.
119
        * scripttempl/elfd10v.sc: Likewise.
120
        * scripttempl/elfd30v.sc: Likewise.
121
        * scripttempl/elfm68hc11.sc: Likewise.
122
        * scripttempl/elfm68hc12.sc: Likewise.
123
        * scripttempl/elfmicroblaze.sc: Likewise.
124
        * scripttempl/elfxtensa.sc: Likewise.
125
        * scripttempl/iq2000.sc: Likewise.
126
        * scripttempl/mep.sc: Likewise.
127
        * scripttempl/xstormy16.sc: Likewise.
128
 
129
2009-09-27  Christopher Faylor  
130
 
131
        PR ld/10634
132
        * ldlang.c (lang_size_sections_1): Always force output vma to zero for
133
        relocatable sections.
134
        (lang_size_sections_1): Revert previous COFF-only accommodation for
135
        relocatable sections.
136
 
137
2009-09-23  Nick Clifton  
138
 
139
        * po/vi.po: Updated Vietnamese translation.
140
 
141
2009-09-21  Alan Modra  
142
 
143
        * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
144
        (ppc_before_allocation): Pass to ppc_elf_tls_setup.
145
        (OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
146
        terms of previous option.
147
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
148
        --no-tls-get-addr-optimize.
149
        (PARSE_AND_LIST_ARGS_CASES): Handle it.
150
        * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
151
        (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
152
        (OPTION_NO_TLS_GET_ADDR_OPT): Define.
153
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
154
        --no-tls-get-addr-optimize.
155
        (PARSE_AND_LIST_ARGS_CASES): Handle it.
156
 
157
2009-09-18  Nick Clifton  
158
 
159
        * po/es.po: Updated Spanish translation.
160
 
161
2009-09-13  Alan Modra  
162
 
163
        PR ld/6766
164
        * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
165
        * ldemul.c (after_parse_default): Add entry symbol as undef.
166
        * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
167
        * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
168
        * emultempl/crxelf.em (crxelf_after_parse): Likewise.
169
        * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
170
        * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
171
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
172
        after_parse_default and delete now duplicate code.
173
        * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
174
        * scripttempl/elf32cr16.sc: No need to make entry extern.
175
        * scripttempl/elf32cr16c.sc: Likewise.
176
        * scripttempl/elf32crx.sc: Likewise.
177
        * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
178
 
179
2009-09-11  Nick Clifton  
180
 
181
        * po/ld.pot: Updated by the Translation project.
182
        * po/fi.po: Updated Finnish translation.
183
 
184
2009-09-11  Martin Thuresson  
185
 
186
        Updated sources to compile cleanly with -Wc++-compat:
187
        * ld.h (enum endian_enum,enum symbolic_enum,enum
188
        dynamic_list_enum): Move to top level.
189
        * ldcref.c: Add casts.
190
        * ldctor.c: Add casts.
191
        * ldexp.c
192
        * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
193
        * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
194
        of integer.
195
        * ldlang.h (enum statement_enum): Move to top level.
196
        * ldmain.c: Add casts.
197
        * ldwrite.c: Add casts.
198
        * lexsup.c: Add casts. (enum control_enum): Move to top level.
199
        * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
200
        integer.
201
 
202
2009-09-09  Alan Modra  
203
 
204
        * scripttempl/aix.sc: Only provide ENTRY on final link.
205
        * scripttempl/alpha.sc: Likewise.
206
        * scripttempl/armcoff.sc: Likewise.
207
        * scripttempl/crisaout.sc: Likewise.
208
        * scripttempl/delta68.sc: Likewise.
209
        * scripttempl/ebmon29k.sc: Likewise.
210
        * scripttempl/elf32xc16x.sc: Likewise.
211
        * scripttempl/elf32xc16xl.sc: Likewise.
212
        * scripttempl/elfmicroblaze.sc: Likewise.
213
        * scripttempl/epocpe.sc: Likewise.
214
        * scripttempl/h8300.sc: Likewise.
215
        * scripttempl/h8300h.sc: Likewise.
216
        * scripttempl/h8300hn.sc: Likewise.
217
        * scripttempl/h8300s.sc: Likewise.
218
        * scripttempl/h8300sn.sc: Likewise.
219
        * scripttempl/h8300sx.sc: Likewise.
220
        * scripttempl/h8300sxn.sc: Likewise.
221
        * scripttempl/hppaelf.sc: Likewise.
222
        * scripttempl/i386beos.sc: Likewise.
223
        * scripttempl/i386coff.sc: Likewise.
224
        * scripttempl/i386go32.sc: Likewise.
225
        * scripttempl/m68kaux.sc: Likewise.
226
        * scripttempl/m68klynx.sc: Likewise.
227
        * scripttempl/m88kbcs.sc: Likewise.
228
        * scripttempl/maxqcoff.sc: Likewise.
229
        * scripttempl/mcorepe.sc: Likewise.
230
        * scripttempl/mips.sc: Likewise.
231
        * scripttempl/ppcpe.sc: Likewise.
232
        * scripttempl/sa29200.sc: Likewise.
233
        * scripttempl/sparccoff.sc: Likewise.
234
        * scripttempl/sparclynx.sc: Likewise.
235
        * scripttempl/tic4xcoff.sc: Likewise.
236
        * scripttempl/tic54xcoff.sc: Likewise.
237
        * scripttempl/tic80coff.sc: Likewise.
238
        * scripttempl/z8000.sc: Likewise.
239
 
240
2009-09-07  Tristan Gingold  
241
 
242
        * po/ld.pot: Regenerate.
243
 
244
2009-09-05  Martin Thuresson  
245
 
246
        * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
247
        gld${EMULATION_NAME}_try_needed): Rename variable class to
248
        link_class.
249
 
250
2009-09-04  Tristan Gingold  
251
 
252
        * NEWS: Add marker for 2.20.
253
 
254
2009-09-04  Alan Modra  
255
 
256
        * scripttempl/elf.sc (.text): Add cold text sections.
257
 
258
2009-09-04  Jie Zhang  
259
 
260
        * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
261
        and .l2.data.
262
 
263
2009-09-03  Dave Korn  
264
 
265
        * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
266
        new GCC hot/cold/unlikely partitions.
267
        * scripttempl/pep.sc: Likewise.
268
        * scripttempl/epocpe.sc: Likewise.
269
        * scripttempl/mcorepe.sc: Likewise.
270
        * scripttempl/ppcpe.sc: Likewise.
271
 
272
2009-09-01  Ralf Wildenhues  
273
 
274
        * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
275
        source file name for generated files which may be in $(srcdir).
276
        * Makefile.in: Regenerate.
277
 
278
2009-09-01  H.J. Lu  
279
 
280
        * ldver.c (ldversion): Change to "Copyright 2009".
281
 
282
2009-09-01  Jie Zhang  
283
 
284
        * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
285
        _stack and __bss_start.
286
        * emulparams/bfin.sh (ENTRY): Remove.
287
 
288
2009-08-30  Alan Modra  
289
 
290
        PR ld/10569
291
        * ldexp.c (fold_name ): Return config.maxpagesize.
292
        (fold_name ): Similarly.
293
        * ldlang.c (output_target): Make global.
294
        * ldlang.h (output_target): Declare.
295
        * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
296
        Similarly for config.commonpagesize.
297
        * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
298
        and bfd_emul_set_commonpagesize.
299
        * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
300
        bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
301
 
302
2009-08-29  Martin Thuresson  
303
 
304
        * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
305
        (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
306
        to new_e.
307
        * ldfile.c (ldfile_add_library_path): Rename variable new to
308
        new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
309
        * ldlang.c (new_statement, lang_final, lang_add_wild)
310
        (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
311
        (lang_add_insert): Rename variable new to new_stmt. (new_afile):
312
        Added missing cast. (lang_memory_region_lookup): Rename variable
313
        new to new_region. (init_os): Rename variable new to
314
        new_userdata. (lang_add_section): Rename variable new to
315
        new_section. (ldlang_add_undef): Rename variable new to
316
        new_undef. (realsymbol): Rename variable new to new_name.
317
 
318
2009-08-26  Nick Clifton  
319
 
320
        PR ld/10555
321
        * emultempl/elf32.em (_after_open): Do not create a
322
        .note.gnu-build-id section if there are no input files.
323
 
324
2009-08-24  Nick Clifton  
325
 
326
        * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
327
        .gnu.lto_ prefix.
328
        * scripttempl/armbpabi.sc: Likewise.
329
        * scripttempl/elf32sh-symbian.sc: Likewise.
330
        * scripttempl/elf64hppa.sc: Likewise.
331
        * scripttempl/mep.sc: Likewise.
332
 
333
2009-08-24  Ralf Wildenhues  
334
 
335
        * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
336
        rules.
337
        (eelf32_spu.o): Add dependency tracking.
338
        * Makefile.in: Regenerate.
339
 
340
        * Makefile.am (am__skiplex, am__skipyacc): New.
341
        * Makefile.in: Regenerate.
342
 
343
2009-08-22  Ralf Wildenhues  
344
 
345
        * Makefile.am (bin_PROGRAMS): Renamed from ...
346
        (noinst_PROGRAMS): ... this.
347
        (transform): Override, including the renaming of ld-new to ld.
348
        (install-exec-local): Installation of ld in $(bindir) not needed
349
        here any more.
350
        (AM_CPPFLAGS): Renamed from ...
351
        (INCLUDES): ... this.
352
        (MAINTAINERCLEANFILES): Add ld.1.
353
        * Makefile.in: Regenerate.
354
 
355
        * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus.  Add
356
        no-texinfo.tex, no-dist, foreign.
357
        (TEXINFO_TEX): New variable.
358
        (install-data-local): Removed, not needed any more.
359
        (all): Dependencies upon info and ld.1 not needed any more.
360
        (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
361
        (mkdep generated section): Removed.
362
        (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
363
        use automake dependency tracking mechanism.
364
        (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
365
        $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
366
        dependencies are tracked too.
367
        (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
368
        are built early.
369
        * configure.in: Use AM_MAINTAINER_MODE.
370
        * aclocal.m4, configure, Makefile.in: Regenerate.
371
 
372
        * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
373
        (install-pdf-recursive, html__strip_dir, install-html)
374
        (install-html-am, install-html-recursive): Remove.
375
        * Makefile.in: Regenerate.
376
 
377
        * Makefile.in: Regenerate.
378
        * aclocal.m4: Likewise.
379
        * config.in: Likewise.
380
        * configure: Likewise.
381
 
382
2009-08-21  Richard Guenther  
383
 
384
        * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
385
 
386
2009-08-12  Tristan Gingold  
387
 
388
        * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
389
        * ldlang.c (hash_entry_addr_cmp): New function.
390
        (print_all_symbols): Sort the symbols by address before printing them.
391
 
392
2009-08-10  Alan Modra  
393
 
394
        PR 10474
395
        * ldemul.c (after_allocation_default): Run lang_relax_sections.
396
        * ldlang.h (lang_relax_sections): Declare.
397
        * ldlang.c (relax_sections): Delete.
398
        (lang_relax_sections): New function.
399
        (lang_process): Don't relax directly from here.
400
        * emultempl/alphaelf.em (alpha_finish): Call finish_default.
401
        * emultempl/armelf.em (arm_elf_after_allocation): Delete.  Move body..
402
        (gld${EMULATION_NAME}_finish): ..to here.  Move existing code..
403
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
404
        (LDEMUL_AFTER_ALLOCATION): Update.
405
        * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
406
        (avr_elf_after_allocation): New function.
407
        (LDEMUL_AFTER_ALLOCATION): Define.
408
        * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
409
        lang_relax_sections.
410
        * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete.  Move..
411
        (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
412
        (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
413
        * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
414
        (gld${EMULATION_NAME}_after_allocation): ..code to here.  New function.
415
        (LDEMUL_FINISH): Delete.
416
        (LDEMUL_AFTER_ALLOCATION): Define.
417
        * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete.  Move..
418
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
419
        (LDEMUL_FINISH): Delete.
420
        (LDEMUL_AFTER_ALLOCATION): Define.
421
        * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete.  Move..
422
        (m68hc11elf_after_allocation): ..to here.  New function.
423
        (LDEMUL_FINISH): Delete.
424
        (LDEMUL_AFTER_ALLOCATION): Define.
425
        * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
426
        gld${EMULATION_NAME}_after_allocation.
427
        * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
428
        gld${EMULATION_NAME}_after_allocation.
429
        * emultempl/mmo.em (mmo_finish): Delete.  Move body..
430
        (gld${EMULATION_NAME}_after_allocation): ..to here.  New function.
431
        (LDEMUL_FINISH): Define.
432
        * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
433
        (gld${EMULATION_NAME}_finish): Move code sizing sections..
434
        (gld${EMULATION_NAME}_after_allocation): ..to here.
435
        * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
436
        Call gld${EMULATION_NAME}_after_allocation.
437
        * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
438
        bfd_elf_discard_info and map_segments call.
439
 
440
2009-08-06  Michael Eager 
441
 
442
        * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
443
        ALL_EMULATIONS, targets.
444
        * Makefile.in: Regenerate.
445
        * configure.tgt: Add microblaze*-linux*, microblaze* targets.
446
        * emulparams/elf32mb_linux.sh: New.
447
        * emulparams/elf32microblaze.sh. New.
448
        * scripttempl/elfmicroblaze.sc: New.
449
 
450
2009-08-05  Trevor Smigiel  
451
 
452
        * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
453
        section and __fixup_start symbol.
454
        * emultempl/spuelf.em (params): Initialize emit_fixups member.
455
        (spu_before_allocation): Call spu_elf_size_sections.
456
        (OPTION_SPU_EMIT_FIXUPS): Define.
457
        (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
458
        (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
459
        * ld.texinfo (--emit-fixups): Document.
460
 
461
2009-08-04  Alan Modra  
462
 
463
        PR 10474
464
        * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
465
        not size, after lang_reset_memory_regions.
466
 
467
2009-07-30  Alan Modra  
468
 
469
        * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
470
        * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
471
        * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
472
        * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
473
        when !IREL_IN_PLT.
474
 
475
2009-07-29  Hans-Peter Nilsson  
476
 
477
        * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
478
        the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
479
        (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
480
        (ENTRY): Don't emit for relocateable links.
481
        (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
482
        * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
483
        elf64-mmix.
484
        * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
485
        provide "Main" or set "_start.", for relocateable links.
486
 
487
2009-07-27  Nick Clifton  
488
 
489
        * (po/fi.po): Updated Finnish translation.
490
 
491
2009-07-25  H.J. Lu  
492
 
493
        * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
494
        is supported.  Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
495
        (targ_extra_emuls): Likewise.
496
 
497
        * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
498
        eelf_l1om_fbsd.o
499
        (eelf_l1om.c): New.
500
        (eelf_l1om_fbsd.c): Likewise.
501
        * Makefile.in: Regenerated.
502
 
503
        * emulparams/elf_l1om.sh: New.
504
        * emulparams/elf_l1om_fbsd.sh: Likewise.
505
 
506
2009-07-23  Ulrich Drepper  
507
 
508
        * NEWS: Mention the linker's support for symbols with a binding of
509
        STB_GNU_UNIQUE.
510
 
511
2009-07-22  H.J. Lu  
512
 
513
        PR ld/10429
514
        * ldlang.c (insert_os_after): Tie assignments to non-alloc
515
        output sections if there is no-input section.
516
 
517
2009-07-11  Alan Modra  
518
 
519
        * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
520
        output sections.
521
 
522
2009-07-10  Alan Modra  
523
 
524
        * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
525
        linker relaxation if it might be necessary.
526
 
527
2009-07-10  Alan Modra  
528
 
529
        * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
530
 
531
2009-07-06  Matthias Klose 
532
 
533
        * ld.texinfo: Fix typo.
534
 
535
2009-07-03  Tristan Gingold  
536
 
537
        * scripttempl/pep.sc: Put .eh_frame in its own section.
538
        * scripttempl/pe.sc: Ditto.
539
 
540
2009-06-26  Kai Tietz  
541
 
542
        * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
543
        * scripttempl/pep.sc: Likewise.
544
 
545
2009-06-25  Tristan Gingold  
546
 
547
        * ldlang.c (print_input_section): Add is_discarded parameter.  Adjust
548
        prototype.
549
        (lang_map): Print the size of discarded sections.
550
        (print_statement): Adjust call to print_input_section.
551
 
552
2009-06-18  Dave Korn  
553
 
554
        Merge cegcc and mingw32ce target name changes from CeGCC project:
555
 
556
        2008-09-24  Pedro Alves  
557
 
558
        * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
559
        ${tooldir}/lib/w32api.
560
 
561
        2007-12-25  Pedro Alves  
562
 
563
        * configure.tgt: Add arm*-*-cegcc* target.
564
 
565
        2007-12-17  Pedro Alves  
566
 
567
        * configure.tgt: Add arm-*-mingw32ce* target.
568
 
569
2009-06-10  Philip Blundell  
570
 
571
        * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
572
        if section has no ELF data.
573
 
574
2009-06-06  H.J. Lu  
575
 
576
        * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
577
 
578
2009-06-05  H.J. Lu  
579
 
580
        * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
581
 
582
2009-06-04  Alan Modra  
583
 
584
        * dep-in.sed: Don't use \n in replacement part of s command.
585
        * Makefile.am (DEP1): LC_ALL for uniq.
586
        * Makefile.in: Regenerate.
587
 
588
2009-06-01  H.J. Lu  
589
 
590
        * scripttempl/elf.sc (PLT): Add "*(.iplt)".
591
        (GOT): Add "*(.igot.plt)a" and "*(.igot)".
592
        (GOTPLT): Add "*(.igot)".
593
        (__rel_iplt_start): New.
594
        (__rel_iplt_end): Likewise.
595
        (__rela_iplt_start): Likewise.
596
        (__rela_iplt_end): Likewise.
597
 
598
2009-05-27  Dave Korn  
599
 
600
        * deffilep.y (%union):  Add new string-type semantic value 'digits'.
601
        (%token):  Remove NUMBER as token, add DIGITS.
602
        (%type):  Add NUMBER as type.  Add new id types anylang_id, opt_id.
603
        (ALIGNCOMM):  Parse an anylang_id instead of a plain ID.
604
        (anylang_id):  New production.
605
        (opt_digits):  Likewise.
606
        (opt_id):  Likewise.
607
        (NUMBER):  Likewise.
608
        (def_lex):  Return strings of digits in raw string form as DIGITS
609
        token, instead of converting to numeric integer type.
610
 
611
2009-05-26  Nathan Sidwell  
612
 
613
        * ldmain.c (main): Don't reject --relax -r.
614
        * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
615
        partial links.
616
 
617
2009-05-26  Nick Clifton  
618
 
619
        * po/id.po: Updated Indonesian translation.
620
        * po/ld.pot: Updated template file.
621
 
622
2009-05-26  Alan Modra  
623
 
624
        * dep-in.sed: Output one filename per line with all lines having
625
        continuation backslash.  Prefix first line with "A", following
626
        lines with "B".
627
        * Makefile.am (DEP): Don't use dep.sed here.
628
        (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
629
        sort and uniq.
630
        * Makefile.in: Regenerate.
631
 
632
2009-05-26  Alan Modra  
633
 
634
        * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
635
 
636
2009-05-22  Julian Brown  
637
 
638
        * emultempl/armelf.em (fix_cortex_a8): New.
639
        (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
640
        (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
641
        bfd_elf32_arm_set_target_relocs.
642
        (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
643
        (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
644
        (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
645
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
646
        * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
647
 
648
2009-05-22  Nathan Sidwell  
649
 
650
        * ldlang.c (lang_check_section_addresses): Ignore non-loadable
651
        sections when checking for overlap.  Clarify error message
652
        concerns load address.
653
 
654
2009-05-22  Alan Modra  
655
 
656
        * Makefile.am: Run "make dep-am".
657
        * Makefile.in: Regenerate.
658
 
659
2009-05-19  Dave Korn  
660
 
661
        * NEWS:  Mention new feature.
662
        * deffile.h (def_file_aligncomm):  Add new struct definition.
663
        (def_file):  Add new def_file_aligncomm member.
664
        * deffilep.y (%token):  Add new ALIGNCOMM token.
665
        (command):  Add production rule for ALIGNCOMM.
666
        (def_file_free):  Free any chained def_file_aligncomm structs.
667
        (diropts[]):  Add entry for '-aligncomm' .drectve command.
668
        (def_aligncomm):  New grammar function.
669
        * ld.texinfo:  Document new feature.
670
        * pe-dll.c (process_def_file):  Rename from this ...
671
        (process_def_file_and_drectve):  ... to this, updating all callers,
672
        and process any aligncomms chained to the def file after scanning
673
        all .drectve sections.
674
        (generate_edata):  Updated to match.
675
        (pe_dll_build_sections):  Likewise.
676
 
677
2009-05-17  Aaron W. LaFramboise  
678
 
679
        * pe-dll.c (process_def_file): Do not create empty export table.
680
 
681
2009-05-15  Alan Modra  
682
 
683
        * ldlang.c (lang_output_section_statement_lookup): Add function
684
        comment.  Make "name" non-const.  Ensure duplicate entries use
685
        the same string, allowing simple comparison in hash bucket loop.
686
        Tweak constraint check.
687
        (next_matching_output_section_statement): New function.
688
        * ldlang.h (lang_output_section_statement_lookup): Update.
689
        (next_matching_output_section_statement): Declare.
690
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
691
        combine orphan sections when input sections flags differ in
692
        alloc or load.
693
        * emultempl/pe.em: Formatting throughout.
694
        (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
695
        * emultempl/pep.em: Formatting throughout.
696
        (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
697
 
698
2009-05-14  Ulrich Weigand  
699
 
700
        * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
701
        compact stubs with software i-cache.
702
 
703
2009-05-14  Alan Modra  
704
 
705
        * emultempl/spuelf.em (spu_before_allocation): Call
706
        spu_elf_place_overlay_data.
707
 
708
2009-05-14  Alan Modra  
709
 
710
        * ldlang.c (lang_insert_orphan): Add __start_
symbol
711
        assignment inside output section statement.  Ensure only one
712
        set of symbols per output section.
713
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
714
        dollar sections before dollar sections.  Correct add_child
715
        list insertion.
716
        * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
717
 
718
2009-05-05  Paul Brook  
719
 
720
        * emultempl/armelf.em (compare_output_sec_vma): New function.
721
        (gld${EMULATION_NAME}_finish): Add exidx munging code.
722
 
723
2009-05-05  Anatoly Sokolov  
724
 
725
        * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
726
        * emulparams/avr1.sh (DATA_ORIGIN): Add.
727
        * emulparams/avr2.sh (DATA_ORIGIN): Add.
728
        * emulparams/avr25.sh (DATA_ORIGIN): Add.
729
        * emulparams/avr3.sh (DATA_ORIGIN): Add.
730
        * emulparams/avr31.sh (DATA_ORIGIN): Add.
731
        * emulparams/avr35.sh (DATA_ORIGIN): Add.
732
        * emulparams/avr4.sh (DATA_ORIGIN): Add.
733
        * emulparams/avr5.sh (DATA_ORIGIN): Add.
734
        * emulparams/avr51.sh (DATA_ORIGIN): Add.
735
        (DATA_LENGTH): Update.
736
        * emulparams/avr6.sh (DATA_ORIGIN): Add.
737
        (DATA_LENGTH): Update.
738
 
739
2009-05-04  Dave Korn  
740
 
741
        * NEWS:  Mention new feature.
742
        * ld.texinfo (--version-script):  Document extent of PE support.
743
        (WIN32):  Mention --version-script.  Extend auto-export description.
744
        * pe-dll.c (process_def_file):  Use version script info to filter
745
        symbols from auto-export.
746
        * testsuite/ld-pe/vers-script-1.d:  New file.
747
        * testsuite/ld-pe/vers-script-2.d:  New file.
748
        * testsuite/ld-pe/vers-script-3.d:  New file.
749
        * testsuite/ld-pe/vers-script-4.d:  New file.
750
        * testsuite/ld-pe/vers-script-1.ver:  New file.
751
        * testsuite/ld-pe/vers-script-2.ver:  New file.
752
        * testsuite/ld-pe/vers-script-3.ver:  New file.
753
        * testsuite/ld-pe/vers-script-4.ver:  New file.
754
        * testsuite/ld-pe/vers-script-dll.c:  New file.
755
        * testsuite/ld-pe/vers-script.exp:  New test script.
756
 
757
2009-05-01  Nathan Sidwell  
758
 
759
        * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
760
 
761
2009-04-30  Nick Clifton  
762
 
763
        * NEWS: Mention support for IFUNC symbols.
764
 
765
2009-04-29  Anthony Green  
766
 
767
        * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
768
        position out to accommodate larger programs.
769
 
770
2009-04-29  Chris Demetriou  
771
 
772
        * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
773
        (ld_options): Likewise.
774
        (parse_args): Likewise.
775
        * ld.texinfo: Document --no-export-dynamic.
776
        * NEWS: Mention --no-export-dynamic.
777
 
778
2009-04-29  Alan Modra  
779
 
780
        * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
781
 
782
2009-04-25  Alan Modra  
783
 
784
        PR 10061
785
        * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
786
        param.
787
 
788
2009-04-21  Daniel Jacobowitz  
789
 
790
        * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
791
        (arm_elf_set_bfd_for_interworking): Delete.
792
        (arm_elf_before_allocation): Do not set the interworking BFD.
793
        Move allocation inside not-dynamic block.
794
        (arm_elf_create_output_section_statements): Create glue sections
795
        and set the interworking BFD here.
796
        (LDEMUL_AFTER_OPEN): Delete.
797
 
798
2009-04-16  Richard Sandiford  
799
 
800
        * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
801
 
802
2009-04-15  Anthony Green  
803
 
804
        * configure.tgt: Add moxie support.
805
        * Makefile.am: Add moxie files.
806
        * Makefile.in: Rebuilt.
807
        * emulparams/elf32moxie.sh: New file.
808
        * scripttempl/moxie.sc: New file.
809
 
810
2009-04-15  Kazu Hirata  
811
 
812
        * ldlang.c: Do not include limits.h.
813
 
814
2009-04-14  Alan Modra  
815
 
816
        PR ld/10047
817
        * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
818
        ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.
819
 
820
2009-04-13  H.J. Lu  
821
 
822
        * ldfile.c (ldfile_find_command_file): Revert the last change.
823
 
824
2009-04-11  H.J. Lu  
825
 
826
        PR ld/10047
827
        * ldfile.c (ldfile_find_command_file): First try raw name.
828
 
829
2009-04-09  Nick Clifton  
830
 
831
        PR 9824
832
        * ld.texinfo (Output Section Constraint): New node.  Documents the
833
        ONLY_IF_RO and ONLY_IF_RW constraints.
834
        (Symbolic Constants): New node.  Documents the CONSTANT operator.
835
 
836
2009-04-09  Thilo Fischer 
837
 
838
        * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
839
        of fork/execvp.
840
 
841
2009-04-08  H.J. Lu  
842
 
843
        * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
844
        (ld_options): Likewise.
845
        (parse_args): Likewise.
846
 
847
        * ld.texinfo: Document --warn-alternate-em.
848
 
849
        * NEWS: Mention --warn-alternate-em.
850
 
851
2009-04-07  DJ Delorie  
852
 
853
        * emulparams/elf32mep.sh: Change default endian to little.
854
 
855
2009-04-07  Nick Clifton  
856
 
857
        * ld.texinfo (Output Section Address): Note that specifying an
858
        address for an output section will only change the location
859
        counter if the output section is used.
860
 
861
2009-04-06  Kazu Hirata  
862
 
863
        * ldfile.c (ldfile_find_command_file): Initialize result.
864
 
865
2009-04-06  Kazu Hirata  
866
 
867
        * ld.texinfo (-L): Mention that -L options do not affect how ld
868
        searches for a linker script unless -T option is specified.
869
        * ldfile.c (ldfile_find_command_file): Append the path obtained
870
        from the program name to the search path instead of
871
        prepending. Add a new parameter "default_only". Restrict the
872
        search to the default script location if the new parameter is
873
        true.
874
        (ldfile_open_command_file_1): New.
875
        (ldfile_open_command_file): Call ldfile_open_command_file_1.
876
        (ldfile_open_default_command_file): New.
877
 
878
2009-04-03  Nathan Sidwell  
879
 
880
        * ldlang.c (lang_leave_output_section_statement): Set lma_region
881
        if it is not overridden and section is for the same vma region as
882
        the previous section.
883
 
884
2009-04-02  Dave Korn  
885
 
886
        PR ld/6744
887
        * ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
888
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
889
        warning if --export-dynamic was passed on command-line.
890
        * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.
891
 
892
2009-04-01  Richard Sandiford  
893
 
894
        * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
895
        function.
896
        (ld_${EMULATION_NAME}_emulation): Use it.
897
 
898
2009-03-20  H.J. Lu  
899
 
900
        PR ld/9970
901
        * ldlang.c (lang_end): Warn missing entry symbol for -pie.
902
 
903
2009-03-19  Alan Modra  
904
 
905
        * emultempl/spuelf.em (spu_before_allocation): Report errors from
906
        spu_elf_find_overlays.
907
 
908
2009-03-18  H.J. Lu  
909
 
910
        PR ld/6766
911
        * lexsup.c (parse_args): Call ldlang_add_undef for -e.
912
 
913
2009-03-18  Alan Modra  
914
 
915
        * ld.h: Remove alloca handling.
916
 
917
2009-03-17  Alan Modra  
918
 
919
        * emultempl/spu_icache.S: Add new entry to dummy handler.
920
        * emultempl/spu_icache.o_c: Regenerate.
921
        * emultempl/spuelf.em (params): Init new field.
922
        (no_overlays): New static var.
923
        (spu_before_allocation): Use it.
924
        (OPTION_SPU_COMPACT_STUBS): Define.
925
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
926
        (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs.  Adjust no-overlays
927
        handling.
928
 
929
2009-03-17  Alan Modra  
930
 
931
        * configure.host (HOSTING_LIBS): Two dollars on shell variable
932
        expansion to suit make.
933
 
934
2009-03-17  Alan Modra  
935
 
936
        * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
937
        * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
938
        * aclocal.m4: Regenerate.
939
        * configure: Regenerate.
940
        * Makefile.in: Regenerate.
941
 
942
2009-03-14  Richard Sandiford  
943
 
944
        * emultempl/aix.em (auto_export_flags): New variable.
945
        (explicit_auto_export_flags): Likewise.
946
        (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
947
        (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
948
        (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
949
        -bnoexpall and -bnoexpfull.
950
        (gld${EMULATION_NAME}_handle_option): Handle them.
951
        (gld${EMULATION_NAME}_before_allocation): Update the call to
952
        bfd_size_dynamic_sections.
953
 
954
2009-03-14  Richard Sandiford  
955
 
956
        * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
957
        -berok and -bernotok control link_info.unresolved_syms_in_objects
958
        and link_info.unresolved_syms_in_shared_libs instead of
959
        force_make_executable.
960
 
961
2009-03-14  Richard Sandiford  
962
 
963
        * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
964
        config.dynamic_link to TRUE.
965
 
966
2009-03-14  Richard Sandiford  
967
 
968
        * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
969
        .text, .data and .bss output sections as SEC_KEEP.
970
 
971
2009-03-14  Richard Sandiford  
972
 
973
        * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
974
 
975
2009-03-14  Dave Korn  
976
            Danny Smith  
977
 
978
        * emultmpl/pe.em (pe_dll_characteristics): New variable.
979
        (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
980
        OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
981
        OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
982
        New macros for options to set DllCharacteristics flag bits.
983
        (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
984
        nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
985
        (init): Add DllCharacteristics field.
986
        (gld_${EMULATION_NAME}_list_options): List new options.
987
        (gld${EMULATION_NAME}_handle_option): Handle new options.
988
        * emultmpl/pep.em (pe_dll_characteristics): New variable.
989
        (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
990
        OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
991
        OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
992
        New macros for options to set DllCharacteristics flags.
993
        (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
994
        nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
995
        (init): Add DllCharacteristics field.
996
        (gld_${EMULATION_NAME}_list_options): List new options.
997
        (gld${EMULATION_NAME}_handle_option): Handle new options.
998
        * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
999
        no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1000
 
1001
2009-03-06  Nick Clifton  
1002
 
1003
        * po/es.po: Updated Spanish translation.
1004
 
1005
2009-03-03  Dave Korn  
1006
 
1007
        * emultempl/pe.em (debug_section_p):  New bfd_map_over_sections hook.
1008
        (gld_${EMULATION_NAME}_after_open):  Use it to iterate all sections
1009
        of all input BFDs, looking for debug info.  Enable long section names
1010
        if any found.
1011
        * emultempl/pe.em (debug_section_p):  Likewise.
1012
        (gld_${EMULATION_NAME}_after_open):  Likewise.
1013
        * NEWS:  Retrospectively adjust news announcement.
1014
        * ld.texinfo:  Update documentation to mention new behaviour.
1015
 
1016
2009-03-03  Alan Modra  
1017
 
1018
        * Makefile.am: Run "make dep-am".
1019
        * Makefile.in: Regenerate.
1020
 
1021
2009-03-02  Sebastian Huber  
1022
 
1023
        * ldgram.y: Add support for REGION_ALIAS operator.
1024
        * ldlang.c: Likewise.
1025
        * ldlang.h: Likewise.
1026
        * ldlex.l: Likewise.
1027
        * NEWS: Mention the new feature.
1028
        * ld.texinfo: Document the new feature.
1029
 
1030
2009-03-02  Qinwei  
1031
 
1032
        * Makefile.am: Replace score elf emulation with score3 and score7
1033
        emulations.
1034
        * Makefile.in: Regenerate,
1035
        * NEWS: Mention support for Score7 architecture.
1036
        * configure.tgt: Add score7 emulation to score-elf target.
1037
        * emulparams/scoreelf.sh: Add score7 support.
1038
        * emultempl/scoreelf.em: Likewise.
1039
 
1040
2009-03-01  John David Anglin  
1041
 
1042
        * configure.tgt: Only use elf64hppa target emulation for hpux.
1043
        * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
1044
        (SCRIPT_NAME): Use new script elf64hppa.
1045
        (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
1046
        TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
1047
        OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
1048
        DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
1049
        TEXT_DYNAMIC): Define.
1050
        * emulparams/hppa64linux.sh: Adjust comments.
1051
        * scripttempl/elf64hppa.sc: New file.
1052
 
1053
2009-03-01  Ralf Wildenhues  
1054
 
1055
        * configure: Regenerate.
1056
 
1057
2009-02-27  Dave Korn  
1058
 
1059
        * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse):  Set
1060
        default state of auto-import flag based on $target.
1061
 
1062
2009-02-24  Joseph Myers  
1063
 
1064
        * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
1065
        * emultempl/armelf.em (hook_in_stub): Insert after the input section.
1066
        (elf32_arm_add_stub_section): Update comment.
1067
        (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
1068
 
1069
2009-02-24  Sandra Loosemore  
1070
 
1071
        * ld.texinfo (Options): Correct typos in example.  Recommend
1072
        using joined forms of syntax for passing options with arguments
1073
        from a driver.
1074
        (-a): Use consistent syntax for documenting option arguments.
1075
        Clean up indexing and markup.
1076
        (-A/--architecture): Likewise.
1077
        (-f/--auxiliary): Likewise.
1078
        (-F/--filter): Likewise.
1079
        (-fini): Likewise.
1080
        (-G/--gpsize): Likewise.
1081
        (-h/-soname):Likewise.
1082
        (-init): Likewise.
1083
        (-l/--library): Likewise.
1084
        (-L/--library-path): Likewise.
1085
        (-m): Likewise.
1086
        (--defsym): Likewise.
1087
        (-I/--dynamic-linker): Likewise.
1088
        (-Map): Likewise.
1089
        (--oformat): Likewise.
1090
        (--retain-symbols-file): Likewise.
1091
        (-rpath): Likewise.
1092
        (-rpath-link): Likewise.
1093
        (--sort-common): Likewise.
1094
        (--sort-section): Likewise.
1095
        (--split-by-file): Likewise.
1096
        (--split-by-reloc): Likewise.
1097
        (--sysroot): Likewise.
1098
        (--section-start): Likewise.
1099
        (-Tbss, -Tdata, -Ttext): Likewise.
1100
        (-Ttext-segment): Likewise.
1101
        (--version-script): Likewise.
1102
        (--wrap): Likewise.
1103
 
1104
2009-02-18  Dave Korn  
1105
 
1106
        * ld.texinfo:  Update to mention long section name options.
1107
        * NEWS:  Mention new behaviour and command-line options.
1108
        * pe-dll.c (pe_use_coff_long_section_names):  New global variable.
1109
        (pe_output_file_set_long_section_names):  New function.
1110
        (pe_dll_build_sections):  Call it on output BFDs.
1111
        (pe_exe_build_sections):  Likewise.
1112
        (pe_dll_fill_sections):  Likewise.
1113
        (pe_exe_fill_sections):  Likewise.
1114
        * pe-dll.h (pe_use_coff_long_section_names):  Declare extern.
1115
        (pe_output_file_set_long_section_names):  Add prototype.
1116
        * pep-dll.c (pe_use_coff_long_section_names):  Define pep_ alias.
1117
        (pe_output_file_set_long_section_names):  Likewise.
1118
        * pep-dll.h (pep_use_coff_long_section_names):  Declare extern.
1119
        (pep_output_file_set_long_section_names):  Add prototype.
1120
        * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES):  New getopt value macro.
1121
        (OPTION_DISABLE_LONG_SECTION_NAMES):  Likewise.
1122
        (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1123
        (gld_${EMULATION_NAME}_list_options):  Describe them.
1124
        (gld${EMULATION_NAME}_handle_option):  Set or clear global
1125
        pe_use_coff_long_section_names flag when options recognised.
1126
        (gld_${EMULATION_NAME}_after_open):  En/disable long section names
1127
        for main output bfd by calling pe_output_file_set_long_section_names.
1128
        * pep.em (enum options):  Extend enum with new getopt option values.
1129
        (gld${EMULATION_NAME}_add_options):  Add new options to xtra_long[].
1130
        (gld_${EMULATION_NAME}_list_options):  Describe them.
1131
        (gld${EMULATION_NAME}_handle_option):  Set or clear global
1132
        pe_use_coff_long_section_names flag when options recognised.
1133
        (gld_${EMULATION_NAME}_after_open):  En/disable long section names
1134
        for main output bfd by calling pep_output_file_set_long_section_names.
1135
 
1136
2009-02-16  Dave Korn  
1137
 
1138
        * emultempl/pe.em (gld_${EMULATION_NAME}_after_open):  Don't emit
1139
        inadvertent .reloc sections caused by refactoring accident.
1140
 
1141
2009-02-16  Alan Modra  
1142
 
1143
        * ldlang.c (process_insert_statements): ASSERT that output section
1144
        statements are in order.
1145
 
1146
2009-02-16  Alan Modra  
1147
 
1148
        * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1149
        (stat_save, stat_save_ptr): New variables.
1150
        (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1151
        (load_symbols): Likewise.  Delete dead "bad_load" code.
1152
        (open_input_bfds): Warn on script containing output sections.
1153
        (lang_enter_output_section_statement): Use push_stat_ptr.
1154
        (lang_enter_group): Likewise.
1155
        (lang_leave_output_section_statement): Use pop_stat_ptr.
1156
        (lang_leave_group): Likewise.
1157
        * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1158
        * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1159
        * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1160
        * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1161
        * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1162
        * emultempl/spuelf.em (spu_place_special_section): Likewise.
1163
        * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1164
 
1165
2009-02-09  Nathan Sidwell  
1166
 
1167
        Missing piece of 2009-01-26 commit
1168
        * ldlang.c (lang_process): Don't consider relocatable flag when
1169
        checking for overlap.
1170
 
1171
2009-02-05  Joseph Myers  
1172
 
1173
        * emulparams/m68kelf.sh: Add newline at end of file.
1174
 
1175
2009-02-04  Nick Clifton  
1176
 
1177
        PR 9805
1178
        * ld.texinfo (--allow-shlib-undefined): Correct description of
1179
        default settings and tidy up the rest of the entry.
1180
 
1181
2009-02-04  Alan Modra  
1182
 
1183
        * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1184
        during relocatable link.
1185
 
1186
2009-02-03  Nick Clifton  
1187
 
1188
        PR 9797
1189
        * ld.texinfo (Constants): Document the base-encoding suffixes
1190
        supported in linker scripts.
1191
 
1192
2009-02-03  Alan Modra  
1193
 
1194
        * NEWS: Mention --as-needed change.
1195
 
1196
2009-02-03  Carlos O'Donell  
1197
 
1198
        * configure.in: AC_SUBST pdfdir.
1199
        * Makefile.am: Add install-pdf, install-pdf-am,
1200
        and install-pdf-recursive targets. Define pdf__strip_dir.
1201
        * po/Make-in: Add install-pdf target.
1202
        * configure: Regenerate.
1203
        * Makefile.in: Regenerate.
1204
 
1205
2009-01-31  Alan Modra  
1206
 
1207
        * ld.texinfo (--as-needed): Update.
1208
 
1209
2009-01-29  Andrew Jenner  
1210
 
1211
        * emultempl/armelf.em: Correct formatting of help text for
1212
        --no-enum-size-warning option.
1213
 
1214
2009-01-26  Nathan Sidwell  
1215
 
1216
        * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1217
        * ld.h (args_type): Make check_section_addresses a char.
1218
        * ldmain.c (main): Default check_section_addresses to -1. Check it
1219
        for relocatable links.
1220
        * ld.texinfo (--check-sections): Update documentation.
1221
 
1222
2009-01-26  Kai Tietz  
1223
 
1224
        * pe-dll.c (tmp_seq2): New static variable.
1225
        (make_singleton_name_imp): New.
1226
        (make_import_fixup_entry): Use for v2 the _imp_ symbol and
1227
        avoid duplicate import table generation for same symbol.
1228
        (pe_create_runtime_relocator_reference): Make reference for
1229
        64-bit 8 bytes.
1230
 
1231
2009-01-21  Alan Modra  
1232
 
1233
        * emultempl/spuelf.em (params): Init new field.
1234
        (OPTION_SPU_NON_IA_TEXT): Define.
1235
        (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1236
        (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1237
 
1238
2009-01-16  H.J. Lu  
1239
 
1240
        * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1241
        (ld_options): Add -Ttext-segment.
1242
        (parse_args): Handle OPTION_TTEXT_SEGMENT.
1243
 
1244
        * ld.texinfo: Document -Ttext-segment.
1245
 
1246
        * NEWS: Mention -Ttext-segment.
1247
 
1248
        * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1249
        (SHLIB_TEXT_START_ADDR): Likewise.
1250
 
1251
2009-01-13  Alan Modra  
1252
 
1253
        * emultempl/spu_icache.o_c: Regenerate.
1254
 
1255
2009-01-12  Alan Modra  
1256
 
1257
        * emultempl/spuelf.em (params): Init new fields.
1258
        (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1259
        (spu_place_special_section): Adjust placement for soft-icache.  Pad
1260
        soft-icache section to a fixed size.  Clear addr_tree.
1261
        (spu_elf_load_ovl_mgr): Support soft-icache.  Map overlay manager
1262
        sections a little more intelligently.
1263
        (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1264
        (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1265
        (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1266
        (OPTION_SPU_LRLIVE): Define.
1267
        (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1268
        (PARSE_AND_LIST_OPTIONS): Likewise.
1269
        (PARSE_AND_LIST_ARGS_CASES): Handle them.
1270
        * emultempl/spu_icache.S: Dummy file.
1271
        * emultempl/spu_icache.o_c: Regenerate.
1272
        * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1273
        (spu_icache.o_c): Add rule to build.
1274
        (CLEANFILES): Zap temp files.
1275
        (EXTRA_DIST): Add spu_icache.o_c.
1276
        * Makefile.in: Regenerate.
1277
 
1278
2009-01-08  Kai Tietz  
1279
 
1280
        * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1281
        (gld..._add_options): Add new option
1282
        --use-nul-prefixed-import-tables.
1283
        (gld..._handle_option): Likewise.
1284
        * pep.em: Same as for pe.em.
1285
        * ld.texinfo: Add new option documentation for
1286
        --use-nul-prefixed-import-tables.
1287
        * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1288
        (make_head): Make prefix leading zero prefix element for
1289
        idata$4 and idata$5 dependent to new flag.
1290
        (make_import_fixup_entry): Remove idata4/5 prefix.
1291
        * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1292
        * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1293
        * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1294
        * NEWS: Add new option.
1295
 
1296
2009-01-05  Kai Tietz  
1297
 
1298
        * emultempl/pe.em: Prefix dollar characters to be outputed in
1299
        generated C file.
1300
        * emultempl/pep.em: Likewise.
1301
 
1302
2009-01-03  Dave Korn  
1303
 
1304
        * NEWS:  Mention new feature --exclude-modules-for-implib.
1305
        * ld.texinfo:  Document new --exclude-modules-for-implib option.
1306
        * pe-dll.c (exclude_list_struct):  Change type member from int to
1307
        new enumeration exclude_type.
1308
        (pe_dll_add_excludes):  Accept exclude_type instead of int param.
1309
        (auto_export):  Replace magic constants by exclude_type values and
1310
        handle new choice EXCLUDEFORIMPLIB.
1311
        (pe_dll_generate_implib):  Accept a pointer to the link_info and
1312
        iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1313
        fresh BFDs for any found and link into import lib archive chain.
1314
        * pe-dll.h (exclude_type):  Add new enumerated type to replace magic
1315
        constants previously used for exclude_list_struct type member.
1316
        (pe_dll_add_excludes, pe_dll_generate_implib):  Update prototypes.
1317
        * pep-dll.h (exclude_type, pe_dll_add_excludes,
1318
        pe_dll_generate_implib):  Likewise to all the above.
1319
        * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB):  Define new
1320
        getopts long option code for new --exclude-modules-for-implib option.
1321
        (gld${EMULATION_NAME}_add_options):  Add new entry to xtra_long[].
1322
        (gld_${EMULATION_NAME}_list_options):  List usage for it.
1323
        (gld${EMULATION_NAME}_handle_option):  Use exclude_type enumerated
1324
        values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1325
        (gld_${EMULATION_NAME}_finish):  Pass pointer to link_info when
1326
        calling pe_dll_generate_implib.
1327
        * emultempl/pep.em (options):  Define new enumerated value for getopts
1328
        long option code for new --exclude-modules-for-implib option.
1329
        (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1330
        gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1331
        Again, likewise to all the above.
1332
 
1333
2009-01-03  Dave Korn  
1334
 
1335
        * pe-dll.c (autofilter_liblist):  Add entry for shared libgcc.
1336
        (libnamencmp):  New function.
1337
        (auto_export):  Use it in place of strncmp when filtering libraries.
1338
 
1339
For older changes see ChangeLog-2008
1340
 
1341
Local Variables:
1342
mode: change-log
1343
left-margin: 8
1344
fill-column: 74
1345
version-control: never
1346
End:

powered by: WebSVN 2.1.0

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