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