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