bfd/
[deliverable/binutils-gdb.git] / ld / ChangeLog
CommitLineData
4ecceb71
RS
12007-03-28 Richard Sandiford <richard@codesourcery.com>
2 Phil Edwards <phil@codesourcery.com>
3
4 * ld.texinfo: Put the contents after the title page rather
5 than at the end of the document.
6
b6470398
AM
72007-03-26 Alan Modra <amodra@bigpond.net.au>
8
9 * Makefile.am: Add dependency on ldemul-list.h for powerpc and
10 spu target emul files.
11 * configure.in: Check for mkstemp and waitpid.
12 * Makefile.in: Regenerate.
13 * configure: Regenerate.
14 * config.in: Regenerate.
15 * ldlang.c (input_file_chain): Make global.
16 (lang_add_input_file): Don't set lang_has_input_file here.
17 * ldlang.h (input_file_chain): Declare.
18 * emultempl/ppc32elf.em (ppc_recognized_file): New function.
19 (LDEMUL_RECOGNIZED_FILE): Define.
20 * emultempl/ppc64elf.em (ppc64_recognized_file): New function.
21 (LDEMUL_RECOGNIZED_FILE): Define.
22 * emultempl/spuelf.em (struct tflist): New.
23 (tmp_file_list): New var.
24 (clean_tmp, embedded_spu_file): New functions.
25
34711ca3
AM
262007-03-24 Alan Modra <amodra@bigpond.net.au>
27
28 * ldlang.c (lang_insert_orphan): Provide start/stop loadaddr syms
29 rather than defining unconditionally.
30 (lang_leave_overlay_section): Likewise.
31 * ld.texinfo (Overlay Description): Update description and examples
32 for start/stop syms.
33
e49e529d
JM
342007-03-22 Joseph Myers <joseph@codesourcery.com>
35
36 * ld.texinfo: Include VERSION_PACKAGE when reporting version.
37
27e55c4d
PB
382007-03-20 Paul Brook <paul@codesourcery.com>
39
40 * emultempl/armelf.em (pic_veneer): New variable.
41 (PARSE_AND_LIST_PROLOGUE): Add OPTION_PIC_VENEER.
42 (PARSE_AND_LIST_ARGS_CASES): Ditto.
43 (PARSE_AND_LIST_LONGOPTS): Add "pic-veneer".
44 (PARSE_AND_LIST_OPTIONS): Ditto.
45 * ld.texinfo: Document --pic-veneer.
46
bf21ed78
MS
472007-03-18 Mark Shinwell <shinwell@codesourcery.com>
48
49 * ld.texinfo: Document --no-enum-size-warning.
50 * emultempl/armelf.em (no_enum_size_warning): New.
51 (arm_elf_create_output_section_statements): Correct typo
52 in comment. Pass no_enum_size_warning to
53 bfd_elf32_arm_set_target_relocs.
54 (PARSE_AND_LIST_PROLOGUE): Define OPTION_NO_ENUM_SIZE_WARNING.
55 (PARSE_AND_LIST_OPTIONS): Document --no-enum-size-warning.
56 (PARSE_AND_LIST_ARGS_CASES): Add OPTION_NO_ENUM_SIZE_WARNING
57 case.
58
3f2dad24
BS
592007-03-19 Bernd Schmidt <bernd.schmidt@analog.com>
60
61 * configure.tgt (bfin-*-elf, bfin-*-uclinux*): Add targ_extra_libpath.
62 (bfin-*-linux-uclibc*): New target.
63
591a748a
NC
642007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
65
66 * pe-dll.c (make_one): Use pc-relative relocation instead of an
67 absolute relocation for x86_64-pc-mingw32 target.
68
c428fa83
L
692007-03-15 H.J. Lu <hongjiu.lu@intel.com>
70
71 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
72 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
73 (TEXI2DVI): Likewise.
74 (REPORT_BUGS_TO): Removed.
75 (INCLUDES): Remove -DREPORT_BUGS_TO.
76 (ldver.texi): Likewise.
77 (ld.1): Don't depend on ldver.texi.
78 (MOSTLYCLEANFILES): Remove ldver.texi.
79 * Makefile.in: Regenerated.
80
81 * configure.in (--with-bugurl): Removed.
82 * configure: Regenerated.
83
84 * lexsup.c: Include bfdver.h.
85
86 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
87
45fd5a53
HPN
882007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
89
90 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
91
91eb6c46
AM
922007-03-08 Alan Modra <amodra@bigpond.net.au>
93
94 * ldlang.c (lang_size_sections_1): Correct backwards dot move
95 test to not trigger on overlays. Only warn on backwards move
96 if non-default lma.
97
ad22bfe8
JM
982007-03-07 Joseph Myers <joseph@codesourcery.com>
99
100 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
101 bug-reporting URL.
102 * Makefile.am (ldver.texi): Define BUGURL.
103 * ld.texinfo: Use BUGURL.
104 * Makefile.in, configure: Regenerate.
105
057cac08
NC
1062007-03-07 Nick Clifton <nickc@redhat.com>
107
108 PR ld/4023
109 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
110 from any paths being inserted into the output binary's DT_RPATH.
111
d6ed30ba
NS
1122007-03-02 Nathan Sidwell <nathan@codesourcery.com>
113
114 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
115
066c2a57
JM
1162007-03-01 Joseph Myers <joseph@codesourcery.com>
117
118 * ldver.c (ldversion): Remove word "version" from output. Update
119 copyright date.
120
ed6ba298
NS
1212007-02-28 Nathan Sidwell <nathan@codesourcery.com>
122
123 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
124 (eshelf_uclinux.c): New target.
125 * Makefile.in: Rebuilt.
126 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
127 * emulparams/shelf_uclinux.sh: New.
128
2eacb3e8
AM
1292007-02-28 Alan Modra <amodra@bigpond.net.au>
130
46c3c201 131 * configure.tgt: Fix type last change.
2eacb3e8
AM
132 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
133
f0d89437
AM
1342007-02-27 Alan Modra <amodra@bigpond.net.au>
135
136 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
137 (eelf32_spu.c): Adjust dependencies.
138 * Makefile.in: Regenerate.
139 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
140 code using bin2c.
141 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
142 (ovl_mgr_stream): Update.
143 * emultempl/spu_inc.s: Delete.
144 * emultempl/spu_none.s: Delete.
145
45d3b878
AM
1462007-02-26 Alan Modra <amodra@bigpond.net.au>
147
148 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
149 to _binary_spu_ovl_o_start.
150 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
151 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
152 * emultempl/spu_inc.s: Rename symbols.
153 * emultempl/spu_none.s: New file.
154 * emultempl/spu_ovl.S: Update copyright.
155 * Makefile.am (spu_inc.o): Try building with ld -r first, then
156 gas incbin, then build without overlay manager.
157 * Makefile.in: Regenerate.
158
919e35ed
JM
1592007-02-22 Joseph Myers <joseph@codesourcery.com>
160
161 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
162 mips*el-*-linux-*, mips*-*-linux-*): Set
163 targ_extra_libpath=$targ_extra_emuls.
164
2889e75b
NC
1652007-02-21 Nick Clifton <nickc@redhat.com>
166
167 * ldlang.c (ldlang_override_segment_assignment): New function.
168 * ldlang.h (ldlang_override_segment_assignment): Prototype.
169 * ldmain.c (link_callbacks): Add
170 ldlang_override_segment_assignment.
171
67469e1f
AM
1722007-02-20 Alan Modra <amodra@bigpond.net.au>
173
174 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
175
92f01d61
JM
1762007-02-17 Mark Mitchell <mark@codesourcery.com>
177 Nathan Sidwell <nathan@codesourcery.com>
178 Vladimir Prus <vladimir@codesourcery.com
179 Joseph Myers <joseph@codesourcery.com>
180
181 * configure.in (--with-bugurl): New option.
182 * configure: Regenerate.
183 * Makefile.am (REPORT_BUGS_TO): Define.
184 (INCLUDES): Define REPORT_BUGS_TO.
185 Regenerate dependencies.
186 * Makefile.in: Regenerate.
187 * ld.h: Remove include of bin-bugs.h.
188 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
189
dc1946a1
AM
1902007-02-17 Alan Modra <amodra@bigpond.net.au>
191
192 * ldcref.c (check_reloc_refs): Compare section for local syms.
193
b1e37473
AM
1942007-02-13 Alan Modra <amodra@bigpond.net.au>
195
196 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
197 (__ovly_load_event): Define.
198 (size): Rename to osize.
199 * emultempl/spu_ovl.o: Regenerate.
200
e4e0193e
AM
2012007-02-13 Alan Modra <amodra@bigpond.net.au>
202
203 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
204 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
205 SEC_RELOC flag set.
206
534d3119
L
2072007-02-09 H.J. Lu <hongjiu.lu@intel.com>
208
209 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
210 want64 is true.
211 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
212 true
213 * configure: Regenerated.
214
215 * configure.tgt (targ_extra_libpath): Initialize.
216 (targ64_extra_emuls): New. Document. Initialize.
217 (targ64_extra_libpath): Likewise.
218 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
219 targ64_extra_libpath.
220 (powerpc*-*-linux*): Likewise.
221 (s390-*-linux*): Likewise.
222
7bd1c961
PB
2232007-02-07 Paul Brook <paul@codesourcery.com>
224
225 * configure.tgt: Add arm*-*-uclinux-*eabi.
226
ea0c3cd5
L
2272007-02-06 H.J. Lu <hongjiu.lu@intel.com>
228
229 * ldlang.c (lang_size_sections_1): Add a missing `)'.
230
264b6205
AM
2312007-02-06 Alan Modra <amodra@bigpond.net.au>
232
ea0c3cd5 233 PR ld/3966
264b6205
AM
234 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
235 move unless section size is non-zero.
236
19d9b7d3
DB
2372007-02-05 Dave Brolley <brolley@redhat.com>
238
239 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
240 * configure.tgt: Likewise.
241 * scripttempl/mep.sc: New file.
242 * emulparams/elf32mep.sh: New file.
243 * Makefile.in: Regenerate.
244
c6dd86c6
JB
2452006-01-29 Julian Brown <julian@codesourcery.com>
246
247 * NEWS: Mention --vfp11-denorm-fix option.
248 * ld.texinfo: Document above.
249 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
250 .vfp11_veneer section.
251 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
252 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
253 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
254 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
255 (arm_elf_after_allocation): New function. Call
256 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
257 (arm_elf_create_output_section_statements): Pass vfp11 fix command
258 line option to BFD.
259 (OPTION_VFP11_DENORM_FIX): New option.
260 (PARSE_AND_LIST_LONGOPTS): Handle new option.
261 (PARSE_AND_LIST_OPTIONS): Likewise.
262 (PARSE_AND_LIST_ARGS_CASES): Likewise.
263 (LDEMUL_AFTER_ALLOCATION): Define.
264
ed9ef263
L
2652007-01-24 H.J. Lu <hongjiu.lu@intel.com>
266
267 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
268 (DEFSYMEND): Likewise.
269 (NAME): Likewise.
270 (LNAME): Likewise.
271
54727719
NC
2722007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
273
274 * pe-dll.c: (make_one) Conditionally include jump stubs.
275 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
91eb6c46 276 redundant jump stubs from import libraries and exclude them from
54727719
NC
277 link.
278
5f400437 2792007-01-19 H.J. Lu <hongjiu.lu@intel.com>
d8cf8b51
L
280
281 * ld.h (args_type): Add new symbolic and dynamic_list fields.
282
283 * ld.texinfo: Update -Bsymbolic-functions.
284
285 * ldmain.c (main): Initialize command_line.symbolic to
286 symbolic_unset and command_line.dynamic_list to
287 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
288 --dynamic-list* before setting link_info.symbolic,
91eb6c46 289 link_info.dynamic and link_info.dynamic_data.
d8cf8b51
L
290
291 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
292 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
293 -Bsymbolic-functions.
294 (parse_args): Handle -Bsymbolic-functions. Don't set
295 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
296 here. Set command_line.symbolic for -Bsymbolic. Set
297 command_line.dynamic_list and command_line.symbolic for
298 --dynamic-list-data, --dynamic-list-cpp-new,
299 --dynamic-list-cpp-typeinfo and --dynamic-list.
300
b8142865
L
3012007-01-19 Jakub Jelinek <jakub@redhat.com>
302 H.J. Lu <hongjiu.lu@intel.com>
303
304 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
305 or -z common-page-size argument is a power of 2. Call
306 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
307
3082007-01-19 H.J. Lu <hongjiu.lu@intel.com>
309
310 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
311 bfd_emul_set_commonpagesize.
312
5f400437 3132007-01-19 H.J. Lu <hongjiu.lu@intel.com>
14be8564
L
314
315 * NEWS: Mention --default-script/-dT.
316
317 * ld.h (args_type): Add a default_script field.
318
319 * ld.texinfo: Document --default-script/-dT.
320
321 * ldmain.c (main): Handle command_line.default_script.
322
323 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
324 (ld_options): Add entries for --default-script and -dT.
325 (parse_args): Handle --default-script/-dT.
326
40b36307
L
3272007-01-16 H.J. Lu <hongjiu.lu@intel.com>
328
329 PR ld/3831
330 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
331 --dynamic-list-cpp-new.
332
333 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
334 and --dynamic-list-cpp-new.
335
336 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
337 (lang_process): Change link_info.dynamic to
338 link_info.dynamic_list.
339 (lang_append_dynamic_list): Likewise.
340 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
341 link_info.dynamic_data to FALSE.
342
343 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
344
345 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
346 OPTION_DYNAMIC_LIST_CPP_NEW.
347 (ld_options): Add entries for -Bsymbolic-functions,
348 --dynamic-list-data and --dynamic-list-cpp-new. Make
349 -Bsymbolic-functions an alias of --dynamic-list-data.
350 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
351 Set link_info.dynamic to TRUE for --dynamic-list and
352 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
353 --dynamic-list-cpp-new.
354
59e0647f
NS
3552007-01-11 Nathan Sidwell <nathan@codesourcery.com>
356
357 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
358 shrinkage for the first few iterations.
359
42037fe5
NC
3602007-01-08 Kai Tietz <kai.tietz@onevision.com>
361
362 * configure.tgt: Renamed target x86_64-*-mingw64 to
363 x86_64-*-mingw*.
364
f9967789
NC
3652007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
366
367 * configure.host: Add i[3-7]86-*-mingw* case.
368
033432d0
NC
3692007-01-08 Nick Clifton <nickc@redhat.com>
370
371 * pep-dll.h (pep_bfd_is_dll): Add prototype.
372
916c46cb
NC
3732007-01-08 Aurelien Jarno <aurelien@aurel32.net>
374
375 PR ld/3843
376 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
377 tdir_elf_i386_fbsd.
378
cc3e2771
NS
3792007-01-06 Nathan Sidwell <nathan@codesourcery.com>
380
381 * ldexp.c (fold_name): Issue error on undefined sections.
382
799133e8
AM
3832007-01-02 Alan Modra <amodra@bigpond.net.au>
384
385 * pe-dll.c: Include pe-dll.h.
386 * pep-dll.c (pe_bfd_is_dll): Define.
387
10a2343e 388For older changes see ChangeLog-2006
252b5132
RH
389\f
390Local Variables:
391mode: change-log
392left-margin: 8
393fill-column: 74
394version-control: never
395End:
This page took 0.398413 seconds and 4 git commands to generate.