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