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