* ltmain.sh: Update from GCC.
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
37ad9514
SE
12007-05-24 Steve Ellcey <sje@cup.hp.com>
2
3 * Makefile.in: Regnerate.
4 * configure: Regenerate.
5 * aclocal.m4: Regenerate.
6
8545d1a9
NS
72007-05-24 Nathan Sidwell <nathan@codesourcery.com>
8
9 * ldlex.l: ASSERT is recognized in SCRIPT env. NAMES cannot
10 contain commas in EXP env.
11 * ldgram.y (extern_name_list): Push to EXP env, move body to ...
12 (extern_name_list_body): ... here.
13 (script_file, ifile_list): Reformat.
14 (statement): Add ASSERT.
15
0e9517a9
NC
162007-05-22 Nick Clifton <nickc@redhat.com>
17
18 * ld.texinfo: Use @copying around the copyright notice.
19 * ldint.texinfo: Likewise.
20
120facfc
RS
212007-05-18 Richard Sandiford <richard@codesourcery.com>
22
23 * emulparams/elf32ebmipvxworks.sh (OTHER_READONLY_SECTIONS)
24 (OTHER_READWRITE_SECTIONS): Define. Add .rdata sections.
25
fa1e8d8e
RS
262007-05-16 Richard Sandiford <richard@codesourcery.com>
27
28 * configure.in: Allow sysroots to be relocated under $prefix as
29 well as $exec_prefix.
30 * configure: Regenerate.
31
b7b7fe3f
AS
322007-05-14 Andreas Schwab <schwab@suse.de>
33
34 * emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern):
35 Handle null pattern.
36
016687f8
AM
372007-05-11 Alan Modra <amodra@bigpond.net.au>
38
39 * emultempl/ppc32elf.em (plt_style): New variable.
40 (old_plt): Delete.
41 (ppc_after_open): Adjust ppc_elf_select_plt_layout call.
42 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NEW_PLT, renumber
43 OPTION_OLD_PLT, OPTION_OLD_GOT and OPTION_STUBSYMS.
44 (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add secure-plt.
45 (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_NEW_PLT.
46 * ld.texinfo (--secure-plt): Document.
47
3b95049e
AM
482007-05-08 Alan Modra <amodra@bigpond.net.au>
49
50 * ld.h (args_type, ld_config_type): Reorder fields.
51 * ldmain.c (main): Don't initialise a bunch of vars we know are
52 zero already.
53
2a69000b
DC
542007-05-05 Anatoly Sokolov <aesok@post.ru>
55
56 * multempl/avrelf.em (PARSE_AND_LIST_ARGS_CASES): Add new value for
57 "--pmem-wrap-around".
58 (PARSE_AND_LIST_OPTIONS): Describe new value for "--pmem-wrap-around".
59
93c0f4a4
BW
602007-05-03 Bob Wilson <bob.wilson@acm.org>
61
62 * scripttempl/elfxtensa.sc: Merge changes from elf.sc.
63
fe7929ce
AM
642007-05-03 Alan Modra <amodra@bigpond.net.au>
65
66 * ld.texinfo (--no-warn-search-mismatch): Document.
67 * ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
68 incompatible libraries if --no-warn-search-mismatch.
69 * ld.h (args_type): Add warn_search_mismatch.
70 * ldmain.c (main): Init it.
71 * lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
72 (ld_options): Add entry for --no-warn-search-mismatch.
73 (parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
74
083a6ddf
AM
752007-05-03 Alan Modra <amodra@bigpond.net.au>
76
77 * scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
78
79ac49f0
AM
792007-05-01 Robert Millan <rmh@aybabtu.com>
80
81 * ldlang.c (lang_check): Error on architecture mismatch.
82
49fa1e15
AM
832007-04-30 Alan Modra <amodra@bigpond.net.au>
84
85 * ldmain.c (link_callbacks): Init info and minfo fields.
86 * ldmisc.c (minfo): Do nothing if no map file.
87 * emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
88 (spu_after_open): Adjust spu_elf_create_sections call.
89 (spu_before_allocation): Likewise for spu_elf_size_stubs.
90 (OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
91 (PARSE_AND_LIST_LONGOPTS): Add new entries.
92 (PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
93 * gen-doc.texi: Add @set for SPU and other missing targets.
94 * ld.texinfo: Update man page selection to match gen-doc.texi.
95 Document SPU features.
96
d7d4c8de
AM
972007-04-28 Alan Modra <amodra@bigpond.net.au>
98
99 * ldcref.c (struct cref_hash_entry): Make "demangled" const.
100 (cref_fill_array): Adjust for changed demangler.
101 * ldlang.c (lang_one_common): Likewise.
102
54530ea4
AM
1032007-04-27 Nathan Froyd <froydnj@codesourcery.com>
104
105 * emulparams/elf32_sparc.sh: Update comments.
106 * emulparams/elf32bmip.sh: Likewise.
107 * emulparams/elf32ppc.sh: Likewise.
108 * emulparams/vxworks.sh: Likewise.
109
eddc20ad
AM
1102007-04-27 Alan Modra <amodra@bigpond.net.au>
111
112 Many files: Include sysdep.h first. Remove duplicate headers.
113 * Makefile.am: Run "make dep-am".
114 * Makefile.in: Regenerate.
115
080b416d
AM
1162007-04-24 Alan Modra <amodra@bigpond.net.au>
117
118 * Makefile.in: Regenerate.
119
73705ac3
AM
1202007-04-19 Alan Modra <amodra@bigpond.net.au>
121
122 * ldcref.c (cref_fill_array): Call bfd_demangle rather than demangle.
123 * ldlang.c (lang_one_common): Likewise.
124 * ldmisc.c (vfinfo): Likewise.
125 (demangle): Delete.
126 * ldmisc.h (demangle): Delete.
127 * Makefile.am: Run "make dep-am".
128 * Makefile.in: Regenerate.
129
152d792f
AM
1302007-04-18 Alan Modra <amodra@bigpond.net.au>
131
132 * ldlang.h (enum section_type): Add overlay_section.
133 * ldlang.c (lang_add_section): Handle flags for overlay_section
134 as per normal_section.
135 (lang_size_sections_1): When setting lma, detect overlays by
136 os->sectype rather than by looking for overlapping vmas.
137 (lang_enter_overlay_section): Use overlay_section type.
138 (lang_leave_overlay): Set first overlay section to normal.
139
b7d19ba6
SE
1402007-04-14 Steve Ellcey <sje@cup.hp.com>
141
142 * Makefile.am: Add ACLOCAL_AMFLAGS.
143 * Makefile.in: Regenerate.
144
e1e5c0b5 1452007-04-12 Bob Wilson <bob.wilson@acm.org>
54530ea4 146
e1e5c0b5 147 * emulparams/elf32xtensa.sh (OTHER_SECTIONS): KEEP property sections.
54530ea4 148
4a828aab
RH
1492007-04-10 Richard Henderson <rth@redhat.com>
150
151 * ldlang.c (relax_sections): Initialize and increment
152 link_info.relax_trip.
153
9fcfe2ed
PB
1542007-04-04 Paul Brook <paul@codesourcery.com>
155
156 * configure.tgt: Loosen checks for arm uclinux eabi targets.
157
f856040a
L
1582007-04-02 H.J. Lu <hongjiu.lu@intel.com>
159
160 PR ld/4090
161 * ldexp.h (node_type): Add lineno.
162 * ldexp.c: Include "ldlex.h".
163 (exp_intop): Set the lineno field from lineno.
164 (exp_bigintop): Likewise.
165 (exp_relop): Likewise.
166 (exp_nameop): Likewise.
167 (exp_binop): Set the lineno field from lineno of lhs.
168 (exp_trinop): Likewise.
169 (exp_unop): Set the lineno field from lineno of child.
170 (exp_assop): Set the lineno field from lineno of src.
171 (exp_provide): Likewise.
172 (exp_assert): Set the lineno field from lineno of exp.
173 (exp_get_abs_int): Set lineno from lineno of nonconstant
174 expression when report problem.
175
bcb674cf
RS
1762007-03-29 Richard Sandiford <richard@codesourcery.com>
177 Daniel Jacobowitz <dan@codesourcery.com>
178
179 * NEWS: Mention -l:foo.
180 * ld.texinfo: Document it.
181 * ldlang.c (new_afile): If a lang_input_file_is_l_enum
182 entry as a name beginning with a coloh, convert it to a
183 lang_input_file_is_search_file_enum entry without the colon.
184
c76308d2
RS
1852007-03-28 Richard Sandiford <richard@codesourcery.com>
186
187 * ld.h (ld_config_type): Add rpath_separator.
188 * ldmain.c (main): Initialize it.
189 * lexsup.c (parse_args): Honor config.rpath_separator.
190 * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise.
191 (gld${EMULATION_NAME}_add_sysroot): Likewise.
192 (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator
193 rather than ':' when building the path.
194 * emultempl/vxworks.em (vxworks_before_parse): New function.
195 Override config.rpath_separator.
196 (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been
197 set to gld${EMULATION_NAME}_after_open; #define that identifier
198 to vxworks_foo instead.
199 (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN.
200
4ecceb71
RS
2012007-03-28 Richard Sandiford <richard@codesourcery.com>
202 Phil Edwards <phil@codesourcery.com>
203
204 * ld.texinfo: Put the contents after the title page rather
205 than at the end of the document.
206
b6470398
AM
2072007-03-26 Alan Modra <amodra@bigpond.net.au>
208
209 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
210 spu target emul files.
211 * configure.in: Check for mkstemp and waitpid.
212 * Makefile.in: Regenerate.
213 * configure: Regenerate.
214 * config.in: Regenerate.
215 * ldlang.c (input_file_chain): Make global.
216 (lang_add_input_file): Don't set lang_has_input_file here.
217 * ldlang.h (input_file_chain): Declare.
218 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
219 (LDEMUL_RECOGNIZED_FILE): Define.
220 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
221 (LDEMUL_RECOGNIZED_FILE): Define.
222 * emultempl/spuelf.em (struct tflist): New.
223 (tmp_file_list): New var.
224 (clean_tmp, embedded_spu_file): New functions.
225
34711ca3
AM
2262007-03-24 Alan Modra <amodra@bigpond.net.au>
227
228 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
229 rather than defining unconditionally.
230 (lang_leave_overlay_section): Likewise.
231 * ld.texinfo (Overlay Description): Update description and examples
232 for start/stop syms.
233
e49e529d
JM
2342007-03-22 Joseph Myers <joseph@codesourcery.com>
235
236 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
237
27e55c4d
PB
2382007-03-20 Paul Brook <paul@codesourcery.com>
239
240 * emultempl/armelf.em (pic_veneer): New variable.
241 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
242 (PARSE_AND_LIST_ARGS_CASES): Ditto.
243 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
244 (PARSE_AND_LIST_OPTIONS): Ditto.
245 * ld.texinfo: Document --pic-veneer.
246
bf21ed78
MS
2472007-03-18 Mark Shinwell <shinwell@codesourcery.com>
248
249 * ld.texinfo: Document --no-enum-size-warning.
250 * emultempl/armelf.em (no_enum_size_warning): New.
251 (arm_elf_create_output_section_statements): Correct typo
252 in comment. Pass no_enum_size_warning to
253 bfd_elf32_arm_set_target_relocs.
254 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
255 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
256 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
257 case.
258
3f2dad24
BS
2592007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
260
261 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
262 (bfin-*-linux-uclibc*): New target.
263
591a748a
NC
2642007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
265
266 * pe-dll.c (make_one): Use pc-relative relocation instead of an
267 absolute relocation for x86_64-pc-mingw32 target.
268
c428fa83
L
2692007-03-15 H.J. Lu <hongjiu.lu@intel.com>
270
271 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
272 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
273 (TEXI2DVI): Likewise.
274 (REPORT_BUGS_TO): Removed.
275 (INCLUDES): Remove -DREPORT_BUGS_TO.
276 (ldver.texi): Likewise.
277 (ld.1): Don't depend on ldver.texi.
278 (MOSTLYCLEANFILES): Remove ldver.texi.
279 * Makefile.in: Regenerated.
280
281 * configure.in (--with-bugurl): Removed.
282 * configure: Regenerated.
283
284 * lexsup.c: Include bfdver.h.
285
286 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
287
45fd5a53
HPN
2882007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
289
290 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
291
91eb6c46
AM
2922007-03-08 Alan Modra <amodra@bigpond.net.au>
293
294 * ldlang.c (lang_size_sections_1): Correct backwards dot move
295 test to not trigger on overlays. Only warn on backwards move
296 if non-default lma.
297
ad22bfe8
JM
2982007-03-07 Joseph Myers <joseph@codesourcery.com>
299
300 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
301 bug-reporting URL.
302 * Makefile.am (ldver.texi): Define BUGURL.
303 * ld.texinfo: Use BUGURL.
304 * Makefile.in, configure: Regenerate.
305
057cac08
NC
3062007-03-07 Nick Clifton <nickc@redhat.com>
307
308 PR ld/4023
309 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
310 from any paths being inserted into the output binary's DT_RPATH.
311
d6ed30ba
NS
3122007-03-02 Nathan Sidwell <nathan@codesourcery.com>
313
314 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
315
066c2a57
JM
3162007-03-01 Joseph Myers <joseph@codesourcery.com>
317
318 * ldver.c (ldversion): Remove word "version" from output. Update
319 copyright date.
320
ed6ba298
NS
3212007-02-28 Nathan Sidwell <nathan@codesourcery.com>
322
323 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
324 (eshelf_uclinux.c): New target.
325 * Makefile.in: Rebuilt.
326 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
327 * emulparams/shelf_uclinux.sh: New.
328
2eacb3e8
AM
3292007-02-28 Alan Modra <amodra@bigpond.net.au>
330
46c3c201 331 * configure.tgt: Fix type last change.
2eacb3e8
AM
332 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
333
f0d89437
AM
3342007-02-27 Alan Modra <amodra@bigpond.net.au>
335
336 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
337 (eelf32_spu.c): Adjust dependencies.
338 * Makefile.in: Regenerate.
339 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
340 code using bin2c.
341 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
342 (ovl_mgr_stream): Update.
343 * emultempl/spu_inc.s: Delete.
344 * emultempl/spu_none.s: Delete.
345
45d3b878
AM
3462007-02-26 Alan Modra <amodra@bigpond.net.au>
347
348 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
349 to _binary_spu_ovl_o_start.
350 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
351 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
352 * emultempl/spu_inc.s: Rename symbols.
353 * emultempl/spu_none.s: New file.
354 * emultempl/spu_ovl.S: Update copyright.
355 * Makefile.am (spu_inc.o): Try building with ld -r first, then
356 gas incbin, then build without overlay manager.
357 * Makefile.in: Regenerate.
358
919e35ed
JM
3592007-02-22 Joseph Myers <joseph@codesourcery.com>
360
361 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
362 mips*el-*-linux-*, mips*-*-linux-*): Set
363 targ_extra_libpath=$targ_extra_emuls.
364
2889e75b
NC
3652007-02-21 Nick Clifton <nickc@redhat.com>
366
367 * ldlang.c (ldlang_override_segment_assignment): New function.
368 * ldlang.h (ldlang_override_segment_assignment): Prototype.
369 * ldmain.c (link_callbacks): Add
370 ldlang_override_segment_assignment.
371
67469e1f
AM
3722007-02-20 Alan Modra <amodra@bigpond.net.au>
373
374 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
375
92f01d61
JM
3762007-02-17 Mark Mitchell <mark@codesourcery.com>
377 Nathan Sidwell <nathan@codesourcery.com>
378 Vladimir Prus <vladimir@codesourcery.com
379 Joseph Myers <joseph@codesourcery.com>
380
381 * configure.in (--with-bugurl): New option.
382 * configure: Regenerate.
383 * Makefile.am (REPORT_BUGS_TO): Define.
384 (INCLUDES): Define REPORT_BUGS_TO.
385 Regenerate dependencies.
386 * Makefile.in: Regenerate.
387 * ld.h: Remove include of bin-bugs.h.
388 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
389
dc1946a1
AM
3902007-02-17 Alan Modra <amodra@bigpond.net.au>
391
392 * ldcref.c (check_reloc_refs): Compare section for local syms.
393
b1e37473
AM
3942007-02-13 Alan Modra <amodra@bigpond.net.au>
395
396 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
397 (__ovly_load_event): Define.
398 (size): Rename to osize.
399 * emultempl/spu_ovl.o: Regenerate.
400
e4e0193e
AM
4012007-02-13 Alan Modra <amodra@bigpond.net.au>
402
403 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
404 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
405 SEC_RELOC flag set.
406
534d3119
L
4072007-02-09 H.J. Lu <hongjiu.lu@intel.com>
408
409 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
410 want64 is true.
411 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
412 true
413 * configure: Regenerated.
414
415 * configure.tgt (targ_extra_libpath): Initialize.
416 (targ64_extra_emuls): New. Document. Initialize.
417 (targ64_extra_libpath): Likewise.
418 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
419 targ64_extra_libpath.
420 (powerpc*-*-linux*): Likewise.
421 (s390-*-linux*): Likewise.
422
7bd1c961
PB
4232007-02-07 Paul Brook <paul@codesourcery.com>
424
425 * configure.tgt: Add arm*-*-uclinux-*eabi.
426
ea0c3cd5
L
4272007-02-06 H.J. Lu <hongjiu.lu@intel.com>
428
429 * ldlang.c (lang_size_sections_1): Add a missing `)'.
430
264b6205
AM
4312007-02-06 Alan Modra <amodra@bigpond.net.au>
432
ea0c3cd5 433 PR ld/3966
264b6205
AM
434 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
435 move unless section size is non-zero.
436
19d9b7d3
DB
4372007-02-05 Dave Brolley <brolley@redhat.com>
438
439 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
440 * configure.tgt: Likewise.
441 * scripttempl/mep.sc: New file.
442 * emulparams/elf32mep.sh: New file.
443 * Makefile.in: Regenerate.
444
c6dd86c6
JB
4452006-01-29 Julian Brown <julian@codesourcery.com>
446
447 * NEWS: Mention --vfp11-denorm-fix option.
448 * ld.texinfo: Document above.
449 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
450 .vfp11_veneer section.
451 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
452 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
453 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
454 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
455 (arm_elf_after_allocation): New function. Call
456 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
457 (arm_elf_create_output_section_statements): Pass vfp11 fix command
458 line option to BFD.
459 (OPTION_VFP11_DENORM_FIX): New option.
460 (PARSE_AND_LIST_LONGOPTS): Handle new option.
461 (PARSE_AND_LIST_OPTIONS): Likewise.
462 (PARSE_AND_LIST_ARGS_CASES): Likewise.
463 (LDEMUL_AFTER_ALLOCATION): Define.
464
ed9ef263
L
4652007-01-24 H.J. Lu <hongjiu.lu@intel.com>
466
467 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
468 (DEFSYMEND): Likewise.
469 (NAME): Likewise.
470 (LNAME): Likewise.
471
54727719
NC
4722007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
473
474 * pe-dll.c: (make_one) Conditionally include jump stubs.
475 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
91eb6c46 476 redundant jump stubs from import libraries and exclude them from
54727719
NC
477 link.
478
5f400437 4792007-01-19 H.J. Lu <hongjiu.lu@intel.com>
d8cf8b51
L
480
481 * ld.h (args_type): Add new symbolic and dynamic_list fields.
482
483 * ld.texinfo: Update -Bsymbolic-functions.
484
485 * ldmain.c (main): Initialize command_line.symbolic to
486 symbolic_unset and command_line.dynamic_list to
487 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
488 --dynamic-list* before setting link_info.symbolic,
91eb6c46 489 link_info.dynamic and link_info.dynamic_data.
d8cf8b51
L
490
491 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
492 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
493 -Bsymbolic-functions.
494 (parse_args): Handle -Bsymbolic-functions. Don't set
495 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
496 here. Set command_line.symbolic for -Bsymbolic. Set
497 command_line.dynamic_list and command_line.symbolic for
498 --dynamic-list-data, --dynamic-list-cpp-new,
499 --dynamic-list-cpp-typeinfo and --dynamic-list.
500
b8142865
L
5012007-01-19 Jakub Jelinek <jakub@redhat.com>
502 H.J. Lu <hongjiu.lu@intel.com>
503
504 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
505 or -z common-page-size argument is a power of 2. Call
506 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
507
5082007-01-19 H.J. Lu <hongjiu.lu@intel.com>
509
510 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
511 bfd_emul_set_commonpagesize.
512
5f400437 5132007-01-19 H.J. Lu <hongjiu.lu@intel.com>
14be8564
L
514
515 * NEWS: Mention --default-script/-dT.
516
517 * ld.h (args_type): Add a default_script field.
518
519 * ld.texinfo: Document --default-script/-dT.
520
521 * ldmain.c (main): Handle command_line.default_script.
522
523 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
524 (ld_options): Add entries for --default-script and -dT.
525 (parse_args): Handle --default-script/-dT.
526
40b36307
L
5272007-01-16 H.J. Lu <hongjiu.lu@intel.com>
528
529 PR ld/3831
530 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
531 --dynamic-list-cpp-new.
532
533 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
534 and --dynamic-list-cpp-new.
535
536 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
537 (lang_process): Change link_info.dynamic to
538 link_info.dynamic_list.
539 (lang_append_dynamic_list): Likewise.
540 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
541 link_info.dynamic_data to FALSE.
542
543 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
544
545 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
546 OPTION_DYNAMIC_LIST_CPP_NEW.
547 (ld_options): Add entries for -Bsymbolic-functions,
548 --dynamic-list-data and --dynamic-list-cpp-new. Make
549 -Bsymbolic-functions an alias of --dynamic-list-data.
550 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
551 Set link_info.dynamic to TRUE for --dynamic-list and
552 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
553 --dynamic-list-cpp-new.
554
59e0647f
NS
5552007-01-11 Nathan Sidwell <nathan@codesourcery.com>
556
557 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
558 shrinkage for the first few iterations.
559
42037fe5
NC
5602007-01-08 Kai Tietz <kai.tietz@onevision.com>
561
562 * configure.tgt: Renamed target x86_64-*-mingw64 to
563 x86_64-*-mingw*.
564
f9967789
NC
5652007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
566
567 * configure.host: Add i[3-7]86-*-mingw* case.
568
033432d0
NC
5692007-01-08 Nick Clifton <nickc@redhat.com>
570
571 * pep-dll.h (pep_bfd_is_dll): Add prototype.
572
916c46cb
NC
5732007-01-08 Aurelien Jarno <aurelien@aurel32.net>
574
575 PR ld/3843
576 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
577 tdir_elf_i386_fbsd.
578
cc3e2771
NS
5792007-01-06 Nathan Sidwell <nathan@codesourcery.com>
580
581 * ldexp.c (fold_name): Issue error on undefined sections.
582
799133e8
AM
5832007-01-02 Alan Modra <amodra@bigpond.net.au>
584
585 * pe-dll.c: Include pe-dll.h.
586 * pep-dll.c (pe_bfd_is_dll): Define.
587
10a2343e 588For older changes see ChangeLog-2006
252b5132
RH
589\f
590Local Variables:
591mode: change-log
592left-margin: 8
593fill-column: 74
594version-control: never
595End:
This page took 0.568767 seconds and 4 git commands to generate.