]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/ChangeLog
2009-10-23 Kai Tietz <kai.tietz@onevision.com>
[thirdparty/binutils-gdb.git] / ld / ChangeLog
CommitLineData
7fcab871
KT
12009-10-23 Kai Tietz <kai.tietz@onevision.com>
2
3 * deffile.h (def_file_export): New member its_name.
4 (def_file_import): Likewise.
5 (def_file_add_export): Add argument its_name.
6 (def_file_add_import): Likewise.
7 * deffilep.y (def_exports): Add argument its_name.
8 (def_import): Likewise.
9 (EQUAL): Add new token for '=='.
10 (opt_equalequal_name): New rule.
11 (expline): Add rule opt_equalequal_name.
12 (impline): Likewise.
13 (def_file_free): Free for exports and imports
14 the optional member its_name.
15 (def_lex): Add scan of '==' as EQUAL.
16 * pe-dll.c (pe_export_sort): Sort for its_name too.
17 (process_def_file_and_drectve): Adjust calls to
18 def_file_add_export.
19 (generate_edata): Take its_name in account.
20 (make_one): Likewise.
21 (pe_process_import_defs): Likewise.
22 (pe_dll_generate_def_file): Add print of new '==' option.
23 * ld.texinfo: Extend documentation about .def file syntax.
24 * NEWS: Mention new feature.
25
424908eb
KT
262009-10-23 Kai Tietz <kai.tietz@onevision.com>
27
28 * deffilep.y (def_lex): Allow '<' and '>' characters in identifier
29 strings.
30
07f1e47a
AM
312009-10-23 Ryan Mansfield <rmansfield@qnx.com>
32
33 PR ld/10489
34 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle
35 drive specifiers for DOS based filesystems in rpath-link strings.
36
764ed107
NC
372009-10-19 Nick Clifton <nickc@redhat.com>
38
39 * Makefile.am: Remove spurious sanitization marker.
40 * Makefile.in: Regenerate.
41
2927aaca
NC
422009-10-16 Dimitry Gorbachev <d.g.gorbachev@gmail.com>
43
44 * emultempl/pe.em (OPTION_EXCLUDE_ALL_SYMBOLS): New macro.
45 (gld${EMULATION_NAME}_add_options): Add new --exclude-all-symbols option
46 to exclude all symbols from automatic export.
47 (gld_${EMULATION_NAME}_list_options): Describe it.
48 (gld${EMULATION_NAME}_handle_option): Handle it.
49 * emultempl/pep.em: Likewise to all the above.
50 * pe-dll.c (pe_dll_exclude_all_symbols): New variable.
51 (process_def_file_and_drectve): Use it.
52 * pe-dll.h (pe_dll_exclude_all_symbols): Declare.
53 * pep-dll.c (pep_dll_exclude_all_symbols): Define pep_ alias.
54 * pep-dll.h (pe_dll_exclude_all_symbols): Declare.
55 * NEWS: Mention the new feature.
56 * ld.texinfo: Document the new command line switch.
57
d05c651b
AS
582009-10-14 Andreas Schwab <schwab@linux-m68k.org>
59
60 * ldlex.l (yy_input): Remove second argument and return the value
61 instead.
62 (YY_INPUT): Adjust.
63
f88dc410
AM
642009-10-14 Alan Modra <amodra@bigpond.net.au>
65
66 * emultempl/netbsd.em (gldnetbsd_before_parse): Typo fix.
67
fc1ed737
AM
682009-10-14 Ryan Mansfield <rmansfield@qnx.com>
69
70 * ldlang.c (load_symbols): Set whole_archive from entry when
71 parsing a linker script.
72
ec2d9b29
AM
732009-10-10 Alan Modra <amodra@bigpond.net.au>
74
75 * scripttempl/elf32cr16.sc: Revert 2009-09-28 changes.
76 * scripttempl/elf32cr16c.sc: Likewise.
77 * scripttempl/elf32crx.sc: Likewise.
78 * scripttempl/tic54xcoff.sc: Likewise.
79 * scripttempl/aix.sc: Likewise.
80 * scripttempl/avr.sc: Likewise.
81 * scripttempl/elf32msp430.sc: Likewise.
82 * scripttempl/elf32msp430_3.sc: Likewise.
83 * scripttempl/elf32sh-symbian.sc: Likewise.
84 * scripttempl/elf_chaos.sc: Likewise.
85 * scripttempl/elfi370.sc: Likewise.
86 * scripttempl/nw.sc: Likewise.
87 * scripttempl/psos.sc: Likewise.
88 * scripttempl/armbpabi.sc: Likewise.
89 * scripttempl/elf.sc: Likewise.
90 * scripttempl/elf64hppa.sc: Likewise.
91 * scripttempl/elfd10v.sc: Likewise.
92 * scripttempl/elfd30v.sc: Likewise.
93 * scripttempl/elfm68hc11.sc: Likewise.
94 * scripttempl/elfm68hc12.sc: Likewise.
95 * scripttempl/elfmicroblaze.sc: Likewise.
96 * scripttempl/elfxtensa.sc: Likewise.
97 * scripttempl/iq2000.sc: Likewise.
98 * scripttempl/mep.sc: Likewise.
99 * scripttempl/xstormy16.sc: Likewise.
100
fd68d03d
AM
1012009-10-09 Alan Modra <amodra@bigpond.net.au>
102
103 PR ld/10749
104 * ldlang.c (lang_size_sections_1): Zero section vmas only for COFF.
105
4100cea3
AM
1062009-10-08 Alan Modra <amodra@bigpond.net.au>
107
108 PR ld/10744
109 * ldlang.c (lang_new_phdr): Allow FILEHDR/PHDRS on more than the
110 first PT_LOAD header.
111 * ld.texinfo: Update.
112
5c1a3f0f
NS
1132009-10-06 Nathan Sidwell <nathan@codesourcery.com>
114
115 * ldlang.c (lang_new_phdr): Check PHDRS and FILEHDR in loadable
116 segments do not appear after a different loadable segment.
117 * ld.texinfo (PHDRS): Document order of processing segments.
118 Document where PHDRS and FILEHDR may appear.
119
b02c4cfa
AM
1202009-10-03 Alan Modra <amodra@bigpond.net.au>
121
122 * emultempl/ppc32elf.em (emit_stub_syms): Init to -1.
123 (ppc_after_open): Set emit_stubs_syms by default when shared.
124 (OPTION_NO_STUBSYMS): Define.
125 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
126 PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
127 * emultempl/ppc64elf.em (emit_stub_syms): Init to -1.
128 (gld${EMULATION_NAME}_finish): Set emit_stubs_syms by default.
129 (OPTION_NO_STUBSYMS): Define.
130 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS,
131 PARSE_AND_LIST_ARGS_CASES): Handle --no-emit-stub-syms.
132
94f63f20
NC
1332009-09-29 Joel Sherrill <joel.sherrill@oarcorp.com>
134
135 * emulparams/m68kelf.sh (NOP): Use 0x4e71 (nop) rather than 0x4e75
136 (rts).
137
c7927a3c
NC
1382009-09-29 DJ Delorie <dj@redhat.com>
139
140 * Makefile.am: Add rules to build RX emulation.
141 * configure.tgt: Likewise.
142 * NEWS: Mention support for RX architecture.
143 * Makefile.in: Regenerate.
144 * emulparams/elf32rx.sh: New file.
145 * emultempl/rxelf.em: New file.
146
cafed8af
AM
1472009-09-29 Alan Modra <amodra@bigpond.net.au>
148
149 * ldlang.c (lang_size_sections_1): Allow scripts to specify a
150 non-zero vma even when relocatable.
151
df381c72
AM
1522009-09-28 Alan Modra <amodra@bigpond.net.au>
153
154 * scripttempl/elf32cr16.sc: Emit empty script for ld -r and ld -Ur.
155 * scripttempl/elf32cr16c.sc: Likewise.
156 * scripttempl/elf32crx.sc: Likewise.
5ccff776 157 * scripttempl/tic54xcoff.sc: Likewise.
df381c72
AM
158 * scripttempl/aix.sc: Delete ${RELOCATING-0}.
159 * scripttempl/avr.sc: Likewise.
160 * scripttempl/elf32msp430.sc: Likewise.
161 * scripttempl/elf32msp430_3.sc: Likewise.
162 * scripttempl/elf32sh-symbian.sc: Likewise.
163 * scripttempl/elf_chaos.sc: Likewise.
164 * scripttempl/elfi370.sc: Likewise.
165 * scripttempl/nw.sc: Likewise.
166 * scripttempl/psos.sc: Likewise.
167 * scripttempl/armbpabi.sc: Delete ${RELOCATING-0} and ${CONSTRUCTING-0}.
168 * scripttempl/elf.sc: Likewise.
169 * scripttempl/elf64hppa.sc: Likewise.
170 * scripttempl/elfd10v.sc: Likewise.
171 * scripttempl/elfd30v.sc: Likewise.
172 * scripttempl/elfm68hc11.sc: Likewise.
173 * scripttempl/elfm68hc12.sc: Likewise.
174 * scripttempl/elfmicroblaze.sc: Likewise.
175 * scripttempl/elfxtensa.sc: Likewise.
176 * scripttempl/iq2000.sc: Likewise.
177 * scripttempl/mep.sc: Likewise.
178 * scripttempl/xstormy16.sc: Likewise.
179
eceda120
CF
1802009-09-27 Christopher Faylor <me+cygwin@cgf.cx>
181
fd68d03d 182 PR ld/10634
eceda120
CF
183 * ldlang.c (lang_size_sections_1): Always force output vma to zero for
184 relocatable sections.
185 (lang_size_sections_1): Revert previous COFF-only accommodation for
186 relocatable sections.
187
21d799b5
NC
1882009-09-25 Martin Thuresson <martint@google.com>
189
e0c483d6 190 Update sources to make arm targets compile cleanly with
21d799b5
NC
191 -Wc++-compat:
192 * emultempl/armelf.em: Add casts.
193
7ee314fa
AM
1942009-09-23 Matt Rice <ratmice@gmail.com>
195
196 * emultempl/elf32.em (gld${EMULATION_NAME}_add_options): Add --audit,
197 --depaudit, and -P options.
198 (gld${EULATION_NAME}_handle_options): Ditto.
199 (gld${EULATION_NAME}_list_options): Ditto.
200 (gld${EMULATION_NAME}_append_to_separated_string): New function for
201 handling rpath-like colon separated strings.
202 (gld${EMULATION_NAME}_before_allocation): Pass the audit and depaudit
203 libs to bfd. Propagate DT_AUDIT from needed libs to depaudit.
204 * ld.texinfo: Document new options.
205
8a00d392
NC
2062009-09-23 Nick Clifton <nickc@redhat.com>
207
208 * po/vi.po: Updated Vietnamese translation.
209
7807ee0c
AM
2102009-09-22 Alan Modra <amodra@bigpond.net.au>
211
212 * scripttempl/a29k.sc: Delete.
213 * scripttempl/ebmon29k.sc: Delete.
214 * scripttempl/m68klynx.sc: Delete.
215 * scripttempl/sa29200.sc: Delete.
216 * scripttempl/sparclynx.sc: Delete.
217
a7f2871e
AM
2182009-09-21 Alan Modra <amodra@bigpond.net.au>
219
220 * emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
221 (ppc_before_allocation): Pass to ppc_elf_tls_setup.
222 (OPTION_NO_TLS_GET_ADDR_OPT): Define. Redefine other options in
223 terms of previous option.
224 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
225 --no-tls-get-addr-optimize.
226 (PARSE_AND_LIST_ARGS_CASES): Handle it.
227 * emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
228 (ppc_before_allocation): Pass to ppc64_elf_tls_setup.
229 (OPTION_NO_TLS_GET_ADDR_OPT): Define.
230 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
231 --no-tls-get-addr-optimize.
232 (PARSE_AND_LIST_ARGS_CASES): Handle it.
233
ca58b19f
NC
2342009-09-18 Nick Clifton <nickc@redhat.com>
235
236 * po/es.po: Updated Spanish translation.
237
97b11f40
AM
2382009-09-13 Alan Modra <amodra@bigpond.net.au>
239
cafed8af 240 PR ld/6766
97b11f40
AM
241 * lexsup.c (parse_args <-e>): Revert 2009-03-18 change.
242 * ldemul.c (after_parse_default): Add entry symbol as undef.
243 * emultempl/alphaelf.em (alpha_after_parse): Call after_parse_default.
244 * emultempl/cr16elf.em (cr16elf_after_parse): Likewise.
245 * emultempl/crxelf.em (crxelf_after_parse): Likewise.
246 * emultempl/hppaelf.em (hppaelf_after_parse): Likewise.
247 * emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Likewise.
248 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Call
249 after_parse_default and delete now duplicate code.
250 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
251 * scripttempl/elf32cr16.sc: No need to make entry extern.
252 * scripttempl/elf32cr16c.sc: Likewise.
253 * scripttempl/elf32crx.sc: Likewise.
254 * scripttempl/elf32xc16xs.sc: Only provide ENTRY on final link.
255
1e9cc1c2
NC
2562009-09-11 Nick Clifton <nickc@redhat.com>
257
258 * po/ld.pot: Updated by the Translation project.
259 * po/fi.po: Updated Finnish translation.
260
2612009-09-11 Martin Thuresson <martint@google.com>
262
263 Updated sources to compile cleanly with -Wc++-compat:
264 * ld.h (enum endian_enum,enum symbolic_enum,enum
265 dynamic_list_enum): Move to top level.
266 * ldcref.c: Add casts.
267 * ldctor.c: Add casts.
268 * ldexp.c
269 * ldexp.h (enum node_tree_enum,enum phase_enum): Move to top level.
270 * ldlang.c: Add casts. (lang_insert_orphan): Use enum name instead
271 of integer.
272 * ldlang.h (enum statement_enum): Move to top level.
273 * ldmain.c: Add casts.
274 * ldwrite.c: Add casts.
275 * lexsup.c: Add casts. (enum control_enum): Move to top level.
276 * mri.c: Add casts. (mri_draw_tree): Use enum name instead of
277 integer.
278
596d6d91
AM
2792009-09-09 Alan Modra <amodra@bigpond.net.au>
280
281 * scripttempl/aix.sc: Only provide ENTRY on final link.
282 * scripttempl/alpha.sc: Likewise.
283 * scripttempl/armcoff.sc: Likewise.
284 * scripttempl/crisaout.sc: Likewise.
285 * scripttempl/delta68.sc: Likewise.
286 * scripttempl/ebmon29k.sc: Likewise.
287 * scripttempl/elf32xc16x.sc: Likewise.
288 * scripttempl/elf32xc16xl.sc: Likewise.
289 * scripttempl/elfmicroblaze.sc: Likewise.
290 * scripttempl/epocpe.sc: Likewise.
291 * scripttempl/h8300.sc: Likewise.
292 * scripttempl/h8300h.sc: Likewise.
293 * scripttempl/h8300hn.sc: Likewise.
294 * scripttempl/h8300s.sc: Likewise.
295 * scripttempl/h8300sn.sc: Likewise.
296 * scripttempl/h8300sx.sc: Likewise.
297 * scripttempl/h8300sxn.sc: Likewise.
298 * scripttempl/hppaelf.sc: Likewise.
299 * scripttempl/i386beos.sc: Likewise.
300 * scripttempl/i386coff.sc: Likewise.
301 * scripttempl/i386go32.sc: Likewise.
302 * scripttempl/m68kaux.sc: Likewise.
303 * scripttempl/m68klynx.sc: Likewise.
304 * scripttempl/m88kbcs.sc: Likewise.
305 * scripttempl/maxqcoff.sc: Likewise.
306 * scripttempl/mcorepe.sc: Likewise.
307 * scripttempl/mips.sc: Likewise.
308 * scripttempl/ppcpe.sc: Likewise.
309 * scripttempl/sa29200.sc: Likewise.
310 * scripttempl/sparccoff.sc: Likewise.
311 * scripttempl/sparclynx.sc: Likewise.
312 * scripttempl/tic4xcoff.sc: Likewise.
313 * scripttempl/tic54xcoff.sc: Likewise.
314 * scripttempl/tic80coff.sc: Likewise.
315 * scripttempl/z8000.sc: Likewise.
316
23f938f1
TG
3172009-09-07 Tristan Gingold <gingold@adacore.com>
318
319 * po/ld.pot: Regenerate.
320
96d56e9f
NC
3212009-09-05 Martin Thuresson <martin@mtme.org>
322
323 * emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols,
324 gld${EMULATION_NAME}_try_needed): Rename variable class to
325 link_class.
326
81c23f82
TG
3272009-09-04 Tristan Gingold <gingold@adacore.com>
328
329 * NEWS: Add marker for 2.20.
330
4c4fb5da
AM
3312009-09-04 Alan Modra <amodra@bigpond.net.au>
332
333 * scripttempl/elf.sc (.text): Add cold text sections.
334
7dd8f318
JZ
3352009-09-04 Jie Zhang <jie.zhang@analog.com>
336
337 * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
338 and .l2.data.
339
032f3e01
DK
3402009-09-03 Dave Korn <dave.korn.cygwin@gmail.com>
341
342 * scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch
343 new GCC hot/cold/unlikely partitions.
344 * scripttempl/pep.sc: Likewise.
345 * scripttempl/epocpe.sc: Likewise.
346 * scripttempl/mcorepe.sc: Likewise.
347 * scripttempl/ppcpe.sc: Likewise.
348
7bb7d81f
RW
3492009-09-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
350
351 * Makefile.am (ldgram.o, ldlex.o, deffilep.o): Supply correct
352 source file name for generated files which may be in $(srcdir).
353 * Makefile.in: Regenerate.
354
43123e98
L
3552009-09-01 H.J. Lu <hongjiu.lu@intel.com>
356
357 * ldver.c (ldversion): Change to "Copyright 2009".
358
8d17e044
JZ
3592009-09-01 Jie Zhang <jie.zhang@analog.com>
360
361 * scripttempl/elf.sc: Add ${USER_LABEL_PREFIX} to _start, etext,
362 _stack and __bss_start.
363 * emulparams/bfin.sh (ENTRY): Remove.
364
8be573a7
AM
3652009-08-30 Alan Modra <amodra@bigpond.net.au>
366
367 PR ld/10569
368 * ldexp.c (fold_name <MAXPAGESIZE>): Return config.maxpagesize.
369 (fold_name <COMMONPAGESIZE>): Similarly.
370 * ldlang.c (output_target): Make global.
371 * ldlang.h (output_target): Declare.
372 * ldmain.c (main): Set config.maxpagesize from bfd_emul_get_maxpagesize.
373 Similarly for config.commonpagesize.
374 * ldemul.c (set_output_arch_default): Call bfd_emul_set_maxpagesize
375 and bfd_emul_set_commonpagesize.
376 * emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Don't call
377 bfd_emul_set_maxpagesize or bfd_emul_set_commonpagesize here.
378
d3ce72d0
NC
3792009-08-29 Martin Thuresson <martin@mtme.org>
380
381 * ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
382 (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
383 to new_e.
384 * ldfile.c (ldfile_add_library_path): Rename variable new to
385 new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
386 * ldlang.c (new_statement, lang_final, lang_add_wild)
387 (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
388 (lang_add_insert): Rename variable new to new_stmt. (new_afile):
389 Added missing cast. (lang_memory_region_lookup): Rename variable
390 new to new_region. (init_os): Rename variable new to
391 new_userdata. (lang_add_section): Rename variable new to
392 new_section. (ldlang_add_undef): Rename variable new to
393 new_undef. (realsymbol): Rename variable new to new_name.
394
e9e0a58e
NC
3952009-08-26 Nick Clifton <nickc@redhat.com>
396
397 PR ld/10555
398 * emultempl/elf32.em (_after_open): Do not create a
399 .note.gnu-build-id section if there are no input files.
400
43e56c34
NC
4012009-08-24 Nick Clifton <nickc@redhat.com>
402
403 * scripttempl/elfxtensa.sc (DISCARDED): Discard sections with
404 .gnu.lto_ prefix.
405 * scripttempl/armbpabi.sc: Likewise.
406 * scripttempl/elf32sh-symbian.sc: Likewise.
407 * scripttempl/elf64hppa.sc: Likewise.
408 * scripttempl/mep.sc: Likewise.
409
a15af8e2
RW
4102009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
411
8a0e2760
RW
412 * Makefile.am (ldmain.o, ldfile.o): Fix typos in non-fastdep
413 rules.
414 (eelf32_spu.o): Add dependency tracking.
415 * Makefile.in: Regenerate.
416
a15af8e2
RW
417 * Makefile.am (am__skiplex, am__skipyacc): New.
418 * Makefile.in: Regenerate.
419
81ecdfbb
RW
4202009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
421
14ec8efd
RW
422 * Makefile.am (bin_PROGRAMS): Renamed from ...
423 (noinst_PROGRAMS): ... this.
424 (transform): Override, including the renaming of ld-new to ld.
425 (install-exec-local): Installation of ld in $(bindir) not needed
426 here any more.
427 (AM_CPPFLAGS): Renamed from ...
428 (INCLUDES): ... this.
429 (MAINTAINERCLEANFILES): Add ld.1.
430 * Makefile.in: Regenerate.
431
64ac50ac
RW
432 * Makefile.am (AUTOMAKE_OPTIONS): Remove cygnus. Add
433 no-texinfo.tex, no-dist, foreign.
434 (TEXINFO_TEX): New variable.
435 (install-data-local): Removed, not needed any more.
436 (all): Dependencies upon info and ld.1 not needed any more.
437 (MKDEP, DEP, DEP1, dep.sed, dep, dep-in, dep-am): Removed.
438 (mkdep generated section): Removed.
439 (ldgram.o, ldlex.o, deffilep.o, ldmain.o, ldfile.o): Rewrite to
440 use automake dependency tracking mechanism.
441 (EXTRA_ld_new_SOURCES): Add pep-dll.c, pe-dll.c, and
442 $(ALL_EMULATIONS:.o=.c) $(ALL_64_EMULATIONS:.o=.c) so their
443 dependencies are tracked too.
444 (BUILT_SOURCES): New, list $(GENERATED_HFILES) to ensure they
445 are built early.
446 * configure.in: Use AM_MAINTAINER_MODE.
447 * aclocal.m4, configure, Makefile.in: Regenerate.
448
af542c2e
RW
449 * Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
450 (install-pdf-recursive, html__strip_dir, install-html)
451 (install-html-am, install-html-recursive): Remove.
452 * Makefile.in: Regenerate.
453
81ecdfbb
RW
454 * Makefile.in: Regenerate.
455 * aclocal.m4: Likewise.
456 * config.in: Likewise.
457 * configure: Likewise.
458
032b94c5
NC
4592009-08-21 Richard Guenther <rguenther@suse.de>
460
461 * scripttempl/elf.sc: Discard sections with .gnu.lto_ prefix.
462
02688209
TG
4632009-08-12 Tristan Gingold <gingold@adacore.com>
464
465 * ld.h (fat_user_section_struct): Add map_symbol_def_count field.
466 * ldlang.c (hash_entry_addr_cmp): New function.
467 (print_all_symbols): Sort the symbols by address before printing them.
468
eaeb0a9d
AM
4692009-08-10 Alan Modra <amodra@bigpond.net.au>
470
471 PR 10474
472 * ldemul.c (after_allocation_default): Run lang_relax_sections.
473 * ldlang.h (lang_relax_sections): Declare.
474 * ldlang.c (relax_sections): Delete.
475 (lang_relax_sections): New function.
476 (lang_process): Don't relax directly from here.
477 * emultempl/alphaelf.em (alpha_finish): Call finish_default.
478 * emultempl/armelf.em (arm_elf_after_allocation): Delete. Move body..
479 (gld${EMULATION_NAME}_finish): ..to here. Move existing code..
480 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
481 (LDEMUL_AFTER_ALLOCATION): Update.
482 * emultempl/avrelf.em (avr_elf_finish, LDEMUL_FINISH): Delete.
483 (avr_elf_after_allocation): New function.
484 (LDEMUL_AFTER_ALLOCATION): Define.
485 * emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Call
486 lang_relax_sections.
487 * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Delete. Move..
488 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
489 (LDEMUL_AFTER_ALLOCATION, LDEMUL_FINISH): Update.
490 * emultempl/genelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
491 (gld${EMULATION_NAME}_after_allocation): ..code to here. New function.
492 (LDEMUL_FINISH): Delete.
493 (LDEMUL_AFTER_ALLOCATION): Define.
494 * emultempl/hppaelf.em (gld${EMULATION_NAME}_finish): Delete. Move..
495 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
496 (LDEMUL_FINISH): Delete.
497 (LDEMUL_AFTER_ALLOCATION): Define.
498 * emultempl/m68hc1xelf.em (m68hc11elf_finish): Delete. Move..
499 (m68hc11elf_after_allocation): ..to here. New function.
500 (LDEMUL_FINISH): Delete.
501 (LDEMUL_AFTER_ALLOCATION): Define.
502 * emultempl/m68kelf.em (m68k_elf_after_allocation): Call
503 gld${EMULATION_NAME}_after_allocation.
504 * emultempl/mmix-elfnmmo.em (mmix_after_allocation): Call
505 gld${EMULATION_NAME}_after_allocation.
506 * emultempl/mmo.em (mmo_finish): Delete. Move body..
507 (gld${EMULATION_NAME}_after_allocation): ..to here. New function.
508 (LDEMUL_FINISH): Define.
509 * emultempl/ppc64elf.em (ppc_layout_sections_again): Set elf_gp.
510 (gld${EMULATION_NAME}_finish): Move code sizing sections..
511 (gld${EMULATION_NAME}_after_allocation): ..to here.
512 * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_after_allocation):
513 Call gld${EMULATION_NAME}_after_allocation.
514 * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Delete
515 bfd_elf_discard_info and map_segments call.
516
7ba29e2a
NC
5172009-08-06 Michael Eager <eager@eagercon.com>
518
7ee314fa 519 * Makefile.am: Add eelf32mb_linux.o, eelf32microblaze.o to
7ba29e2a
NC
520 ALL_EMULATIONS, targets.
521 * Makefile.in: Regenerate.
522 * configure.tgt: Add microblaze*-linux*, microblaze* targets.
523 * emulparams/elf32mb_linux.sh: New.
524 * emulparams/elf32microblaze.sh. New.
7ee314fa 525 * scripttempl/elfmicroblaze.sc: New.
7ba29e2a 526
9cc305ec
TS
5272009-08-05 Trevor Smigiel <Trevor_Smigiel@playstation.sony.com>
528
529 * emulparams/elf32_spu.sh (OTHER_READONLY_SECTIONS): Add .fixup
530 section and __fixup_start symbol.
531 * emultempl/spuelf.em (params): Initialize emit_fixups member.
532 (spu_before_allocation): Call spu_elf_size_sections.
533 (OPTION_SPU_EMIT_FIXUPS): Define.
534 (PARSE_AND_LIST_LONGOPTS): Add --emit-fixups.
535 (PARSE_AND_LIST_ARGS_CASES): Handle --emit-fixups.
536 * ld.texinfo (--emit-fixups): Document.
537
07088e95
AM
5382009-08-04 Alan Modra <amodra@bigpond.net.au>
539
cafed8af 540 PR 10474
07088e95
AM
541 * emultempl/ppc32elf.em (ppc_before_allocation): Test rawsize,
542 not size, after lang_reset_memory_regions.
543
8dfab6dd
AM
5442009-07-30 Alan Modra <amodra@bigpond.net.au>
545
546 * emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
547 * emulparams/elf_i386.sh (IREL_IN_PLT): Define.
548 * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define.
549 * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections
550 when !IREL_IN_PLT.
551
18c32df5
HPN
5522009-07-29 Hans-Peter Nilsson <hp@bitrange.com>
553
554 * scripttempl/mmo.sc: For relocateable links, set $OUTPUT_FORMAT to
555 the new $RELOCATEABLE_OUTPUT_FORMAT, if set.
556 (OUTPUT_FORMAT): Use the variable $OUTPUT_FORMAT.
557 (ENTRY): Don't emit for relocateable links.
558 (/DISCARD/): Don't discard .gnu.warning.* for relocateable links.
559 * emulparams/mmo.sh (RELOCATEABLE_OUTPUT_FORMAT): Set, to
560 elf64-mmix.
561 * emulparams/elf64mmix.sh (OTHER_TEXT_SECTIONS): Empty, don't
562 provide "Main" or set "_start.", for relocateable links.
563
c38fbd5c
NC
5642009-07-27 Nick Clifton <nickc@redhat.com>
565
566 * (po/fi.po): Updated Finnish translation.
567
8a9036a4
L
5682009-07-25 H.J. Lu <hongjiu.lu@intel.com>
569
570 * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64
571 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported.
572 (targ_extra_emuls): Likewise.
573
574 * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and
575 eelf_l1om_fbsd.o
576 (eelf_l1om.c): New.
577 (eelf_l1om_fbsd.c): Likewise.
578 * Makefile.in: Regenerated.
579
580 * emulparams/elf_l1om.sh: New.
581 * emulparams/elf_l1om_fbsd.sh: Likewise.
582
3e7a7d11
NC
5832009-07-23 Ulrich Drepper <drepper@redhat.com>
584
585 * NEWS: Mention the linker's support for symbols with a binding of
586 STB_GNU_UNIQUE.
587
249b2a84
L
5882009-07-22 H.J. Lu <hongjiu.lu@intel.com>
589
590 PR ld/10429
591 * ldlang.c (insert_os_after): Tie assignments to non-alloc
592 output sections if there is no-input section.
593
0fa4d7cf
AM
5942009-07-11 Alan Modra <amodra@bigpond.net.au>
595
596 * ldlang.c (insert_os_after): Don't tie assignments to non-alloc
597 output sections.
598
4135c73b
AM
5992009-07-10 Alan Modra <amodra@bigpond.net.au>
600
601 * emultempl/ppc32elf.em (ppc_before_allocation): Turn on
602 linker relaxation if it might be necessary.
603
e054468f
AM
6042009-07-10 Alan Modra <amodra@bigpond.net.au>
605
606 * emulparams/elf32ppc.sh (GOTPLT, PLT): Handle .iplt.
607
07d8eb55
NC
6082009-07-06 Matthias Klose <doko@ubuntu.com>
609
249b2a84 610 * ld.texinfo: Fix typo.
07d8eb55 611
27505b5d
TG
6122009-07-03 Tristan Gingold <gingold@adacore.com>
613
614 * scripttempl/pep.sc: Put .eh_frame in its own section.
615 * scripttempl/pe.sc: Ditto.
7ee314fa 616
a626fe20
KT
6172009-06-26 Kai Tietz <kai.tietz@onevision.com>
618
619 * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
620 * scripttempl/pep.sc: Likewise.
621
d64703c6
TG
6222009-06-25 Tristan Gingold <gingold@adacore.com>
623
624 * ldlang.c (print_input_section): Add is_discarded parameter. Adjust
625 prototype.
626 (lang_map): Print the size of discarded sections.
627 (print_statement): Adjust call to print_input_section.
628
361dff73
DK
6292009-06-18 Dave Korn <dave.korn.cygwin@gmail.com>
630
32425da9 631 Merge cegcc and mingw32ce target name changes from CeGCC project:
361dff73 632
32425da9 633 2008-09-24 Pedro Alves <pedroalves@users.sourceforge.net>
361dff73
DK
634
635 * configure.tgt (arm*-*-cegcc*): Set LIB_PATH to
636 ${tooldir}/lib/w32api.
637
32425da9 638 2007-12-25 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
639
640 * configure.tgt: Add arm*-*-cegcc* target.
641
32425da9 642 2007-12-17 Pedro Alves <pedro_alves@portugalmail.pt>
361dff73
DK
643
644 * configure.tgt: Add arm-*-mingw32ce* target.
645
f3711133
PB
6462009-06-10 Philip Blundell <philb@gnu.org>
647
648 * emultempl/armelf.em (gld${EMULATION_NAME}_finish): Avoid crash
649 if section has no ELF data.
650
2a81c24a
L
6512009-06-06 H.J. Lu <hongjiu.lu@intel.com>
652
653 * scripttempl/elf.sc: Add .rel.ifunc and .rela.ifunc.
654
fc1e8789
L
6552009-06-05 H.J. Lu <hongjiu.lu@intel.com>
656
657 * scripttempl/elf.sc: Remove .rel.ifunc.dyn and .rela.ifunc.dyn.
658
67a648f1
AM
6592009-06-04 Alan Modra <amodra@bigpond.net.au>
660
661 * dep-in.sed: Don't use \n in replacement part of s command.
662 * Makefile.am (DEP1): LC_ALL for uniq.
663 * Makefile.in: Regenerate.
664
3aa14d16
L
6652009-06-01 H.J. Lu <hongjiu.lu@intel.com>
666
667 * scripttempl/elf.sc (PLT): Add "*(.iplt)".
668 (GOT): Add "*(.igot.plt)a" and "*(.igot)".
669 (GOTPLT): Add "*(.igot)".
670 (__rel_iplt_start): New.
671 (__rel_iplt_end): Likewise.
672 (__rela_iplt_start): Likewise.
673 (__rela_iplt_end): Likewise.
674
05056a8d
DK
6752009-05-27 Dave Korn <dave.korn.cygwin@gmail.com>
676
677 * deffilep.y (%union): Add new string-type semantic value 'digits'.
678 (%token): Remove NUMBER as token, add DIGITS.
679 (%type): Add NUMBER as type. Add new id types anylang_id, opt_id.
680 (ALIGNCOMM): Parse an anylang_id instead of a plain ID.
681 (anylang_id): New production.
682 (opt_digits): Likewise.
683 (opt_id): Likewise.
684 (NUMBER): Likewise.
685 (def_lex): Return strings of digits in raw string form as DIGITS
686 token, instead of converting to numeric integer type.
687
c8a1f254
NS
6882009-05-26 Nathan Sidwell <nathan@codesourcery.com>
689
690 * ldmain.c (main): Don't reject --relax -r.
691 * ld.texinfo (PowerPC ELF32): Document behaviour of relaxing
692 partial links.
693
f12e7348
NC
6942009-05-26 Nick Clifton <nickc@redhat.com>
695
696 * po/id.po: Updated Indonesian translation.
697 * po/ld.pot: Updated template file.
698
00f3247a
AM
6992009-05-26 Alan Modra <amodra@bigpond.net.au>
700
701 * dep-in.sed: Output one filename per line with all lines having
702 continuation backslash. Prefix first line with "A", following
703 lines with "B".
704 * Makefile.am (DEP): Don't use dep.sed here.
705 (DEP1): Run $MKDEP on single files, use dep.sed here on dependencies,
706 sort and uniq.
707 * Makefile.in: Regenerate.
708
e50d6125
AM
7092009-05-26 Alan Modra <amodra@bigpond.net.au>
710
711 * ldlang.c (lang_check_section_addresses): Ignore non-alloc sections.
712
48229727
JB
7132009-05-22 Julian Brown <julian@codesourcery.com>
714
715 * emultempl/armelf.em (fix_cortex_a8): New.
716 (arm_elf_before_allocation): Call bfd_elf32_arm_set_cortex_a8_fix.
717 (arm_elf_create_output_section_statements): Add fix_cortex_a8 to
718 bfd_elf32_arm_set_target_relocs.
719 (OPTION_FIX_CORTEX_A8, OPTION_NO_FIX_CORTEX_A8): New.
720 (PARSE_AND_LIST_LONGOPTS): Add [no-]fix-cortex-a8 options.
721 (PARSE_AND_LIST_OPTIONS): Add [no-]fix-cortex-a8 options.
722 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_[NO_]FIX_CORTEX_A8.
723 * ld.texinfo (--[no-]fix-cortex-a8): Briefly document new options.
724
ec6d26be
NS
7252009-05-22 Nathan Sidwell <nathan@codesourcery.com>
726
727 * ldlang.c (lang_check_section_addresses): Ignore non-loadable
728 sections when checking for overlap. Clarify error message
729 concerns load address.
730
2b3decb5
AM
7312009-05-22 Alan Modra <amodra@bigpond.net.au>
732
733 * Makefile.am: Run "make dep-am".
734 * Makefile.in: Regenerate.
735
c1711530
DK
7362009-05-19 Dave Korn <dave.korn.cygwin@gmail.com>
737
738 * NEWS: Mention new feature.
739 * deffile.h (def_file_aligncomm): Add new struct definition.
740 (def_file): Add new def_file_aligncomm member.
741 * deffilep.y (%token): Add new ALIGNCOMM token.
742 (command): Add production rule for ALIGNCOMM.
743 (def_file_free): Free any chained def_file_aligncomm structs.
744 (diropts[]): Add entry for '-aligncomm' .drectve command.
745 (def_aligncomm): New grammar function.
746 * ld.texinfo: Document new feature.
747 * pe-dll.c (process_def_file): Rename from this ...
748 (process_def_file_and_drectve): ... to this, updating all callers,
749 and process any aligncomms chained to the def file after scanning
750 all .drectve sections.
751 (generate_edata): Updated to match.
752 (pe_dll_build_sections): Likewise.
753
b982bd05 7542009-05-17 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
177b81d6
DK
755
756 * pe-dll.c (process_def_file): Do not create empty export table.
757
d127ecce
AM
7582009-05-15 Alan Modra <amodra@bigpond.net.au>
759
760 * ldlang.c (lang_output_section_statement_lookup): Add function
761 comment. Make "name" non-const. Ensure duplicate entries use
762 the same string, allowing simple comparison in hash bucket loop.
763 Tweak constraint check.
764 (next_matching_output_section_statement): New function.
765 * ldlang.h (lang_output_section_statement_lookup): Update.
766 (next_matching_output_section_statement): Declare.
767 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Don't
768 combine orphan sections when input sections flags differ in
769 alloc or load.
770 * emultempl/pe.em: Formatting throughout.
771 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
772 * emultempl/pep.em: Formatting throughout.
773 (gld${EMULATION_NAME}_place_orphan): As for elf32.em.
774
cdc83fba
UW
7752009-05-14 Ulrich Weigand <uweigand@de.ibm.com>
776
777 * emultempl/spuelf.em (PARSE_AND_LIST_ARGS_CASES): Always use
778 compact stubs with software i-cache.
779
bbb0fc04
AM
7802009-05-14 Alan Modra <amodra@bigpond.net.au>
781
782 * emultempl/spuelf.em (spu_before_allocation): Call
783 spu_elf_place_overlay_data.
784
011aa75f
AM
7852009-05-14 Alan Modra <amodra@bigpond.net.au>
786
787 * ldlang.c (lang_insert_orphan): Add __start_<section> symbol
788 assignment inside output section statement. Ensure only one
789 set of symbols per output section.
790 * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Add non-
791 dollar sections before dollar sections. Correct add_child
792 list insertion.
793 * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
794
2468f9c9
PB
7952009-05-05 Paul Brook <paul@codesourcery.com>
796
797 * emultempl/armelf.em (compare_output_sec_vma): New function.
798 (gld${EMULATION_NAME}_finish): Add exidx munging code.
799
84f1b567
NC
8002009-05-05 Anatoly Sokolov <aesok@post.ru>
801
802 * scripttempl/avr.sc (MEMORY): Use DATA_ORIGIN.
803 * emulparams/avr1.sh (DATA_ORIGIN): Add.
804 * emulparams/avr2.sh (DATA_ORIGIN): Add.
805 * emulparams/avr25.sh (DATA_ORIGIN): Add.
806 * emulparams/avr3.sh (DATA_ORIGIN): Add.
807 * emulparams/avr31.sh (DATA_ORIGIN): Add.
808 * emulparams/avr35.sh (DATA_ORIGIN): Add.
809 * emulparams/avr4.sh (DATA_ORIGIN): Add.
810 * emulparams/avr5.sh (DATA_ORIGIN): Add.
811 * emulparams/avr51.sh (DATA_ORIGIN): Add.
812 (DATA_LENGTH): Update.
813 * emulparams/avr6.sh (DATA_ORIGIN): Add.
814 (DATA_LENGTH): Update.
815
09e2aba4
DK
8162009-05-04 Dave Korn <dave.korn.cygwin@gmail.com>
817
818 * NEWS: Mention new feature.
819 * ld.texinfo (--version-script): Document extent of PE support.
820 (WIN32): Mention --version-script. Extend auto-export description.
821 * pe-dll.c (process_def_file): Use version script info to filter
822 symbols from auto-export.
823 * testsuite/ld-pe/vers-script-1.d: New file.
824 * testsuite/ld-pe/vers-script-2.d: New file.
825 * testsuite/ld-pe/vers-script-3.d: New file.
826 * testsuite/ld-pe/vers-script-4.d: New file.
827 * testsuite/ld-pe/vers-script-1.ver: New file.
828 * testsuite/ld-pe/vers-script-2.ver: New file.
829 * testsuite/ld-pe/vers-script-3.ver: New file.
830 * testsuite/ld-pe/vers-script-4.ver: New file.
831 * testsuite/ld-pe/vers-script-dll.c: New file.
832 * testsuite/ld-pe/vers-script.exp: New test script.
833
1f7f5cbe
NS
8342009-05-01 Nathan Sidwell <nathan@codesourcery.com>
835
836 * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
837
d8045f23
NC
8382009-04-30 Nick Clifton <nickc@redhat.com>
839
840 * NEWS: Mention support for IFUNC symbols.
841
efaf18f3
AG
8422009-04-29 Anthony Green <green@moxielogic.com>
843
844 * emulparams/elf32moxie.sh (STACK_ADDR): Move default stack
845 position out to accommodate larger programs.
846
267e2722
CD
8472009-04-29 Chris Demetriou <cgd@google.com>
848
849 * lexsup.c (option_values): Add OPTION_NO_EXPORT_DYNAMIC.
850 (ld_options): Likewise.
851 (parse_args): Likewise.
852 * ld.texinfo: Document --no-export-dynamic.
853 * NEWS: Mention --no-export-dynamic.
854
8e58566f
AM
8552009-04-29 Alan Modra <amodra@bigpond.net.au>
856
857 * deffilep.y (STACKSIZE_K): Rename from STACKSIZE.
858
f50230ae
AM
8592009-04-25 Alan Modra <amodra@bigpond.net.au>
860
cafed8af 861 PR 10061
f50230ae
AM
862 * genscripts.sh: Don't pass $EMULATION_NAME as $CUSTOMIZER_SCRIPT
863 param.
864
3e6b1042
DJ
8652009-04-21 Daniel Jacobowitz <dan@codesourcery.com>
866
867 * emultempl/armelf.em (bfd_for_interwork, arm_elf_after_open)
868 (arm_elf_set_bfd_for_interworking): Delete.
869 (arm_elf_before_allocation): Do not set the interworking BFD.
870 Move allocation inside not-dynamic block.
871 (arm_elf_create_output_section_statements): Create glue sections
872 and set the interworking BFD here.
873 (LDEMUL_AFTER_OPEN): Delete.
874
3023e3f6
RS
8752009-04-16 Richard Sandiford <r.sandiford@uk.ibm.com>
876
877 * ldlang.c (lang_one_common): Use bfd_define_common_symbol.
878
20135e4c
NC
8792009-04-15 Anthony Green <green@moxielogic.com>
880
881 * configure.tgt: Add moxie support.
882 * Makefile.am: Add moxie files.
883 * Makefile.in: Rebuilt.
884 * emulparams/elf32moxie.sh: New file.
885 * scripttempl/moxie.sc: New file.
886
39e65143
KH
8872009-04-15 Kazu Hirata <kazu@codesourcery.com>
888
889 * ldlang.c: Do not include limits.h.
890
c38b10fa
AM
8912009-04-14 Alan Modra <amodra@bigpond.net.au>
892
893 PR ld/10047
894 * ldfile.c (find_scripts_dir): Use make_relative_prefix to find
895 ldscripts in build tree. Don't repeat search for ../lib/ldscripts.
896
8c3e16f4
L
8972009-04-13 H.J. Lu <hongjiu.lu@intel.com>
898
899 * ldfile.c (ldfile_find_command_file): Revert the last change.
900
6dc6e834
L
9012009-04-11 H.J. Lu <hongjiu.lu@intel.com>
902
903 PR ld/10047
904 * ldfile.c (ldfile_find_command_file): First try raw name.
905
0c71d759
NC
9062009-04-09 Nick Clifton <nickc@redhat.com>
907
908 PR 9824
909 * ld.texinfo (Output Section Constraint): New node. Documents the
910 ONLY_IF_RO and ONLY_IF_RW constraints.
911 (Symbolic Constants): New node. Documents the CONSTANT operator.
912
fc15a272
AM
9132009-04-09 Thilo Fischer <thilo.fischer@uni-muenster.de>
914
915 * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
916 of fork/execvp.
917
a0c402a5
L
9182009-04-08 H.J. Lu <hongjiu.lu@intel.com>
919
920 * lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
921 (ld_options): Likewise.
922 (parse_args): Likewise.
923
924 * ld.texinfo: Document --warn-alternate-em.
925
926 * NEWS: Mention --warn-alternate-em.
927
4d28413b
DD
9282009-04-07 DJ Delorie <dj@redhat.com>
929
930 * emulparams/elf32mep.sh: Change default endian to little.
931
6ce340f1
NC
9322009-04-07 Nick Clifton <nickc@redhat.com>
933
934 * ld.texinfo (Output Section Address): Note that specifying an
935 address for an output section will only change the location
936 counter if the output section is used.
937
32252ac1
KH
9382009-04-06 Kazu Hirata <kazu@codesourcery.com>
939
940 * ldfile.c (ldfile_find_command_file): Initialize result.
941
7d24f02c
KH
9422009-04-06 Kazu Hirata <kazu@codesourcery.com>
943
944 * ld.texinfo (-L): Mention that -L options do not affect how ld
945 searches for a linker script unless -T option is specified.
946 * ldfile.c (ldfile_find_command_file): Append the path obtained
947 from the program name to the search path instead of
948 prepending. Add a new parameter "default_only". Restrict the
949 search to the default script location if the new parameter is
950 true.
951 (ldfile_open_command_file_1): New.
952 (ldfile_open_command_file): Call ldfile_open_command_file_1.
953 (ldfile_open_default_command_file): New.
954
113e6845
NS
9552009-04-03 Nathan Sidwell <nathan@codesourcery.com>
956
957 * ldlang.c (lang_leave_output_section_statement): Set lma_region
958 if it is not overridden and section is for the same vma region as
959 the previous section.
960
8b747e1a
DK
9612009-04-02 Dave Korn <dave.korn.cygwin@gmail.com>
962
963 PR ld/6744
964 * ld.texinfo (--export-dynamic): Mention --export-all-symbols.
965 * emultempl/pe.em (gld_${EMULATION_NAME}_after_parse): Issue
966 warning if --export-dynamic was passed on command-line.
967 * emultempl/pep.em (gld_${EMULATION_NAME}_after_parse): Likewise.
968
24c611d1
RS
9692009-04-01 Richard Sandiford <r.sandiford@uk.ibm.com>
970
971 * emultempl/aix.em (gld${EMULATION_NAME}_open_dynamic_archive): New
972 function.
973 (ld_${EMULATION_NAME}_emulation): Use it.
974
4bf27aa9
L
9752009-03-20 H.J. Lu <hongjiu.lu@intel.com>
976
977 PR ld/9970
978 * ldlang.c (lang_end): Warn missing entry symbol for -pie.
979
ad2adbc8
AM
9802009-03-19 Alan Modra <amodra@bigpond.net.au>
981
982 * emultempl/spuelf.em (spu_before_allocation): Report errors from
983 spu_elf_find_overlays.
984
e9dfee34
L
9852009-03-18 H.J. Lu <hongjiu.lu@intel.com>
986
987 PR ld/6766
988 * lexsup.c (parse_args): Call ldlang_add_undef for -e.
989
8d25cc3d
AM
9902009-03-18 Alan Modra <amodra@bigpond.net.au>
991
992 * ld.h: Remove alloca handling.
993
a7e11ee1
AM
9942009-03-17 Alan Modra <amodra@bigpond.net.au>
995
996 * emultempl/spu_icache.S: Add new entry to dummy handler.
997 * emultempl/spu_icache.o_c: Regenerate.
998 * emultempl/spuelf.em (params): Init new field.
999 (no_overlays): New static var.
1000 (spu_before_allocation): Use it.
1001 (OPTION_SPU_COMPACT_STUBS): Define.
1002 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add compact-stubs.
1003 (PARSE_AND_LIST_ARGS_CASES): Handle compact-stubs. Adjust no-overlays
1004 handling.
1005
bba21f15
AM
10062009-03-17 Alan Modra <amodra@bigpond.net.au>
1007
1008 * configure.host (HOSTING_LIBS): Two dollars on shell variable
1009 expansion to suit make.
1010
eccbf555
AM
10112009-03-17 Alan Modra <amodra@bigpond.net.au>
1012
1013 * configure.in: Invoke ACX_PROG_CMP_IGNORE_INITIAL.
1014 * Makefile.am (check-DEJAGNU): Set DO_COMPARE.
1015 * aclocal.m4: Regenerate.
1016 * configure: Regenerate.
1017 * Makefile.in: Regenerate.
1018
b64232cc
RS
10192009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1020
1021 * emultempl/aix.em (auto_export_flags): New variable.
1022 (explicit_auto_export_flags): Likewise.
1023 (OPTION_EXPALL, OPTION_EXPFULL): New enum values.
1024 (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise.
1025 (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull,
1026 -bnoexpall and -bnoexpfull.
1027 (gld${EMULATION_NAME}_handle_option): Handle them.
1028 (gld${EMULATION_NAME}_before_allocation): Update the call to
1029 bfd_size_dynamic_sections.
1030
858ef0ce
RS
10312009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1032
1033 * emultempl/aix.em (gld${EMULATION_NAME}_handle_option): Make
1034 -berok and -bernotok control link_info.unresolved_syms_in_objects
1035 and link_info.unresolved_syms_in_shared_libs instead of
1036 force_make_executable.
1037
62008a16
RS
10382009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1039
1040 * emultempl/aix.em (gld${EMULATION_NAME}_before_parse): Set
1041 config.dynamic_link to TRUE.
1042
9ec59d51
RS
10432009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1044
1045 * emultempl/aix.em (gld${EMULATION_NAME}_before_allocation): Mark
1046 .text, .data and .bss output sections as SEC_KEEP.
1047
e5231592
RS
10482009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
1049
1050 * configure.tgt: Extend AIX 5 behavior to AIX 6 and above.
1051
2f563b51 10522009-03-14 Dave Korn <dave.korn.cygwin@gmail.com>
249b2a84 1053 Danny Smith <dannysmith@users.sourceforge.net>
2f563b51
DK
1054
1055 * emultmpl/pe.em (pe_dll_characteristics): New variable.
1056 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1057 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1058 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1059 New macros for options to set DllCharacteristics flag bits.
1060 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1061 nxcompat, no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1062 (init): Add DllCharacteristics field.
1063 (gld_${EMULATION_NAME}_list_options): List new options.
1064 (gld${EMULATION_NAME}_handle_option): Handle new options.
1065 * emultmpl/pep.em (pe_dll_characteristics): New variable.
1066 (OPTION_DYNAMIC_BASE, OPTION_FORCE_INTEGRITY, OPTION_NX_COMPAT,
1067 OPTION_NO_ISOLATION. OPTION_NO_SEH, OPTION_NO_BIND,
1068 OPTION_WDM_DRIVER, OPTION_TERMINAL_SERVER_AWARE):
1069 New macros for options to set DllCharacteristics flags.
1070 (gld${EMULATION_NAME}_add_options): Add dynamicbase, forceinteg,
1071 nxcompat,no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1072 (init): Add DllCharacteristics field.
1073 (gld_${EMULATION_NAME}_list_options): List new options.
1074 (gld${EMULATION_NAME}_handle_option): Handle new options.
1075 * ldtexinfo : Document dynamicbase, forceinteg, nxcompat,
1076 no-isolation, no-seh, no-bind, wdmdriver, tsaware options.
1077
d11fd249
NC
10782009-03-06 Nick Clifton <nickc@redhat.com>
1079
1080 * po/es.po: Updated Spanish translation.
1081
3efd345c
DK
10822009-03-03 Dave Korn <dave.korn.cygwin@gmail.com>
1083
1084 * emultempl/pe.em (debug_section_p): New bfd_map_over_sections hook.
1085 (gld_${EMULATION_NAME}_after_open): Use it to iterate all sections
1086 of all input BFDs, looking for debug info. Enable long section names
1087 if any found.
1088 * emultempl/pe.em (debug_section_p): Likewise.
1089 (gld_${EMULATION_NAME}_after_open): Likewise.
1090 * NEWS: Retrospectively adjust news announcement.
1091 * ld.texinfo: Update documentation to mention new behaviour.
1092
a1f7ca36
AM
10932009-03-03 Alan Modra <amodra@bigpond.net.au>
1094
1095 * Makefile.am: Run "make dep-am".
1096 * Makefile.in: Regenerate.
1097
4a93e180
NC
10982009-03-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
1099
1100 * ldgram.y: Add support for REGION_ALIAS operator.
1101 * ldlang.c: Likewise.
1102 * ldlang.h: Likewise.
1103 * ldlex.l: Likewise.
1104 * NEWS: Mention the new feature.
1105 * ld.texinfo: Document the new feature.
1106
c3b7224a
NC
11072009-03-02 Qinwei <qinwei@sunnorth.com.cn>
1108
1109 * Makefile.am: Replace score elf emulation with score3 and score7
1110 emulations.
1111 * Makefile.in: Regenerate,
1112 * NEWS: Mention support for Score7 architecture.
1113 * configure.tgt: Add score7 emulation to score-elf target.
1114 * emulparams/scoreelf.sh: Add score7 support.
1115 * emultempl/scoreelf.em: Likewise.
1116
d1bbb13a
DA
11172009-03-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1118
1119 * configure.tgt: Only use elf64hppa target emulation for hpux.
1120 * emulparams/elf64hppa.sh: Don't include hppa64linux.sh.
1121 (SCRIPT_NAME): Use new script elf64hppa.
1122 (SCRIPT_NAME, ELFSIZE, NO_REL_RELOCS, ARCH, MACHINE, ENTRY,
1123 TEMPLATE_NAME, GENERATE_SHLIB_SCRIPT, OTHER_READONLY_SECTIONS,
1124 OTHER_READWRITE_SECTIONS, OTHER_BSS_SECTIONS, OTHER_GOT_RELOC_SECTIONS,
1125 DATA_START_SYMBOLS, OTHER_SYMBOLS, DATA_PLT, PLT_BEFORE_GOT,
1126 TEXT_DYNAMIC): Define.
1127 * emulparams/hppa64linux.sh: Adjust comments.
1128 * scripttempl/elf64hppa.sc: New file.
1129
58e24671
RW
11302009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1131
1132 * configure: Regenerate.
1133
5b9c6027
DK
11342009-02-27 Dave Korn <dave.korn.cygwin@gmail.com>
1135
1136 * emultempl/pe.em (gld_${EMULATION_NAME}_before_parse): Set
1137 default state of auto-import flag based on $target.
1138
07d72278
DJ
11392009-02-24 Joseph Myers <joseph@codesourcery.com>
1140
1141 * ld.texinfo (ARM): Document changed meaning of --stub-group-size.
1142 * emultempl/armelf.em (hook_in_stub): Insert after the input section.
1143 (elf32_arm_add_stub_section): Update comment.
1144 (PARSE_AND_LIST_OPTIONS): Update help for --stub-group-size.
1145
2509a395
SL
11462009-02-24 Sandra Loosemore <sandra@codesourcery.com>
1147
1148 * ld.texinfo (Options): Correct typos in example. Recommend
7ee314fa 1149 using joined forms of syntax for passing options with arguments
2509a395
SL
1150 from a driver.
1151 (-a): Use consistent syntax for documenting option arguments.
1152 Clean up indexing and markup.
1153 (-A/--architecture): Likewise.
1154 (-f/--auxiliary): Likewise.
1155 (-F/--filter): Likewise.
1156 (-fini): Likewise.
1157 (-G/--gpsize): Likewise.
1158 (-h/-soname):Likewise.
1159 (-init): Likewise.
1160 (-l/--library): Likewise.
1161 (-L/--library-path): Likewise.
1162 (-m): Likewise.
1163 (--defsym): Likewise.
1164 (-I/--dynamic-linker): Likewise.
1165 (-Map): Likewise.
1166 (--oformat): Likewise.
1167 (--retain-symbols-file): Likewise.
1168 (-rpath): Likewise.
1169 (-rpath-link): Likewise.
1170 (--sort-common): Likewise.
1171 (--sort-section): Likewise.
1172 (--split-by-file): Likewise.
1173 (--split-by-reloc): Likewise.
1174 (--sysroot): Likewise.
1175 (--section-start): Likewise.
1176 (-Tbss, -Tdata, -Ttext): Likewise.
1177 (-Ttext-segment): Likewise.
1178 (--version-script): Likewise.
1179 (--wrap): Likewise.
1180
44cf6883 11812009-02-18 Dave Korn <dave.korn.cygwin@gmail.com>
88183869
DK
1182
1183 * ld.texinfo: Update to mention long section name options.
1184 * NEWS: Mention new behaviour and command-line options.
1185 * pe-dll.c (pe_use_coff_long_section_names): New global variable.
1186 (pe_output_file_set_long_section_names): New function.
1187 (pe_dll_build_sections): Call it on output BFDs.
1188 (pe_exe_build_sections): Likewise.
1189 (pe_dll_fill_sections): Likewise.
1190 (pe_exe_fill_sections): Likewise.
1191 * pe-dll.h (pe_use_coff_long_section_names): Declare extern.
1192 (pe_output_file_set_long_section_names): Add prototype.
1193 * pep-dll.c (pe_use_coff_long_section_names): Define pep_ alias.
1194 (pe_output_file_set_long_section_names): Likewise.
1195 * pep-dll.h (pep_use_coff_long_section_names): Declare extern.
1196 (pep_output_file_set_long_section_names): Add prototype.
1197 * pe.em (OPTION_ENABLE_LONG_SECTION_NAMES): New getopt value macro.
1198 (OPTION_DISABLE_LONG_SECTION_NAMES): Likewise.
1199 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
1200 (gld_${EMULATION_NAME}_list_options): Describe them.
1201 (gld${EMULATION_NAME}_handle_option): Set or clear global
1202 pe_use_coff_long_section_names flag when options recognised.
1203 (gld_${EMULATION_NAME}_after_open): En/disable long section names
1204 for main output bfd by calling pe_output_file_set_long_section_names.
1205 * pep.em (enum options): Extend enum with new getopt option values.
1206 (gld${EMULATION_NAME}_add_options): Add new options to xtra_long[].
1207 (gld_${EMULATION_NAME}_list_options): Describe them.
1208 (gld${EMULATION_NAME}_handle_option): Set or clear global
1209 pe_use_coff_long_section_names flag when options recognised.
1210 (gld_${EMULATION_NAME}_after_open): En/disable long section names
1211 for main output bfd by calling pep_output_file_set_long_section_names.
1212
1491f1f0
DK
12132009-02-16 Dave Korn <dave.korn.cygwin@gmail.com>
1214
1215 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Don't emit
1216 inadvertent .reloc sections caused by refactoring accident.
1217
d2ae7be0
AM
12182009-02-16 Alan Modra <amodra@bigpond.net.au>
1219
1220 * ldlang.c (process_insert_statements): ASSERT that output section
1221 statements are in order.
1222
bde18da4
AM
12232009-02-16 Alan Modra <amodra@bigpond.net.au>
1224
1225 * ldlang.c (push_stat_ptr, pop_stat_ptr): New functions.
1226 (stat_save, stat_save_ptr): New variables.
1227 (lang_insert_orphan): Use push_stat_ptr and pop_stat_ptr.
1228 (load_symbols): Likewise. Delete dead "bad_load" code.
1229 (open_input_bfds): Warn on script containing output sections.
1230 (lang_enter_output_section_statement): Use push_stat_ptr.
1231 (lang_enter_group): Likewise.
1232 (lang_leave_output_section_statement): Use pop_stat_ptr.
1233 (lang_leave_group): Likewise.
1234 * ldlang.h (push_stat_ptr, pop_stat_ptr): Declare.
1235 * ldctor.c (ldctor_build_sets): Use push_stat_ptr and pop_stat_ptr.
1236 * emultempl/beos.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1237 * emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1238 * emultempl/pep.em (gld_${EMULATION_NAME}_set_symbols): Likewise.
1239 * emultempl/spuelf.em (spu_place_special_section): Likewise.
1240 * emultempl/xtensaelf.em (ld_xtensa_insert_page_offsets): Likewise.
1241
662ef24b
NS
12422009-02-09 Nathan Sidwell <nathan@codesourcery.com>
1243
1244 Missing piece of 2009-01-26 commit
1245 * ldlang.c (lang_process): Don't consider relocatable flag when
1246 checking for overlap.
1247
268e4015
JM
12482009-02-05 Joseph Myers <joseph@codesourcery.com>
1249
1250 * emulparams/m68kelf.sh: Add newline at end of file.
1251
903249d7
NC
12522009-02-04 Nick Clifton <nickc@redhat.com>
1253
1254 PR 9805
1255 * ld.texinfo (--allow-shlib-undefined): Correct description of
1256 default settings and tidy up the rest of the entry.
1257
df636c05
AM
12582009-02-04 Alan Modra <amodra@bigpond.net.au>
1259
1260 * emultempl/spuelf.em (spu_after_open): Don't combine .text.ia.*
1261 during relocatable link.
1262
8a308ae8
NC
12632009-02-03 Nick Clifton <nickc@redhat.com>
1264
1265 PR 9797
1266 * ld.texinfo (Constants): Document the base-encoding suffixes
1267 supported in linker scripts.
1268
28024d9d
L
12692009-02-03 Alan Modra <amodra@bigpond.net.au>
1270
1271 * NEWS: Mention --as-needed change.
1272
31dd3154
JM
12732009-02-03 Carlos O'Donell <carlos@codesourcery.com>
1274
1275 * configure.in: AC_SUBST pdfdir.
1276 * Makefile.am: Add install-pdf, install-pdf-am,
1277 and install-pdf-recursive targets. Define pdf__strip_dir.
1278 * po/Make-in: Add install-pdf target.
1279 * configure: Regenerate.
1280 * Makefile.in: Regenerate.
1281
010e5ae2
AM
12822009-01-31 Alan Modra <amodra@bigpond.net.au>
1283
1284 * ld.texinfo (--as-needed): Update.
1285
893dcb0e
JM
12862009-01-29 Andrew Jenner <andrew@codesourcery.com>
1287
1288 * emultempl/armelf.em: Correct formatting of help text for
1289 --no-enum-size-warning option.
1290
02b0b1aa
NS
12912009-01-26 Nathan Sidwell <nathan@codesourcery.com>
1292
1293 * lexsup.c (parse_args): Set check_section_addresses to 1 or 0.
1294 * ld.h (args_type): Make check_section_addresses a char.
02b0b1aa
NS
1295 * ldmain.c (main): Default check_section_addresses to -1. Check it
1296 for relocatable links.
1297 * ld.texinfo (--check-sections): Update documentation.
1298
9382254d
KT
12992009-01-26 Kai Tietz <kai.tietz@onevision.com>
1300
1301 * pe-dll.c (tmp_seq2): New static variable.
1302 (make_singleton_name_imp): New.
1303 (make_import_fixup_entry): Use for v2 the _imp_<name> symbol and
1304 avoid duplicate import table generation for same symbol.
1305 (pe_create_runtime_relocator_reference): Make reference for
1306 64-bit 8 bytes.
1307
fb266b8b
AM
13082009-01-21 Alan Modra <amodra@bigpond.net.au>
1309
1310 * emultempl/spuelf.em (params): Init new field.
1311 (OPTION_SPU_NON_IA_TEXT): Define.
1312 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --non-ia-text.
1313 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_SPU_NON_IA_TEXT.
1314
258795f5
L
13152009-01-16 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT.
1318 (ld_options): Add -Ttext-segment.
1319 (parse_args): Handle OPTION_TTEXT_SEGMENT.
1320
1321 * ld.texinfo: Document -Ttext-segment.
1322
1323 * NEWS: Mention -Ttext-segment.
1324
1325 * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START.
1326 (SHLIB_TEXT_START_ADDR): Likewise.
1327
8d8047c4
AM
13282009-01-13 Alan Modra <amodra@bigpond.net.au>
1329
1330 * emultempl/spu_icache.o_c: Regenerate.
1331
cd4a7468
AM
13322009-01-12 Alan Modra <amodra@bigpond.net.au>
1333
1334 * emultempl/spuelf.em (params): Init new fields.
1335 (num_lines_set, line_size_set, icache_mgr, icache_mgr_stream): New vars.
1336 (spu_place_special_section): Adjust placement for soft-icache. Pad
1337 soft-icache section to a fixed size. Clear addr_tree.
1338 (spu_elf_load_ovl_mgr): Support soft-icache. Map overlay manager
1339 sections a little more intelligently.
1340 (gld${EMULATION_NAME}_finish): Don't call spu_elf_build_stubs.
1341 (OPTION_SPU_NUM_LINES): Rename from OPTION_SPU_NUM_REGIONS.
1342 (OPTION_SPU_SOFT_ICACHE, OPTION_SPU_LINE_SIZE): Define.
1343 (OPTION_SPU_LRLIVE): Define.
1344 (PARSE_AND_LIST_LONGOPTS): Add new soft-icache options.
1345 (PARSE_AND_LIST_OPTIONS): Likewise.
1346 (PARSE_AND_LIST_ARGS_CASES): Handle them.
1347 * emultempl/spu_icache.S: Dummy file.
1348 * emultempl/spu_icache.o_c: Regenerate.
1349 * Makefile.am (eelf32_spu.c): Depend on spu_icache.o_c.
1350 (spu_icache.o_c): Add rule to build.
1351 (CLEANFILES): Zap temp files.
1352 (EXTRA_DIST): Add spu_icache.o_c.
1353 * Makefile.in: Regenerate.
1354
ce11ba6c
KT
13552009-01-08 Kai Tietz <kai.tietz@onevision.com>
1356
1357 * pe.em (OPTION_USE_NUL_PREFIXED_IMPORT_TABLES): New.
1358 (gld..._add_options): Add new option
1359 --use-nul-prefixed-import-tables.
1360 (gld..._handle_option): Likewise.
1361 * pep.em: Same as for pe.em.
1362 * ld.texinfo: Add new option documentation for
1363 --use-nul-prefixed-import-tables.
1364 * pe-dll.c (pe_use_nul_prefixed_import_tables): New.
1365 (make_head): Make prefix leading zero prefix element for
1366 idata$4 and idata$5 dependent to new flag.
1367 (make_import_fixup_entry): Remove idata4/5 prefix.
1368 * pe-dll.h (pe_use_nul_prefixed_import_tables): New.
1369 * pep-dll.c (pe_use_nul_prefixed_import_tables): New.
1370 * pep-dll.h (pep_use_nul_prefixed_import_tables): New.
1371 * NEWS: Add new option.
1372
d34c1c51
KT
13732009-01-05 Kai Tietz <kai.tietz@onevision.com>
1374
1375 * emultempl/pe.em: Prefix dollar characters to be outputed in
1376 generated C file.
1377 * emultempl/pep.em: Likewise.
1378
e1c37eb5
DK
13792009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
1380
1381 * NEWS: Mention new feature --exclude-modules-for-implib.
1382 * ld.texinfo: Document new --exclude-modules-for-implib option.
1383 * pe-dll.c (exclude_list_struct): Change type member from int to
1384 new enumeration exclude_type.
1385 (pe_dll_add_excludes): Accept exclude_type instead of int param.
1386 (auto_export): Replace magic constants by exclude_type values and
1387 handle new choice EXCLUDEFORIMPLIB.
1388 (pe_dll_generate_implib): Accept a pointer to the link_info and
1389 iterate all input BFDs looking for EXCLUDEFORIMPLIB modules; re-open
1390 fresh BFDs for any found and link into import lib archive chain.
1391 * pe-dll.h (exclude_type): Add new enumerated type to replace magic
1392 constants previously used for exclude_list_struct type member.
1393 (pe_dll_add_excludes, pe_dll_generate_implib): Update prototypes.
1394 * pep-dll.h (exclude_type, pe_dll_add_excludes,
1395 pe_dll_generate_implib): Likewise to all the above.
1396 * emultempl/pe.em (OPTION_EXCLUDE_MODULES_FOR_IMPLIB): Define new
1397 getopts long option code for new --exclude-modules-for-implib option.
1398 (gld${EMULATION_NAME}_add_options): Add new entry to xtra_long[].
1399 (gld_${EMULATION_NAME}_list_options): List usage for it.
1400 (gld${EMULATION_NAME}_handle_option): Use exclude_type enumerated
1401 values when calling pe_dll_add_excludes, and handle EXCLUDEFORIMPLIB.
1402 (gld_${EMULATION_NAME}_finish): Pass pointer to link_info when
1403 calling pe_dll_generate_implib.
1404 * emultempl/pep.em (options): Define new enumerated value for getopts
1405 long option code for new --exclude-modules-for-implib option.
1406 (gld${EMULATION_NAME}_add_options, gld_${EMULATION_NAME}_list_options,
1407 gld${EMULATION_NAME}_handle_option, gld_${EMULATION_NAME}_finish):
1408 Again, likewise to all the above.
1409
81b07b16 14102009-01-03 Dave Korn <dave.korn.cygwin@gmail.com>
84e94c90 1411
81b07b16
DK
1412 * pe-dll.c (autofilter_liblist): Add entry for shared libgcc.
1413 (libnamencmp): New function.
1414 (auto_export): Use it in place of strncmp when filtering libraries.
84e94c90 1415
81b07b16 1416For older changes see ChangeLog-2008
252b5132
RH
1417\f
1418Local Variables:
1419mode: change-log
1420left-margin: 8
1421fill-column: 74
1422version-control: never
1423End: