2007-06-18 Markus Deuling <deuling@de.ibm.com>
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2007-06-18 Nathan Sidwell <nathan@codesourcery.com>
2
3 * ldlex.l, ldgram.y: Add ALIGNOF.
4 * ldexp.c (exp_print_token, foldname): Likewise.
5 * ld.texinfo: Likewise.
6
7 2007-06-18 Alan Modra <amodra@bigpond.net.au>
8
9 * Makefile.am: Add eelf32_spu.o rule.
10 * Makefile.in: Regenerate.
11 * emultempl/spuelf.em: Revert last change. Instead use EMBEDSPU
12 defined in Makefile for embedspu name.
13
14 2007-06-18 Alan Modra <amodra@bigpond.net.au>
15
16 * emultempl/spuelf.em (embedded_spu_file): Deduce embedspu program
17 name prefix from that of ld.
18
19 2007-06-14 H.J. Lu <hongjiu.lu@intel.com>
20
21 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
22
23 * acinclude.m4: Removed.
24
25 * Makefile.in: Regenerated.
26 * aclocal.m4: Likewise.
27 * configure: Likewise.
28
29 2007-06-14 Alan Modra <amodra@bigpond.net.au>
30
31 * emultempl/spu_ovl.S: Don't trash lr on tail call from one
32 overlay to another.
33 * emultempl/spu_ovl.o: Regenerate.
34
35 2007-06-11 Bob Wilson <bob.wilson@acm.org>
36
37 * emulparams/elf32xtensa.sh (OTHER_READONLY_SECTIONS): Add ONLY_IF_RO
38 for .xt_except_table.
39 (OTHER_RELRO_SECTIONS): New.
40
41 2007-06-11 Sterling Augustine <sterling@tensilica.com>
42 Bob Wilson <bob.wilson@acm.org>
43
44 * emultempl/xtensaelf.em (replace_insn_sec_with_prop_sec): Use renamed
45 XTENSA_PROP_NO_TRANSFORM flag instead of XTENSA_PROP_INSN_NO_TRANSFORM.
46
47 2007-06-01 Noah Misch <noah@cs.caltech.edu>
48 Alan Modra <amodra@bigpond.net.au>
49
50 * ldlang.c (ldlang_add_file): Use input_bfds_tail.
51 * ldmain.c (main): Init input_bfds_tail. Sort link_info
52 initialization.
53
54 2007-05-29 Alan Modra <amodra@bigpond.net.au>
55
56 * emultempl/spuelf.em (base_name): New function, split out from..
57 (embedded_spu_file) ..here. Pass -fPIC or -fpie to embedspu
58 invocation if we deduce a shared lib or position independent
59 executable build by looking at ctrbegin* linker input files.
60
61 2007-05-29 Alan Modra <amodra@bigpond.net.au>
62
63 * emultempl/spu_ovl.S (__rv_pattern, __cg_pattern): Set symbol
64 types and sizes.
65 * emultempl/spu_ovl.o: Regenerate.
66
67 2007-05-24 Steve Ellcey <sje@cup.hp.com>
68
69 * Makefile.in: Regnerate.
70 * configure: Regenerate.
71 * aclocal.m4: Regenerate.
72
73 2007-05-24 Nathan Sidwell <nathan@codesourcery.com>
74
75 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
76 contain commas in EXP env.
77 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
78 (extern_name_list_body): ... here.
79 (script_file, ifile_list): Reformat.
80 (statement): Add ASSERT.
81
82 2007-05-22 Nick Clifton <nickc@redhat.com>
83
84 * ld.texinfo: Use @copying around the copyright notice.
85 * ldint.texinfo: Likewise.
86
87 2007-05-18 Richard Sandiford <richard@codesourcery.com>
88
89 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
90 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
91
92 2007-05-16 Richard Sandiford <richard@codesourcery.com>
93
94 * configure.in: Allow sysroots to be relocated under $prefix as
95 well as $exec_prefix.
96 * configure: Regenerate.
97
98 2007-05-14 Andreas Schwab <schwab@suse.de>
99
100 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
101 Handle null pattern.
102
103 2007-05-11 Alan Modra <amodra@bigpond.net.au>
104
105 * emultempl/ppc32elf.em (plt_style): New variable.
106 (old_plt): Delete.
107 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
108 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
109 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
110 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
111 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
112 * ld.texinfo (--secure-plt): Document.
113
114 2007-05-08 Alan Modra <amodra@bigpond.net.au>
115
116 * ld.h (args_type, ld_config_type): Reorder fields.
117 * ldmain.c (main): Don't initialise a bunch of vars we know are
118 zero already.
119
120 2007-05-05 Anatoly Sokolov <aesok@post.ru>
121
122 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
123 "--pmem-wrap-around".
124 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
125
126 2007-05-03 Bob Wilson <bob.wilson@acm.org>
127
128 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
129
130 2007-05-03 Alan Modra <amodra@bigpond.net.au>
131
132 * ld.texinfo (--no-warn-search-mismatch): Document.
133 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
134 incompatible libraries if --no-warn-search-mismatch.
135 * ld.h (args_type): Add warn_search_mismatch.
136 * ldmain.c (main): Init it.
137 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
138 (ld_options): Add entry for --no-warn-search-mismatch.
139 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
140
141 2007-05-03 Alan Modra <amodra@bigpond.net.au>
142
143 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
144
145 2007-05-01 Robert Millan <rmh@aybabtu.com>
146
147 * ldlang.c (lang_check): Error on architecture mismatch.
148
149 2007-04-30 Alan Modra <amodra@bigpond.net.au>
150
151 * ldmain.c (link_callbacks): Init info and minfo fields.
152 * ldmisc.c (minfo): Do nothing if no map file.
153 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
154 (spu_after_open): Adjust spu_elf_create_sections call.
155 (spu_before_allocation): Likewise for spu_elf_size_stubs.
156 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
157 (PARSE_AND_LIST_LONGOPTS): Add new entries.
158 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
159 * gen-doc.texi: Add @set for SPU and other missing targets.
160 * ld.texinfo: Update man page selection to match gen-doc.texi.
161 Document SPU features.
162
163 2007-04-28 Alan Modra <amodra@bigpond.net.au>
164
165 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
166 (cref_fill_array): Adjust for changed demangler.
167 * ldlang.c (lang_one_common): Likewise.
168
169 2007-04-27 Nathan Froyd <froydnj@codesourcery.com>
170
171 * emulparams/elf32_sparc.sh: Update comments.
172 * emulparams/elf32bmip.sh: Likewise.
173 * emulparams/elf32ppc.sh: Likewise.
174 * emulparams/vxworks.sh: Likewise.
175
176 2007-04-27 Alan Modra <amodra@bigpond.net.au>
177
178 Many files: Include sysdep.h first. Remove duplicate headers.
179 * Makefile.am: Run "make dep-am".
180 * Makefile.in: Regenerate.
181
182 2007-04-24 Alan Modra <amodra@bigpond.net.au>
183
184 * Makefile.in: Regenerate.
185
186 2007-04-19 Alan Modra <amodra@bigpond.net.au>
187
188 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
189 * ldlang.c (lang_one_common): Likewise.
190 * ldmisc.c (vfinfo): Likewise.
191 (demangle): Delete.
192 * ldmisc.h (demangle): Delete.
193 * Makefile.am: Run "make dep-am".
194 * Makefile.in: Regenerate.
195
196 2007-04-18 Alan Modra <amodra@bigpond.net.au>
197
198 * ldlang.h (enum section_type): Add overlay_section.
199 * ldlang.c (lang_add_section): Handle flags for overlay_section
200 as per normal_section.
201 (lang_size_sections_1): When setting lma, detect overlays by
202 os->sectype rather than by looking for overlapping vmas.
203 (lang_enter_overlay_section): Use overlay_section type.
204 (lang_leave_overlay): Set first overlay section to normal.
205
206 2007-04-14 Steve Ellcey <sje@cup.hp.com>
207
208 * Makefile.am: Add ACLOCAL_AMFLAGS.
209 * Makefile.in: Regenerate.
210
211 2007-04-12 Bob Wilson <bob.wilson@acm.org>
212
213 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
214
215 2007-04-10 Richard Henderson <rth@redhat.com>
216
217 * ldlang.c (relax_sections): Initialize and increment
218 link_info.relax_trip.
219
220 2007-04-04 Paul Brook <paul@codesourcery.com>
221
222 * configure.tgt: Loosen checks for arm uclinux eabi targets.
223
224 2007-04-02 H.J. Lu <hongjiu.lu@intel.com>
225
226 PR ld/4090
227 * ldexp.h (node_type): Add lineno.
228 * ldexp.c: Include "ldlex.h".
229 (exp_intop): Set the lineno field from lineno.
230 (exp_bigintop): Likewise.
231 (exp_relop): Likewise.
232 (exp_nameop): Likewise.
233 (exp_binop): Set the lineno field from lineno of lhs.
234 (exp_trinop): Likewise.
235 (exp_unop): Set the lineno field from lineno of child.
236 (exp_assop): Set the lineno field from lineno of src.
237 (exp_provide): Likewise.
238 (exp_assert): Set the lineno field from lineno of exp.
239 (exp_get_abs_int): Set lineno from lineno of nonconstant
240 expression when report problem.
241
242 2007-03-29 Richard Sandiford <richard@codesourcery.com>
243 Daniel Jacobowitz <dan@codesourcery.com>
244
245 * NEWS: Mention -l:foo.
246 * ld.texinfo: Document it.
247 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
248 entry as a name beginning with a coloh, convert it to a
249 lang_input_file_is_search_file_enum entry without the colon.
250
251 2007-03-28 Richard Sandiford <richard@codesourcery.com>
252
253 * ld.h (ld_config_type): Add rpath_separator.
254 * ldmain.c (main): Initialize it.
255 * lexsup.c (parse_args): Honor config.rpath_separator.
256 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
257 (gld${EMULATION_NAME}_add_sysroot): Likewise.
258 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
259 rather than ':' when building the path.
260 * emultempl/vxworks.em (vxworks_before_parse): New function.
261 Override config.rpath_separator.
262 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
263 set to gld${EMULATION_NAME}_after_open; #define that identifier
264 to vxworks_foo instead.
265 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
266
267 2007-03-28 Richard Sandiford <richard@codesourcery.com>
268 Phil Edwards <phil@codesourcery.com>
269
270 * ld.texinfo: Put the contents after the title page rather
271 than at the end of the document.
272
273 2007-03-26 Alan Modra <amodra@bigpond.net.au>
274
275 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
276 spu target emul files.
277 * configure.in: Check for mkstemp and waitpid.
278 * Makefile.in: Regenerate.
279 * configure: Regenerate.
280 * config.in: Regenerate.
281 * ldlang.c (input_file_chain): Make global.
282 (lang_add_input_file): Don't set lang_has_input_file here.
283 * ldlang.h (input_file_chain): Declare.
284 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
285 (LDEMUL_RECOGNIZED_FILE): Define.
286 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
287 (LDEMUL_RECOGNIZED_FILE): Define.
288 * emultempl/spuelf.em (struct tflist): New.
289 (tmp_file_list): New var.
290 (clean_tmp, embedded_spu_file): New functions.
291
292 2007-03-24 Alan Modra <amodra@bigpond.net.au>
293
294 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
295 rather than defining unconditionally.
296 (lang_leave_overlay_section): Likewise.
297 * ld.texinfo (Overlay Description): Update description and examples
298 for start/stop syms.
299
300 2007-03-22 Joseph Myers <joseph@codesourcery.com>
301
302 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
303
304 2007-03-20 Paul Brook <paul@codesourcery.com>
305
306 * emultempl/armelf.em (pic_veneer): New variable.
307 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
308 (PARSE_AND_LIST_ARGS_CASES): Ditto.
309 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
310 (PARSE_AND_LIST_OPTIONS): Ditto.
311 * ld.texinfo: Document --pic-veneer.
312
313 2007-03-18 Mark Shinwell <shinwell@codesourcery.com>
314
315 * ld.texinfo: Document --no-enum-size-warning.
316 * emultempl/armelf.em (no_enum_size_warning): New.
317 (arm_elf_create_output_section_statements): Correct typo
318 in comment. Pass no_enum_size_warning to
319 bfd_elf32_arm_set_target_relocs.
320 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
321 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
322 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
323 case.
324
325 2007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
326
327 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
328 (bfin-*-linux-uclibc*): New target.
329
330 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
331
332 * pe-dll.c (make_one): Use pc-relative relocation instead of an
333 absolute relocation for x86_64-pc-mingw32 target.
334
335 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
336
337 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
338 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
339 (TEXI2DVI): Likewise.
340 (REPORT_BUGS_TO): Removed.
341 (INCLUDES): Remove -DREPORT_BUGS_TO.
342 (ldver.texi): Likewise.
343 (ld.1): Don't depend on ldver.texi.
344 (MOSTLYCLEANFILES): Remove ldver.texi.
345 * Makefile.in: Regenerated.
346
347 * configure.in (--with-bugurl): Removed.
348 * configure: Regenerated.
349
350 * lexsup.c: Include bfdver.h.
351
352 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
353
354 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
355
356 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
357
358 2007-03-08 Alan Modra <amodra@bigpond.net.au>
359
360 * ldlang.c (lang_size_sections_1): Correct backwards dot move
361 test to not trigger on overlays. Only warn on backwards move
362 if non-default lma.
363
364 2007-03-07 Joseph Myers <joseph@codesourcery.com>
365
366 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
367 bug-reporting URL.
368 * Makefile.am (ldver.texi): Define BUGURL.
369 * ld.texinfo: Use BUGURL.
370 * Makefile.in, configure: Regenerate.
371
372 2007-03-07 Nick Clifton <nickc@redhat.com>
373
374 PR ld/4023
375 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
376 from any paths being inserted into the output binary's DT_RPATH.
377
378 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
379
380 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
381
382 2007-03-01 Joseph Myers <joseph@codesourcery.com>
383
384 * ldver.c (ldversion): Remove word "version" from output. Update
385 copyright date.
386
387 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
388
389 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
390 (eshelf_uclinux.c): New target.
391 * Makefile.in: Rebuilt.
392 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
393 * emulparams/shelf_uclinux.sh: New.
394
395 2007-02-28 Alan Modra <amodra@bigpond.net.au>
396
397 * configure.tgt: Fix type last change.
398 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
399
400 2007-02-27 Alan Modra <amodra@bigpond.net.au>
401
402 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
403 (eelf32_spu.c): Adjust dependencies.
404 * Makefile.in: Regenerate.
405 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
406 code using bin2c.
407 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
408 (ovl_mgr_stream): Update.
409 * emultempl/spu_inc.s: Delete.
410 * emultempl/spu_none.s: Delete.
411
412 2007-02-26 Alan Modra <amodra@bigpond.net.au>
413
414 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
415 to _binary_spu_ovl_o_start.
416 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
417 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
418 * emultempl/spu_inc.s: Rename symbols.
419 * emultempl/spu_none.s: New file.
420 * emultempl/spu_ovl.S: Update copyright.
421 * Makefile.am (spu_inc.o): Try building with ld -r first, then
422 gas incbin, then build without overlay manager.
423 * Makefile.in: Regenerate.
424
425 2007-02-22 Joseph Myers <joseph@codesourcery.com>
426
427 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
428 mips*el-*-linux-*, mips*-*-linux-*): Set
429 targ_extra_libpath=$targ_extra_emuls.
430
431 2007-02-21 Nick Clifton <nickc@redhat.com>
432
433 * ldlang.c (ldlang_override_segment_assignment): New function.
434 * ldlang.h (ldlang_override_segment_assignment): Prototype.
435 * ldmain.c (link_callbacks): Add
436 ldlang_override_segment_assignment.
437
438 2007-02-20 Alan Modra <amodra@bigpond.net.au>
439
440 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
441
442 2007-02-17 Mark Mitchell <mark@codesourcery.com>
443 Nathan Sidwell <nathan@codesourcery.com>
444 Vladimir Prus <vladimir@codesourcery.com
445 Joseph Myers <joseph@codesourcery.com>
446
447 * configure.in (--with-bugurl): New option.
448 * configure: Regenerate.
449 * Makefile.am (REPORT_BUGS_TO): Define.
450 (INCLUDES): Define REPORT_BUGS_TO.
451 Regenerate dependencies.
452 * Makefile.in: Regenerate.
453 * ld.h: Remove include of bin-bugs.h.
454 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
455
456 2007-02-17 Alan Modra <amodra@bigpond.net.au>
457
458 * ldcref.c (check_reloc_refs): Compare section for local syms.
459
460 2007-02-13 Alan Modra <amodra@bigpond.net.au>
461
462 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
463 (__ovly_load_event): Define.
464 (size): Rename to osize.
465 * emultempl/spu_ovl.o: Regenerate.
466
467 2007-02-13 Alan Modra <amodra@bigpond.net.au>
468
469 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
470 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
471 SEC_RELOC flag set.
472
473 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
474
475 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
476 want64 is true.
477 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
478 true
479 * configure: Regenerated.
480
481 * configure.tgt (targ_extra_libpath): Initialize.
482 (targ64_extra_emuls): New. Document. Initialize.
483 (targ64_extra_libpath): Likewise.
484 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
485 targ64_extra_libpath.
486 (powerpc*-*-linux*): Likewise.
487 (s390-*-linux*): Likewise.
488
489 2007-02-07 Paul Brook <paul@codesourcery.com>
490
491 * configure.tgt: Add arm*-*-uclinux-*eabi.
492
493 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
494
495 * ldlang.c (lang_size_sections_1): Add a missing `)'.
496
497 2007-02-06 Alan Modra <amodra@bigpond.net.au>
498
499 PR ld/3966
500 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
501 move unless section size is non-zero.
502
503 2007-02-05 Dave Brolley <brolley@redhat.com>
504
505 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
506 * configure.tgt: Likewise.
507 * scripttempl/mep.sc: New file.
508 * emulparams/elf32mep.sh: New file.
509 * Makefile.in: Regenerate.
510
511 2006-01-29 Julian Brown <julian@codesourcery.com>
512
513 * NEWS: Mention --vfp11-denorm-fix option.
514 * ld.texinfo: Document above.
515 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
516 .vfp11_veneer section.
517 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
518 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
519 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
520 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
521 (arm_elf_after_allocation): New function. Call
522 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
523 (arm_elf_create_output_section_statements): Pass vfp11 fix command
524 line option to BFD.
525 (OPTION_VFP11_DENORM_FIX): New option.
526 (PARSE_AND_LIST_LONGOPTS): Handle new option.
527 (PARSE_AND_LIST_OPTIONS): Likewise.
528 (PARSE_AND_LIST_ARGS_CASES): Likewise.
529 (LDEMUL_AFTER_ALLOCATION): Define.
530
531 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
532
533 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
534 (DEFSYMEND): Likewise.
535 (NAME): Likewise.
536 (LNAME): Likewise.
537
538 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
539
540 * pe-dll.c: (make_one) Conditionally include jump stubs.
541 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
542 redundant jump stubs from import libraries and exclude them from
543 link.
544
545 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
546
547 * ld.h (args_type): Add new symbolic and dynamic_list fields.
548
549 * ld.texinfo: Update -Bsymbolic-functions.
550
551 * ldmain.c (main): Initialize command_line.symbolic to
552 symbolic_unset and command_line.dynamic_list to
553 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
554 --dynamic-list* before setting link_info.symbolic,
555 link_info.dynamic and link_info.dynamic_data.
556
557 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
558 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
559 -Bsymbolic-functions.
560 (parse_args): Handle -Bsymbolic-functions. Don't set
561 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
562 here. Set command_line.symbolic for -Bsymbolic. Set
563 command_line.dynamic_list and command_line.symbolic for
564 --dynamic-list-data, --dynamic-list-cpp-new,
565 --dynamic-list-cpp-typeinfo and --dynamic-list.
566
567 2007-01-19 Jakub Jelinek <jakub@redhat.com>
568 H.J. Lu <hongjiu.lu@intel.com>
569
570 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
571 or -z common-page-size argument is a power of 2. Call
572 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
573
574 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
575
576 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
577 bfd_emul_set_commonpagesize.
578
579 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
580
581 * NEWS: Mention --default-script/-dT.
582
583 * ld.h (args_type): Add a default_script field.
584
585 * ld.texinfo: Document --default-script/-dT.
586
587 * ldmain.c (main): Handle command_line.default_script.
588
589 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
590 (ld_options): Add entries for --default-script and -dT.
591 (parse_args): Handle --default-script/-dT.
592
593 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
594
595 PR ld/3831
596 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
597 --dynamic-list-cpp-new.
598
599 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
600 and --dynamic-list-cpp-new.
601
602 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
603 (lang_process): Change link_info.dynamic to
604 link_info.dynamic_list.
605 (lang_append_dynamic_list): Likewise.
606 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
607 link_info.dynamic_data to FALSE.
608
609 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
610
611 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
612 OPTION_DYNAMIC_LIST_CPP_NEW.
613 (ld_options): Add entries for -Bsymbolic-functions,
614 --dynamic-list-data and --dynamic-list-cpp-new. Make
615 -Bsymbolic-functions an alias of --dynamic-list-data.
616 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
617 Set link_info.dynamic to TRUE for --dynamic-list and
618 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
619 --dynamic-list-cpp-new.
620
621 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
622
623 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
624 shrinkage for the first few iterations.
625
626 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
627
628 * configure.tgt: Renamed target x86_64-*-mingw64 to
629 x86_64-*-mingw*.
630
631 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
632
633 * configure.host: Add i[3-7]86-*-mingw* case.
634
635 2007-01-08 Nick Clifton <nickc@redhat.com>
636
637 * pep-dll.h (pep_bfd_is_dll): Add prototype.
638
639 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
640
641 PR ld/3843
642 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
643 tdir_elf_i386_fbsd.
644
645 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
646
647 * ldexp.c (fold_name): Issue error on undefined sections.
648
649 2007-01-02 Alan Modra <amodra@bigpond.net.au>
650
651 * pe-dll.c: Include pe-dll.h.
652 * pep-dll.c (pe_bfd_is_dll): Define.
653
654 For older changes see ChangeLog-2006
655 \f
656 Local Variables:
657 mode: change-log
658 left-margin: 8
659 fill-column: 74
660 version-control: never
661 End:
This page took 0.041846 seconds and 4 git commands to generate.