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