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