gas/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
94f63f20
NC
12009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
2
3 * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
4 (rts).
5
c7927a3c
NC
62009-09-29 DJ Delorie <dj@redhat.com>
7
8 * Makefile.am: Add rules to build RX emulation.
9 * configure.tgt: Likewise.
10 * NEWS: Mention support for RX architecture.
11 * Makefile.in: Regenerate.
12 * emulparams/elf32rx.sh: New file.
13 * emultempl/rxelf.em: New file.
14
cafed8af
AM
152009-09-29 Alan Modra <amodra@bigpond.net.au>
16
17 * ldlang.c (lang_size_sections_1): Allow scripts to specify a
18 non-zero vma even when relocatable.
19
df381c72
AM
202009-09-28 Alan Modra <amodra@bigpond.net.au>
21
22 * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
23 * scripttempl/elf32cr16c.sc: Likewise.
24 * scripttempl/elf32crx.sc: Likewise.
5ccff776 25 * scripttempl/tic54xcoff.sc: Likewise.
df381c72
AM
26 * scripttempl/aix.sc: Delete ${RELOCATING-0}.
27 * scripttempl/avr.sc: Likewise.
28 * scripttempl/elf32msp430.sc: Likewise.
29 * scripttempl/elf32msp430_3.sc: Likewise.
30 * scripttempl/elf32sh-symbian.sc: Likewise.
31 * scripttempl/elf_chaos.sc: Likewise.
32 * scripttempl/elfi370.sc: Likewise.
33 * scripttempl/nw.sc: Likewise.
34 * scripttempl/psos.sc: Likewise.
35 * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
36 * scripttempl/elf.sc: Likewise.
37 * scripttempl/elf64hppa.sc: Likewise.
38 * scripttempl/elfd10v.sc: Likewise.
39 * scripttempl/elfd30v.sc: Likewise.
40 * scripttempl/elfm68hc11.sc: Likewise.
41 * scripttempl/elfm68hc12.sc: Likewise.
42 * scripttempl/elfmicroblaze.sc: Likewise.
43 * scripttempl/elfxtensa.sc: Likewise.
44 * scripttempl/iq2000.sc: Likewise.
45 * scripttempl/mep.sc: Likewise.
46 * scripttempl/xstormy16.sc: Likewise.
47
eceda120
CF
482009-09-27 Christopher Faylor <me+cygwin@cgf.cx>
49
50 * ldlang.c (lang_size_sections_1): Always force output vma to zero for
51 relocatable sections.
52 (lang_size_sections_1): Revert previous COFF-only accommodation for
53 relocatable sections.
54
21d799b5
NC
552009-09-25 Martin Thuresson <martint@google.com>
56
57 Update soruces to make arm targets compile cleanly with
58 -Wc++-compat:
59 * emultempl/armelf.em: Add casts.
60
7ee314fa
AM
612009-09-23 Matt Rice <ratmice@gmail.com>
62
63 * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
64 --depaudit, and -P options.
65 (gld${EULATION_NAME}_handle_options): Ditto.
66 (gld${EULATION_NAME}_list_options): Ditto.
67 (gld${EMULATION_NAME}_append_to_separated_string): New function for
68 handling rpath-like colon separated strings.
69 (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
70 libs to bfd. Propagate DT_AUDIT from needed libs to depaudit.
71 * ld.texinfo: Document new options.
72
8a00d392
NC
732009-09-23 Nick Clifton <nickc@redhat.com>
74
75 * po/vi.po: Updated Vietnamese translation.
76
7807ee0c
AM
772009-09-22 Alan Modra <amodra@bigpond.net.au>
78
79 * scripttempl/a29k.sc: Delete.
80 * scripttempl/ebmon29k.sc: Delete.
81 * scripttempl/m68klynx.sc: Delete.
82 * scripttempl/sa29200.sc: Delete.
83 * scripttempl/sparclynx.sc: Delete.
84
a7f2871e
AM
852009-09-21 Alan Modra <amodra@bigpond.net.au>
86
87 * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
88 (ppc_before_allocation): Pass to ppc_elf_tls_setup.
89 (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
90 terms of previous option.
91 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
92 --no-tls-get-addr-optimize.
93 (PARSE_AND_LIST_ARGS_CASES): Handle it.
94 * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
95 (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
96 (OPTION_NO_TLS_GET_ADDR_OPT): Define.
97 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
98 --no-tls-get-addr-optimize.
99 (PARSE_AND_LIST_ARGS_CASES): Handle it.
100
ca58b19f
NC
1012009-09-18 Nick Clifton <nickc@redhat.com>
102
103 * po/es.po: Updated Spanish translation.
104
97b11f40
AM
1052009-09-13 Alan Modra <amodra@bigpond.net.au>
106
cafed8af 107 PR ld/6766
97b11f40
AM
108 * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
109 * ldemul.c (after_parse_default): Add entry symbol as undef.
110 * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
111 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
112 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
113 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
114 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
115 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
116 after_parse_default and delete now duplicate code.
117 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
118 * scripttempl/elf32cr16.sc: No need to make entry extern.
119 * scripttempl/elf32cr16c.sc: Likewise.
120 * scripttempl/elf32crx.sc: Likewise.
121 * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
122
1e9cc1c2
NC
1232009-09-11 Nick Clifton <nickc@redhat.com>
124
125 * po/ld.pot: Updated by the Translation project.
126 * po/fi.po: Updated Finnish translation.
127
1282009-09-11 Martin Thuresson <martint@google.com>
129
130 Updated sources to compile cleanly with -Wc++-compat:
131 * ld.h (enum endian_enum,enum symbolic_enum,enum
132 dynamic_list_enum): Move to top level.
133 * ldcref.c: Add casts.
134 * ldctor.c: Add casts.
135 * ldexp.c
136 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
137 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
138 of integer.
139 * ldlang.h (enum statement_enum): Move to top level.
140 * ldmain.c: Add casts.
141 * ldwrite.c: Add casts.
142 * lexsup.c: Add casts. (enum control_enum): Move to top level.
143 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
144 integer.
145
596d6d91
AM
1462009-09-09 Alan Modra <amodra@bigpond.net.au>
147
148 * scripttempl/aix.sc: Only provide ENTRY on final link.
149 * scripttempl/alpha.sc: Likewise.
150 * scripttempl/armcoff.sc: Likewise.
151 * scripttempl/crisaout.sc: Likewise.
152 * scripttempl/delta68.sc: Likewise.
153 * scripttempl/ebmon29k.sc: Likewise.
154 * scripttempl/elf32xc16x.sc: Likewise.
155 * scripttempl/elf32xc16xl.sc: Likewise.
156 * scripttempl/elfmicroblaze.sc: Likewise.
157 * scripttempl/epocpe.sc: Likewise.
158 * scripttempl/h8300.sc: Likewise.
159 * scripttempl/h8300h.sc: Likewise.
160 * scripttempl/h8300hn.sc: Likewise.
161 * scripttempl/h8300s.sc: Likewise.
162 * scripttempl/h8300sn.sc: Likewise.
163 * scripttempl/h8300sx.sc: Likewise.
164 * scripttempl/h8300sxn.sc: Likewise.
165 * scripttempl/hppaelf.sc: Likewise.
166 * scripttempl/i386beos.sc: Likewise.
167 * scripttempl/i386coff.sc: Likewise.
168 * scripttempl/i386go32.sc: Likewise.
169 * scripttempl/m68kaux.sc: Likewise.
170 * scripttempl/m68klynx.sc: Likewise.
171 * scripttempl/m88kbcs.sc: Likewise.
172 * scripttempl/maxqcoff.sc: Likewise.
173 * scripttempl/mcorepe.sc: Likewise.
174 * scripttempl/mips.sc: Likewise.
175 * scripttempl/ppcpe.sc: Likewise.
176 * scripttempl/sa29200.sc: Likewise.
177 * scripttempl/sparccoff.sc: Likewise.
178 * scripttempl/sparclynx.sc: Likewise.
179 * scripttempl/tic4xcoff.sc: Likewise.
180 * scripttempl/tic54xcoff.sc: Likewise.
181 * scripttempl/tic80coff.sc: Likewise.
182 * scripttempl/z8000.sc: Likewise.
183
23f938f1
TG
1842009-09-07 Tristan Gingold <gingold@adacore.com>
185
186 * po/ld.pot: Regenerate.
187
96d56e9f
NC
1882009-09-05 Martin Thuresson <martin@mtme.org>
189
190 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
191 gld${EMULATION_NAME}_try_needed): Rename variable class to
192 link_class.
193
81c23f82
TG
1942009-09-04 Tristan Gingold <gingold@adacore.com>
195
196 * NEWS: Add marker for 2.20.
197
4c4fb5da
AM
1982009-09-04 Alan Modra <amodra@bigpond.net.au>
199
200 * scripttempl/elf.sc (.text): Add cold text sections.
201
7dd8f318
JZ
2022009-09-04 Jie Zhang <jie.zhang@analog.com>
203
204 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
205 and .l2.data.
206
032f3e01
DK
2072009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
208
209 * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
210 new GCC hot/cold/unlikely partitions.
211 * scripttempl/pep.sc: Likewise.
212 * scripttempl/epocpe.sc: Likewise.
213 * scripttempl/mcorepe.sc: Likewise.
214 * scripttempl/ppcpe.sc: Likewise.
215
7bb7d81f
RW
2162009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
217
218 * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
219 source file name for generated files which may be in $(srcdir).
220 * Makefile.in: Regenerate.
221
43123e98
L
2222009-09-01 H.J. Lu <hongjiu.lu@intel.com>
223
224 * ldver.c (ldversion): Change to "Copyright 2009".
225
8d17e044
JZ
2262009-09-01 Jie Zhang <jie.zhang@analog.com>
227
228 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
229 _stack and __bss_start.
230 * emulparams/bfin.sh (ENTRY): Remove.
231
8be573a7
AM
2322009-08-30 Alan Modra <amodra@bigpond.net.au>
233
234 PR ld/10569
235 * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
236 (fold_name <COMMONPAGESIZE>): Similarly.
237 * ldlang.c (output_target): Make global.
238 * ldlang.h (output_target): Declare.
239 * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
240 Similarly for config.commonpagesize.
241 * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
242 and bfd_emul_set_commonpagesize.
243 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
244 bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
245
d3ce72d0
NC
2462009-08-29 Martin Thuresson <martin@mtme.org>
247
248 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
249 (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
250 to new_e.
251 * ldfile.c (ldfile_add_library_path): Rename variable new to
252 new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
253 * ldlang.c (new_statement, lang_final, lang_add_wild)
254 (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
255 (lang_add_insert): Rename variable new to new_stmt. (new_afile):
256 Added missing cast. (lang_memory_region_lookup): Rename variable
257 new to new_region. (init_os): Rename variable new to
258 new_userdata. (lang_add_section): Rename variable new to
259 new_section. (ldlang_add_undef): Rename variable new to
260 new_undef. (realsymbol): Rename variable new to new_name.
261
e9e0a58e
NC
2622009-08-26 Nick Clifton <nickc@redhat.com>
263
264 PR ld/10555
265 * emultempl/elf32.em (_after_open): Do not create a
266 .note.gnu-build-id section if there are no input files.
267
43e56c34
NC
2682009-08-24 Nick Clifton <nickc@redhat.com>
269
270 * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
271 .gnu.lto_ prefix.
272 * scripttempl/armbpabi.sc: Likewise.
273 * scripttempl/elf32sh-symbian.sc: Likewise.
274 * scripttempl/elf64hppa.sc: Likewise.
275 * scripttempl/mep.sc: Likewise.
276
a15af8e2
RW
2772009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
278
8a0e2760
RW
279 * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
280 rules.
281 (eelf32_spu.o): Add dependency tracking.
282 * Makefile.in: Regenerate.
283
a15af8e2
RW
284 * Makefile.am (am__skiplex, am__skipyacc): New.
285 * Makefile.in: Regenerate.
286
81ecdfbb
RW
2872009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
288
14ec8efd
RW
289 * Makefile.am (bin_PROGRAMS): Renamed from ...
290 (noinst_PROGRAMS): ... this.
291 (transform): Override, including the renaming of ld-new to ld.
292 (install-exec-local): Installation of ld in $(bindir) not needed
293 here any more.
294 (AM_CPPFLAGS): Renamed from ...
295 (INCLUDES): ... this.
296 (MAINTAINERCLEANFILES): Add ld.1.
297 * Makefile.in: Regenerate.
298
64ac50ac
RW
299 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
300 no-texinfo.tex, no-dist, foreign.
301 (TEXINFO_TEX): New variable.
302 (install-data-local): Removed, not needed any more.
303 (all): Dependencies upon info and ld.1 not needed any more.
304 (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
305 (mkdep generated section): Removed.
306 (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
307 use automake dependency tracking mechanism.
308 (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
309 $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
310 dependencies are tracked too.
311 (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
312 are built early.
313 * configure.in: Use AM_MAINTAINER_MODE.
314 * aclocal.m4, configure, Makefile.in: Regenerate.
315
af542c2e
RW
316 * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
317 (install-pdf-recursive, html__strip_dir, install-html)
318 (install-html-am, install-html-recursive): Remove.
319 * Makefile.in: Regenerate.
320
81ecdfbb
RW
321 * Makefile.in: Regenerate.
322 * aclocal.m4: Likewise.
323 * config.in: Likewise.
324 * configure: Likewise.
325
032b94c5
NC
3262009-08-21 Richard Guenther <rguenther@suse.de>
327
328 * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
329
02688209
TG
3302009-08-12 Tristan Gingold <gingold@adacore.com>
331
332 * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
333 * ldlang.c (hash_entry_addr_cmp): New function.
334 (print_all_symbols): Sort the symbols by address before printing them.
335
eaeb0a9d
AM
3362009-08-10 Alan Modra <amodra@bigpond.net.au>
337
338 PR 10474
339 * ldemul.c (after_allocation_default): Run lang_relax_sections.
340 * ldlang.h (lang_relax_sections): Declare.
341 * ldlang.c (relax_sections): Delete.
342 (lang_relax_sections): New function.
343 (lang_process): Don't relax directly from here.
344 * emultempl/alphaelf.em (alpha_finish): Call finish_default.
345 * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body..
346 (gld${EMULATION_NAME}_finish): ..to here. Move existing code..
347 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
348 (LDEMUL_AFTER_ALLOCATION): Update.
349 * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
350 (avr_elf_after_allocation): New function.
351 (LDEMUL_AFTER_ALLOCATION): Define.
352 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
353 lang_relax_sections.
354 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move..
355 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
356 (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
357 * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
358 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
359 (LDEMUL_FINISH): Delete.
360 (LDEMUL_AFTER_ALLOCATION): Define.
361 * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
362 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
363 (LDEMUL_FINISH): Delete.
364 (LDEMUL_AFTER_ALLOCATION): Define.
365 * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move..
366 (m68hc11elf_after_allocation): ..to here. New function.
367 (LDEMUL_FINISH): Delete.
368 (LDEMUL_AFTER_ALLOCATION): Define.
369 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
370 gld${EMULATION_NAME}_after_allocation.
371 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
372 gld${EMULATION_NAME}_after_allocation.
373 * emultempl/mmo.em (mmo_finish): Delete. Move body..
374 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
375 (LDEMUL_FINISH): Define.
376 * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
377 (gld${EMULATION_NAME}_finish): Move code sizing sections..
378 (gld${EMULATION_NAME}_after_allocation): ..to here.
379 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
380 Call gld${EMULATION_NAME}_after_allocation.
381 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
382 bfd_elf_discard_info and map_segments call.
383
7ba29e2a
NC
3842009-08-06 Michael Eager <eager@eagercon.com>
385
7ee314fa 386 * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
7ba29e2a
NC
387 ALL_EMULATIONS, targets.
388 * Makefile.in: Regenerate.
389 * configure.tgt: Add microblaze*-linux*, microblaze* targets.
390 * emulparams/elf32mb_linux.sh: New.
391 * emulparams/elf32microblaze.sh. New.
7ee314fa 392 * scripttempl/elfmicroblaze.sc: New.
7ba29e2a 393
9cc305ec
TS
3942009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
395
396 * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
397 section and __fixup_start symbol.
398 * emultempl/spuelf.em (params): Initialize emit_fixups member.
399 (spu_before_allocation): Call spu_elf_size_sections.
400 (OPTION_SPU_EMIT_FIXUPS): Define.
401 (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
402 (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
403 * ld.texinfo (--emit-fixups): Document.
404
07088e95
AM
4052009-08-04 Alan Modra <amodra@bigpond.net.au>
406
cafed8af 407 PR 10474
07088e95
AM
408 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
409 not size, after lang_reset_memory_regions.
410
8dfab6dd
AM
4112009-07-30 Alan Modra <amodra@bigpond.net.au>
412
413 * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
414 * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
415 * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
416 * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
417 when !IREL_IN_PLT.
418
18c32df5
HPN
4192009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
420
421 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
422 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
423 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
424 (ENTRY): Don't emit for relocateable links.
425 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
426 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
427 elf64-mmix.
428 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
429 provide "Main" or set "_start.", for relocateable links.
430
c38fbd5c
NC
4312009-07-27 Nick Clifton <nickc@redhat.com>
432
433 * (po/fi.po): Updated Finnish translation.
434
8a9036a4
L
4352009-07-25 H.J. Lu <hongjiu.lu@intel.com>
436
437 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
438 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
439 (targ_extra_emuls): Likewise.
440
441 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
442 eelf_l1om_fbsd.o
443 (eelf_l1om.c): New.
444 (eelf_l1om_fbsd.c): Likewise.
445 * Makefile.in: Regenerated.
446
447 * emulparams/elf_l1om.sh: New.
448 * emulparams/elf_l1om_fbsd.sh: Likewise.
449
3e7a7d11
NC
4502009-07-23 Ulrich Drepper <drepper@redhat.com>
451
452 * NEWS: Mention the linker's support for symbols with a binding of
453 STB_GNU_UNIQUE.
454
249b2a84
L
4552009-07-22 H.J. Lu <hongjiu.lu@intel.com>
456
457 PR ld/10429
458 * ldlang.c (insert_os_after): Tie assignments to non-alloc
459 output sections if there is no-input section.
460
0fa4d7cf
AM
4612009-07-11 Alan Modra <amodra@bigpond.net.au>
462
463 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
464 output sections.
465
4135c73b
AM
4662009-07-10 Alan Modra <amodra@bigpond.net.au>
467
468 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
469 linker relaxation if it might be necessary.
470
e054468f
AM
4712009-07-10 Alan Modra <amodra@bigpond.net.au>
472
473 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
474
07d8eb55
NC
4752009-07-06 Matthias Klose <doko@ubuntu.com>
476
249b2a84 477 * ld.texinfo: Fix typo.
07d8eb55 478
27505b5d
TG
4792009-07-03 Tristan Gingold <gingold@adacore.com>
480
481 * scripttempl/pep.sc: Put .eh_frame in its own section.
482 * scripttempl/pe.sc: Ditto.
7ee314fa 483
a626fe20
KT
4842009-06-26 Kai Tietz <kai.tietz@onevision.com>
485
486 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
487 * scripttempl/pep.sc: Likewise.
488
d64703c6
TG
4892009-06-25 Tristan Gingold <gingold@adacore.com>
490
491 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
492 prototype.
493 (lang_map): Print the size of discarded sections.
494 (print_statement): Adjust call to print_input_section.
495
361dff73
DK
4962009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
497
32425da9 498 Merge cegcc and mingw32ce target name changes from CeGCC project:
361dff73 499
32425da9 500 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
361dff73
DK
501
502 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
503 ${tooldir}/lib/w32api.
504
32425da9 505 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
506
507 * configure.tgt: Add arm*-*-cegcc* target.
508
32425da9 509 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
510
511 * configure.tgt: Add arm-*-mingw32ce* target.
512
f3711133
PB
5132009-06-10 Philip Blundell <philb@gnu.org>
514
515 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
516 if section has no ELF data.
517
2a81c24a
L
5182009-06-06 H.J. Lu <hongjiu.lu@intel.com>
519
520 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
521
fc1e8789
L
5222009-06-05 H.J. Lu <hongjiu.lu@intel.com>
523
524 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
525
67a648f1
AM
5262009-06-04 Alan Modra <amodra@bigpond.net.au>
527
528 * dep-in.sed: Don't use \n in replacement part of s command.
529 * Makefile.am (DEP1): LC_ALL for uniq.
530 * Makefile.in: Regenerate.
531
3aa14d16
L
5322009-06-01 H.J. Lu <hongjiu.lu@intel.com>
533
534 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
535 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
536 (GOTPLT): Add "*(.igot)".
537 (__rel_iplt_start): New.
538 (__rel_iplt_end): Likewise.
539 (__rela_iplt_start): Likewise.
540 (__rela_iplt_end): Likewise.
541
05056a8d
DK
5422009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
543
544 * deffilep.y (%union): Add new string-type semantic value 'digits'.
545 (%token): Remove NUMBER as token, add DIGITS.
546 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
547 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
548 (anylang_id): New production.
549 (opt_digits): Likewise.
550 (opt_id): Likewise.
551 (NUMBER): Likewise.
552 (def_lex): Return strings of digits in raw string form as DIGITS
553 token, instead of converting to numeric integer type.
554
c8a1f254
NS
5552009-05-26 Nathan Sidwell <nathan@codesourcery.com>
556
557 * ldmain.c (main): Don't reject --relax -r.
558 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
559 partial links.
560
f12e7348
NC
5612009-05-26 Nick Clifton <nickc@redhat.com>
562
563 * po/id.po: Updated Indonesian translation.
564 * po/ld.pot: Updated template file.
565
00f3247a
AM
5662009-05-26 Alan Modra <amodra@bigpond.net.au>
567
568 * dep-in.sed: Output one filename per line with all lines having
569 continuation backslash. Prefix first line with "A", following
570 lines with "B".
571 * Makefile.am (DEP): Don't use dep.sed here.
572 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
573 sort and uniq.
574 * Makefile.in: Regenerate.
575
e50d6125
AM
5762009-05-26 Alan Modra <amodra@bigpond.net.au>
577
578 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
579
48229727
JB
5802009-05-22 Julian Brown <julian@codesourcery.com>
581
582 * emultempl/armelf.em (fix_cortex_a8): New.
583 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
584 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
585 bfd_elf32_arm_set_target_relocs.
586 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
587 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
588 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
589 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
590 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
591
ec6d26be
NS
5922009-05-22 Nathan Sidwell <nathan@codesourcery.com>
593
594 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
595 sections when checking for overlap. Clarify error message
596 concerns load address.
597
2b3decb5
AM
5982009-05-22 Alan Modra <amodra@bigpond.net.au>
599
600 * Makefile.am: Run "make dep-am".
601 * Makefile.in: Regenerate.
602
c1711530
DK
6032009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
604
605 * NEWS: Mention new feature.
606 * deffile.h (def_file_aligncomm): Add new struct definition.
607 (def_file): Add new def_file_aligncomm member.
608 * deffilep.y (%token): Add new ALIGNCOMM token.
609 (command): Add production rule for ALIGNCOMM.
610 (def_file_free): Free any chained def_file_aligncomm structs.
611 (diropts[]): Add entry for '-aligncomm' .drectve command.
612 (def_aligncomm): New grammar function.
613 * ld.texinfo: Document new feature.
614 * pe-dll.c (process_def_file): Rename from this ...
615 (process_def_file_and_drectve): ... to this, updating all callers,
616 and process any aligncomms chained to the def file after scanning
617 all .drectve sections.
618 (generate_edata): Updated to match.
619 (pe_dll_build_sections): Likewise.
620
b982bd05 6212009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177b81d6
DK
622
623 * pe-dll.c (process_def_file): Do not create empty export table.
624
d127ecce
AM
6252009-05-15 Alan Modra <amodra@bigpond.net.au>
626
627 * ldlang.c (lang_output_section_statement_lookup): Add function
628 comment. Make "name" non-const. Ensure duplicate entries use
629 the same string, allowing simple comparison in hash bucket loop.
630 Tweak constraint check.
631 (next_matching_output_section_statement): New function.
632 * ldlang.h (lang_output_section_statement_lookup): Update.
633 (next_matching_output_section_statement): Declare.
634 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
635 combine orphan sections when input sections flags differ in
636 alloc or load.
637 * emultempl/pe.em: Formatting throughout.
638 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
639 * emultempl/pep.em: Formatting throughout.
640 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
641
cdc83fba
UW
6422009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
643
644 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
645 compact stubs with software i-cache.
646
bbb0fc04
AM
6472009-05-14 Alan Modra <amodra@bigpond.net.au>
648
649 * emultempl/spuelf.em (spu_before_allocation): Call
650 spu_elf_place_overlay_data.
651
011aa75f
AM
6522009-05-14 Alan Modra <amodra@bigpond.net.au>
653
654 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
655 assignment inside output section statement. Ensure only one
656 set of symbols per output section.
657 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
658 dollar sections before dollar sections. Correct add_child
659 list insertion.
660 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
661
2468f9c9
PB
6622009-05-05 Paul Brook <paul@codesourcery.com>
663
664 * emultempl/armelf.em (compare_output_sec_vma): New function.
665 (gld${EMULATION_NAME}_finish): Add exidx munging code.
666
84f1b567
NC
6672009-05-05 Anatoly Sokolov <aesok@post.ru>
668
669 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
670 * emulparams/avr1.sh (DATA_ORIGIN): Add.
671 * emulparams/avr2.sh (DATA_ORIGIN): Add.
672 * emulparams/avr25.sh (DATA_ORIGIN): Add.
673 * emulparams/avr3.sh (DATA_ORIGIN): Add.
674 * emulparams/avr31.sh (DATA_ORIGIN): Add.
675 * emulparams/avr35.sh (DATA_ORIGIN): Add.
676 * emulparams/avr4.sh (DATA_ORIGIN): Add.
677 * emulparams/avr5.sh (DATA_ORIGIN): Add.
678 * emulparams/avr51.sh (DATA_ORIGIN): Add.
679 (DATA_LENGTH): Update.
680 * emulparams/avr6.sh (DATA_ORIGIN): Add.
681 (DATA_LENGTH): Update.
682
09e2aba4
DK
6832009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
684
685 * NEWS: Mention new feature.
686 * ld.texinfo (--version-script): Document extent of PE support.
687 (WIN32): Mention --version-script. Extend auto-export description.
688 * pe-dll.c (process_def_file): Use version script info to filter
689 symbols from auto-export.
690 * testsuite/ld-pe/vers-script-1.d: New file.
691 * testsuite/ld-pe/vers-script-2.d: New file.
692 * testsuite/ld-pe/vers-script-3.d: New file.
693 * testsuite/ld-pe/vers-script-4.d: New file.
694 * testsuite/ld-pe/vers-script-1.ver: New file.
695 * testsuite/ld-pe/vers-script-2.ver: New file.
696 * testsuite/ld-pe/vers-script-3.ver: New file.
697 * testsuite/ld-pe/vers-script-4.ver: New file.
698 * testsuite/ld-pe/vers-script-dll.c: New file.
699 * testsuite/ld-pe/vers-script.exp: New test script.
700
1f7f5cbe
NS
7012009-05-01 Nathan Sidwell <nathan@codesourcery.com>
702
703 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
704
d8045f23
NC
7052009-04-30 Nick Clifton <nickc@redhat.com>
706
707 * NEWS: Mention support for IFUNC symbols.
708
efaf18f3
AG
7092009-04-29 Anthony Green <green@moxielogic.com>
710
711 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
712 position out to accommodate larger programs.
713
267e2722
CD
7142009-04-29 Chris Demetriou <cgd@google.com>
715
716 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
717 (ld_options): Likewise.
718 (parse_args): Likewise.
719 * ld.texinfo: Document --no-export-dynamic.
720 * NEWS: Mention --no-export-dynamic.
721
8e58566f
AM
7222009-04-29 Alan Modra <amodra@bigpond.net.au>
723
724 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
725
f50230ae
AM
7262009-04-25 Alan Modra <amodra@bigpond.net.au>
727
cafed8af 728 PR 10061
f50230ae
AM
729 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
730 param.
731
3e6b1042
DJ
7322009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
733
734 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
735 (arm_elf_set_bfd_for_interworking): Delete.
736 (arm_elf_before_allocation): Do not set the interworking BFD.
737 Move allocation inside not-dynamic block.
738 (arm_elf_create_output_section_statements): Create glue sections
739 and set the interworking BFD here.
740 (LDEMUL_AFTER_OPEN): Delete.
741
3023e3f6
RS
7422009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
743
744 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
745
20135e4c
NC
7462009-04-15 Anthony Green <green@moxielogic.com>
747
748 * configure.tgt: Add moxie support.
749 * Makefile.am: Add moxie files.
750 * Makefile.in: Rebuilt.
751 * emulparams/elf32moxie.sh: New file.
752 * scripttempl/moxie.sc: New file.
753
39e65143
KH
7542009-04-15 Kazu Hirata <kazu@codesourcery.com>
755
756 * ldlang.c: Do not include limits.h.
757
c38b10fa
AM
7582009-04-14 Alan Modra <amodra@bigpond.net.au>
759
760 PR ld/10047
761 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
762 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
763
8c3e16f4
L
7642009-04-13 H.J. Lu <hongjiu.lu@intel.com>
765
766 * ldfile.c (ldfile_find_command_file): Revert the last change.
767
6dc6e834
L
7682009-04-11 H.J. Lu <hongjiu.lu@intel.com>
769
770 PR ld/10047
771 * ldfile.c (ldfile_find_command_file): First try raw name.
772
0c71d759
NC
7732009-04-09 Nick Clifton <nickc@redhat.com>
774
775 PR 9824
776 * ld.texinfo (Output Section Constraint): New node. Documents the
777 ONLY_IF_RO and ONLY_IF_RW constraints.
778 (Symbolic Constants): New node. Documents the CONSTANT operator.
779
fc15a272
AM
7802009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
781
782 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
783 of fork/execvp.
784
a0c402a5
L
7852009-04-08 H.J. Lu <hongjiu.lu@intel.com>
786
787 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
788 (ld_options): Likewise.
789 (parse_args): Likewise.
790
791 * ld.texinfo: Document --warn-alternate-em.
792
793 * NEWS: Mention --warn-alternate-em.
794
4d28413b
DD
7952009-04-07 DJ Delorie <dj@redhat.com>
796
797 * emulparams/elf32mep.sh: Change default endian to little.
798
6ce340f1
NC
7992009-04-07 Nick Clifton <nickc@redhat.com>
800
801 * ld.texinfo (Output Section Address): Note that specifying an
802 address for an output section will only change the location
803 counter if the output section is used.
804
32252ac1
KH
8052009-04-06 Kazu Hirata <kazu@codesourcery.com>
806
807 * ldfile.c (ldfile_find_command_file): Initialize result.
808
7d24f02c
KH
8092009-04-06 Kazu Hirata <kazu@codesourcery.com>
810
811 * ld.texinfo (-L): Mention that -L options do not affect how ld
812 searches for a linker script unless -T option is specified.
813 * ldfile.c (ldfile_find_command_file): Append the path obtained
814 from the program name to the search path instead of
815 prepending. Add a new parameter "default_only". Restrict the
816 search to the default script location if the new parameter is
817 true.
818 (ldfile_open_command_file_1): New.
819 (ldfile_open_command_file): Call ldfile_open_command_file_1.
820 (ldfile_open_default_command_file): New.
821
113e6845
NS
8222009-04-03 Nathan Sidwell <nathan@codesourcery.com>
823
824 * ldlang.c (lang_leave_output_section_statement): Set lma_region
825 if it is not overridden and section is for the same vma region as
826 the previous section.
827
8b747e1a
DK
8282009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
829
830 PR ld/6744
831 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
832 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
833 warning if --export-dynamic was passed on command-line.
834 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
835
24c611d1
RS
8362009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
837
838 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
839 function.
840 (ld_${EMULATION_NAME}_emulation): Use it.
841
4bf27aa9
L
8422009-03-20 H.J. Lu <hongjiu.lu@intel.com>
843
844 PR ld/9970
845 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
846
ad2adbc8
AM
8472009-03-19 Alan Modra <amodra@bigpond.net.au>
848
849 * emultempl/spuelf.em (spu_before_allocation): Report errors from
850 spu_elf_find_overlays.
851
e9dfee34
L
8522009-03-18 H.J. Lu <hongjiu.lu@intel.com>
853
854 PR ld/6766
855 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
856
8d25cc3d
AM
8572009-03-18 Alan Modra <amodra@bigpond.net.au>
858
859 * ld.h: Remove alloca handling.
860
a7e11ee1
AM
8612009-03-17 Alan Modra <amodra@bigpond.net.au>
862
863 * emultempl/spu_icache.S: Add new entry to dummy handler.
864 * emultempl/spu_icache.o_c: Regenerate.
865 * emultempl/spuelf.em (params): Init new field.
866 (no_overlays): New static var.
867 (spu_before_allocation): Use it.
868 (OPTION_SPU_COMPACT_STUBS): Define.
869 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
870 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
871 handling.
872
bba21f15
AM
8732009-03-17 Alan Modra <amodra@bigpond.net.au>
874
875 * configure.host (HOSTING_LIBS): Two dollars on shell variable
876 expansion to suit make.
877
eccbf555
AM
8782009-03-17 Alan Modra <amodra@bigpond.net.au>
879
880 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
881 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
882 * aclocal.m4: Regenerate.
883 * configure: Regenerate.
884 * Makefile.in: Regenerate.
885
b64232cc
RS
8862009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
887
888 * emultempl/aix.em (auto_export_flags): New variable.
889 (explicit_auto_export_flags): Likewise.
890 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
891 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
892 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
893 -bnoexpall and -bnoexpfull.
894 (gld${EMULATION_NAME}_handle_option): Handle them.
895 (gld${EMULATION_NAME}_before_allocation): Update the call to
896 bfd_size_dynamic_sections.
897
858ef0ce
RS
8982009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
899
900 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
901 -berok and -bernotok control link_info.unresolved_syms_in_objects
902 and link_info.unresolved_syms_in_shared_libs instead of
903 force_make_executable.
904
62008a16
RS
9052009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
906
907 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
908 config.dynamic_link to TRUE.
909
9ec59d51
RS
9102009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
911
912 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
913 .text, .data and .bss output sections as SEC_KEEP.
914
e5231592
RS
9152009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
916
917 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
918
2f563b51 9192009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
249b2a84 920 Danny Smith <dannysmith@users.sourceforge.net>
2f563b51
DK
921
922 * emultmpl/pe.em (pe_dll_characteristics): New variable.
923 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
924 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
925 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
926 New macros for options to set DllCharacteristics flag bits.
927 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
928 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
929 (init): Add DllCharacteristics field.
930 (gld_${EMULATION_NAME}_list_options): List new options.
931 (gld${EMULATION_NAME}_handle_option): Handle new options.
932 * emultmpl/pep.em (pe_dll_characteristics): New variable.
933 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
934 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
935 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
936 New macros for options to set DllCharacteristics flags.
937 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
938 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
939 (init): Add DllCharacteristics field.
940 (gld_${EMULATION_NAME}_list_options): List new options.
941 (gld${EMULATION_NAME}_handle_option): Handle new options.
942 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
943 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
944
d11fd249
NC
9452009-03-06 Nick Clifton <nickc@redhat.com>
946
947 * po/es.po: Updated Spanish translation.
948
3efd345c
DK
9492009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
950
951 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
952 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
953 of all input BFDs, looking for debug info. Enable long section names
954 if any found.
955 * emultempl/pe.em (debug_section_p): Likewise.
956 (gld_${EMULATION_NAME}_after_open): Likewise.
957 * NEWS: Retrospectively adjust news announcement.
958 * ld.texinfo: Update documentation to mention new behaviour.
959
a1f7ca36
AM
9602009-03-03 Alan Modra <amodra@bigpond.net.au>
961
962 * Makefile.am: Run "make dep-am".
963 * Makefile.in: Regenerate.
964
4a93e180
NC
9652009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
966
967 * ldgram.y: Add support for REGION_ALIAS operator.
968 * ldlang.c: Likewise.
969 * ldlang.h: Likewise.
970 * ldlex.l: Likewise.
971 * NEWS: Mention the new feature.
972 * ld.texinfo: Document the new feature.
973
c3b7224a
NC
9742009-03-02 Qinwei <qinwei@sunnorth.com.cn>
975
976 * Makefile.am: Replace score elf emulation with score3 and score7
977 emulations.
978 * Makefile.in: Regenerate,
979 * NEWS: Mention support for Score7 architecture.
980 * configure.tgt: Add score7 emulation to score-elf target.
981 * emulparams/scoreelf.sh: Add score7 support.
982 * emultempl/scoreelf.em: Likewise.
983
d1bbb13a
DA
9842009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
985
986 * configure.tgt: Only use elf64hppa target emulation for hpux.
987 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
988 (SCRIPT_NAME): Use new script elf64hppa.
989 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
990 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
991 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
992 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
993 TEXT_DYNAMIC): Define.
994 * emulparams/hppa64linux.sh: Adjust comments.
995 * scripttempl/elf64hppa.sc: New file.
996
58e24671
RW
9972009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
998
999 * configure: Regenerate.
1000
5b9c6027
DK
10012009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
1002
1003 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
1004 default state of auto-import flag based on $target.
1005
07d72278
DJ
10062009-02-24 Joseph Myers <joseph@codesourcery.com>
1007
1008 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
1009 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
1010 (elf32_arm_add_stub_section): Update comment.
1011 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
1012
2509a395
SL
10132009-02-24 Sandra Loosemore <sandra@codesourcery.com>
1014
1015 * ld.texinfo (Options): Correct typos in example. Recommend
7ee314fa 1016 using joined forms of syntax for passing options with arguments
2509a395
SL
1017 from a driver.
1018 (-a): Use consistent syntax for documenting option arguments.
1019 Clean up indexing and markup.
1020 (-A/--architecture): Likewise.
1021 (-f/--auxiliary): Likewise.
1022 (-F/--filter): Likewise.
1023 (-fini): Likewise.
1024 (-G/--gpsize): Likewise.
1025 (-h/-soname):Likewise.
1026 (-init): Likewise.
1027 (-l/--library): Likewise.
1028 (-L/--library-path): Likewise.
1029 (-m): Likewise.
1030 (--defsym): Likewise.
1031 (-I/--dynamic-linker): Likewise.
1032 (-Map): Likewise.
1033 (--oformat): Likewise.
1034 (--retain-symbols-file): Likewise.
1035 (-rpath): Likewise.
1036 (-rpath-link): Likewise.
1037 (--sort-common): Likewise.
1038 (--sort-section): Likewise.
1039 (--split-by-file): Likewise.
1040 (--split-by-reloc): Likewise.
1041 (--sysroot): Likewise.
1042 (--section-start): Likewise.
1043 (-Tbss, -Tdata, -Ttext): Likewise.
1044 (-Ttext-segment): Likewise.
1045 (--version-script): Likewise.
1046 (--wrap): Likewise.
1047
44cf6883 10482009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
1049
1050 * ld.texinfo: Update to mention long section name options.
1051 * NEWS: Mention new behaviour and command-line options.
1052 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
1053 (pe_output_file_set_long_section_names): New function.
1054 (pe_dll_build_sections): Call it on output BFDs.
1055 (pe_exe_build_sections): Likewise.
1056 (pe_dll_fill_sections): Likewise.
1057 (pe_exe_fill_sections): Likewise.
1058 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
1059 (pe_output_file_set_long_section_names): Add prototype.
1060 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
1061 (pe_output_file_set_long_section_names): Likewise.
1062 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
1063 (pep_output_file_set_long_section_names): Add prototype.
1064 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
1065 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
1066 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
1067 (gld_${EMULATION_NAME}_list_options): Describe them.
1068 (gld${EMULATION_NAME}_handle_option): Set or clear global
1069 pe_use_coff_long_section_names flag when options recognised.
1070 (gld_${EMULATION_NAME}_after_open): En/disable long section names
1071 for main output bfd by calling pe_output_file_set_long_section_names.
1072 * pep.em (enum options): Extend enum with new getopt option values.
1073 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
1074 (gld_${EMULATION_NAME}_list_options): Describe them.
1075 (gld${EMULATION_NAME}_handle_option): Set or clear global
1076 pe_use_coff_long_section_names flag when options recognised.
1077 (gld_${EMULATION_NAME}_after_open): En/disable long section names
1078 for main output bfd by calling pep_output_file_set_long_section_names.
1079
1491f1f0
DK
10802009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
1081
1082 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
1083 inadvertent .reloc sections caused by refactoring accident.
1084
d2ae7be0
AM
10852009-02-16 Alan Modra <amodra@bigpond.net.au>
1086
1087 * ldlang.c (process_insert_statements): ASSERT that output section
1088 statements are in order.
1089
bde18da4
AM
10902009-02-16 Alan Modra <amodra@bigpond.net.au>
1091
1092 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1093 (stat_save, stat_save_ptr): New variables.
1094 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1095 (load_symbols): Likewise. Delete dead "bad_load" code.
1096 (open_input_bfds): Warn on script containing output sections.
1097 (lang_enter_output_section_statement): Use push_stat_ptr.
1098 (lang_enter_group): Likewise.
1099 (lang_leave_output_section_statement): Use pop_stat_ptr.
1100 (lang_leave_group): Likewise.
1101 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1102 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1103 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1104 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1105 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1106 * emultempl/spuelf.em (spu_place_special_section): Likewise.
1107 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1108
662ef24b
NS
11092009-02-09 Nathan Sidwell <nathan@codesourcery.com>
1110
1111 Missing piece of 2009-01-26 commit
1112 * ldlang.c (lang_process): Don't consider relocatable flag when
1113 checking for overlap.
1114
268e4015
JM
11152009-02-05 Joseph Myers <joseph@codesourcery.com>
1116
1117 * emulparams/m68kelf.sh: Add newline at end of file.
1118
903249d7
NC
11192009-02-04 Nick Clifton <nickc@redhat.com>
1120
1121 PR 9805
1122 * ld.texinfo (--allow-shlib-undefined): Correct description of
1123 default settings and tidy up the rest of the entry.
1124
df636c05
AM
11252009-02-04 Alan Modra <amodra@bigpond.net.au>
1126
1127 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1128 during relocatable link.
1129
8a308ae8
NC
11302009-02-03 Nick Clifton <nickc@redhat.com>
1131
1132 PR 9797
1133 * ld.texinfo (Constants): Document the base-encoding suffixes
1134 supported in linker scripts.
1135
28024d9d
L
11362009-02-03 Alan Modra <amodra@bigpond.net.au>
1137
1138 * NEWS: Mention --as-needed change.
1139
31dd3154
JM
11402009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1141
1142 * configure.in: AC_SUBST pdfdir.
1143 * Makefile.am: Add install-pdf, install-pdf-am,
1144 and install-pdf-recursive targets. Define pdf__strip_dir.
1145 * po/Make-in: Add install-pdf target.
1146 * configure: Regenerate.
1147 * Makefile.in: Regenerate.
1148
010e5ae2
AM
11492009-01-31 Alan Modra <amodra@bigpond.net.au>
1150
1151 * ld.texinfo (--as-needed): Update.
1152
893dcb0e
JM
11532009-01-29 Andrew Jenner <andrew@codesourcery.com>
1154
1155 * emultempl/armelf.em: Correct formatting of help text for
1156 --no-enum-size-warning option.
1157
02b0b1aa
NS
11582009-01-26 Nathan Sidwell <nathan@codesourcery.com>
1159
1160 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1161 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
1162 * ldmain.c (main): Default check_section_addresses to -1. Check it
1163 for relocatable links.
1164 * ld.texinfo (--check-sections): Update documentation.
1165
9382254d
KT
11662009-01-26 Kai Tietz <kai.tietz@onevision.com>
1167
1168 * pe-dll.c (tmp_seq2): New static variable.
1169 (make_singleton_name_imp): New.
1170 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
1171 avoid duplicate import table generation for same symbol.
1172 (pe_create_runtime_relocator_reference): Make reference for
1173 64-bit 8 bytes.
1174
fb266b8b
AM
11752009-01-21 Alan Modra <amodra@bigpond.net.au>
1176
1177 * emultempl/spuelf.em (params): Init new field.
1178 (OPTION_SPU_NON_IA_TEXT): Define.
1179 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1180 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1181
258795f5
L
11822009-01-16 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1185 (ld_options): Add -Ttext-segment.
1186 (parse_args): Handle OPTION_TTEXT_SEGMENT.
1187
1188 * ld.texinfo: Document -Ttext-segment.
1189
1190 * NEWS: Mention -Ttext-segment.
1191
1192 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1193 (SHLIB_TEXT_START_ADDR): Likewise.
1194
8d8047c4
AM
11952009-01-13 Alan Modra <amodra@bigpond.net.au>
1196
1197 * emultempl/spu_icache.o_c: Regenerate.
1198
cd4a7468
AM
11992009-01-12 Alan Modra <amodra@bigpond.net.au>
1200
1201 * emultempl/spuelf.em (params): Init new fields.
1202 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1203 (spu_place_special_section): Adjust placement for soft-icache. Pad
1204 soft-icache section to a fixed size. Clear addr_tree.
1205 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
1206 sections a little more intelligently.
1207 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1208 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1209 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1210 (OPTION_SPU_LRLIVE): Define.
1211 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1212 (PARSE_AND_LIST_OPTIONS): Likewise.
1213 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1214 * emultempl/spu_icache.S: Dummy file.
1215 * emultempl/spu_icache.o_c: Regenerate.
1216 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1217 (spu_icache.o_c): Add rule to build.
1218 (CLEANFILES): Zap temp files.
1219 (EXTRA_DIST): Add spu_icache.o_c.
1220 * Makefile.in: Regenerate.
1221
ce11ba6c
KT
12222009-01-08 Kai Tietz <kai.tietz@onevision.com>
1223
1224 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1225 (gld..._add_options): Add new option
1226 --use-nul-prefixed-import-tables.
1227 (gld..._handle_option): Likewise.
1228 * pep.em: Same as for pe.em.
1229 * ld.texinfo: Add new option documentation for
1230 --use-nul-prefixed-import-tables.
1231 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1232 (make_head): Make prefix leading zero prefix element for
1233 idata$4 and idata$5 dependent to new flag.
1234 (make_import_fixup_entry): Remove idata4/5 prefix.
1235 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1236 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1237 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1238 * NEWS: Add new option.
1239
d34c1c51
KT
12402009-01-05 Kai Tietz <kai.tietz@onevision.com>
1241
1242 * emultempl/pe.em: Prefix dollar characters to be outputed in
1243 generated C file.
1244 * emultempl/pep.em: Likewise.
1245
e1c37eb5
DK
12462009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
1247
1248 * NEWS: Mention new feature --exclude-modules-for-implib.
1249 * ld.texinfo: Document new --exclude-modules-for-implib option.
1250 * pe-dll.c (exclude_list_struct): Change type member from int to
1251 new enumeration exclude_type.
1252 (pe_dll_add_excludes): Accept exclude_type instead of int param.
1253 (auto_export): Replace magic constants by exclude_type values and
1254 handle new choice EXCLUDEFORIMPLIB.
1255 (pe_dll_generate_implib): Accept a pointer to the link_info and
1256 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1257 fresh BFDs for any found and link into import lib archive chain.
1258 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
1259 constants previously used for exclude_list_struct type member.
1260 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
1261 * pep-dll.h (exclude_type, pe_dll_add_excludes,
1262 pe_dll_generate_implib): Likewise to all the above.
1263 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
1264 getopts long option code for new --exclude-modules-for-implib option.
1265 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
1266 (gld_${EMULATION_NAME}_list_options): List usage for it.
1267 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
1268 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1269 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
1270 calling pe_dll_generate_implib.
1271 * emultempl/pep.em (options): Define new enumerated value for getopts
1272 long option code for new --exclude-modules-for-implib option.
1273 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1274 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1275 Again, likewise to all the above.
1276
81b07b16 12772009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 1278
81b07b16
DK
1279 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
1280 (libnamencmp): New function.
1281 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 1282
81b07b16 1283For older changes see ChangeLog-2008
252b5132
RH
1284\f
1285Local Variables:
1286mode: change-log
1287left-margin: 8
1288fill-column: 74
1289version-control: never
1290End:
This page took 0.571831 seconds and 4 git commands to generate.