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