Use pc-relative relocation instead of an absolute relocation for x86_64-pc-mingw32...
[deliverable/binutils-gdb.git] / ld / ChangeLog
1 2007-03-16 Kai Tietz <Kai.Tietz@onevision.com>
2
3 * pe-dll.c (make_one): Use pc-relative relocation instead of an
4 absolute relocation for x86_64-pc-mingw32 target.
5
6 2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
7
8 * Makefile.am (ld_TEXINFOS): Remove ldver.texi.
9 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
10 (TEXI2DVI): Likewise.
11 (REPORT_BUGS_TO): Removed.
12 (INCLUDES): Remove -DREPORT_BUGS_TO.
13 (ldver.texi): Likewise.
14 (ld.1): Don't depend on ldver.texi.
15 (MOSTLYCLEANFILES): Remove ldver.texi.
16 * Makefile.in: Regenerated.
17
18 * configure.in (--with-bugurl): Removed.
19 * configure: Regenerated.
20
21 * lexsup.c: Include bfdver.h.
22
23 * ld.texinfo: Include bfdver.texi instead of ldver.texi.
24
25 2007-03-11 Hans-Peter Nilsson <hp@bitrange.com>
26
27 * emultempl/mmixelf.em: Remove incorrect '#line' directive.
28
29 2007-03-08 Alan Modra <amodra@bigpond.net.au>
30
31 * ldlang.c (lang_size_sections_1): Correct backwards dot move
32 test to not trigger on overlays. Only warn on backwards move
33 if non-default lma.
34
35 2007-03-07 Joseph Myers <joseph@codesourcery.com>
36
37 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
38 bug-reporting URL.
39 * Makefile.am (ldver.texi): Define BUGURL.
40 * ld.texinfo: Use BUGURL.
41 * Makefile.in, configure: Regenerate.
42
43 2007-03-07 Nick Clifton <nickc@redhat.com>
44
45 PR ld/4023
46 * emultempl/aix.em (..._before_allocation): Strip sysroot prefix
47 from any paths being inserted into the output binary's DT_RPATH.
48
49 2007-03-02 Nathan Sidwell <nathan@codesourcery.com>
50
51 * emulparams/shelf_uclinux.sh: New. Missed in 2007-02-28 commit.
52
53 2007-03-01 Joseph Myers <joseph@codesourcery.com>
54
55 * ldver.c (ldversion): Remove word "version" from output. Update
56 copyright date.
57
58 2007-02-28 Nathan Sidwell <nathan@codesourcery.com>
59
60 * Makefile.am (ALL_EMULATIONS): Add eshelf_uclinux.o
61 (eshelf_uclinux.c): New target.
62 * Makefile.in: Rebuilt.
63 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): New stanza.
64 * emulparams/shelf_uclinux.sh: New.
65
66 2007-02-28 Alan Modra <amodra@bigpond.net.au>
67
68 * configure.tgt: Fix type last change.
69 * configure.tgt (spu-*-elf*): Delete targ_extra_ofiles.
70
71 2007-02-27 Alan Modra <amodra@bigpond.net.au>
72
73 * Makefile.am (ALL_EMUL_EXTRA_OFILES): Remove spu_inc.o.
74 (eelf32_spu.c): Adjust dependencies.
75 * Makefile.in: Regenerate.
76 * emultempl/spuelf.em (ovl_mgr): New array. Insert spu_ovl.o
77 code using bin2c.
78 (_binary_spu_ovl_o_start, _binary_spu_ovl_o_end): Delete.
79 (ovl_mgr_stream): Update.
80 * emultempl/spu_inc.s: Delete.
81 * emultempl/spu_none.s: Delete.
82
83 2007-02-26 Alan Modra <amodra@bigpond.net.au>
84
85 * emultempl/spuelf.em (_binary_builtin_ovl_mgr_start): Rename
86 to _binary_spu_ovl_o_start.
87 (_binary_builtin_ovl_mgr_end): Rename to _binary_spu_ovl_o_end.
88 (spu_elf_load_ovl_mgr): Fatal error on missing overlay manager.
89 * emultempl/spu_inc.s: Rename symbols.
90 * emultempl/spu_none.s: New file.
91 * emultempl/spu_ovl.S: Update copyright.
92 * Makefile.am (spu_inc.o): Try building with ld -r first, then
93 gas incbin, then build without overlay manager.
94 * Makefile.in: Regenerate.
95
96 2007-02-22 Joseph Myers <joseph@codesourcery.com>
97
98 * configure.tgt (mips64*el-*-linux-*, mips64*-*-linux-*,
99 mips*el-*-linux-*, mips*-*-linux-*): Set
100 targ_extra_libpath=$targ_extra_emuls.
101
102 2007-02-21 Nick Clifton <nickc@redhat.com>
103
104 * ldlang.c (ldlang_override_segment_assignment): New function.
105 * ldlang.h (ldlang_override_segment_assignment): Prototype.
106 * ldmain.c (link_callbacks): Add
107 ldlang_override_segment_assignment.
108
109 2007-02-20 Alan Modra <amodra@bigpond.net.au>
110
111 * ldexp.c (fold_name <LOADADDR>): Ensure result is always absolute.
112
113 2007-02-17 Mark Mitchell <mark@codesourcery.com>
114 Nathan Sidwell <nathan@codesourcery.com>
115 Vladimir Prus <vladimir@codesourcery.com
116 Joseph Myers <joseph@codesourcery.com>
117
118 * configure.in (--with-bugurl): New option.
119 * configure: Regenerate.
120 * Makefile.am (REPORT_BUGS_TO): Define.
121 (INCLUDES): Define REPORT_BUGS_TO.
122 Regenerate dependencies.
123 * Makefile.in: Regenerate.
124 * ld.h: Remove include of bin-bugs.h.
125 * lexsup.c (help): Don't print empty REPORT_BUGS_TO.
126
127 2007-02-17 Alan Modra <amodra@bigpond.net.au>
128
129 * ldcref.c (check_reloc_refs): Compare section for local syms.
130
131 2007-02-13 Alan Modra <amodra@bigpond.net.au>
132
133 * emultempl/spu_ovl.S (__ovly_return, __ovly_load): Set sym size.
134 (__ovly_load_event): Define.
135 (size): Rename to osize.
136 * emultempl/spu_ovl.o: Regenerate.
137
138 2007-02-13 Alan Modra <amodra@bigpond.net.au>
139
140 * emulparams/elf64ppc.sh (OTHER_READWRITE_SECTIONS): Add ".branch_lt".
141 * emultempl/ppc64elf.em (ppc_add_stub_section): Create without
142 SEC_RELOC flag set.
143
144 2007-02-09 H.J. Lu <hongjiu.lu@intel.com>
145
146 * configure.in (targ_extra_emuls): Add $targ64_extra_emuls if
147 want64 is true.
148 (targ_extra_libpath): Add $targ64_extra_libpath if want64 is
149 true
150 * configure: Regenerated.
151
152 * configure.tgt (targ_extra_libpath): Initialize.
153 (targ64_extra_emuls): New. Document. Initialize.
154 (targ64_extra_libpath): Likewise.
155 (i[3-7]86-*-linux-*): Set targ64_extra_emuls and
156 targ64_extra_libpath.
157 (powerpc*-*-linux*): Likewise.
158 (s390-*-linux*): Likewise.
159
160 2007-02-07 Paul Brook <paul@codesourcery.com>
161
162 * configure.tgt: Add arm*-*-uclinux-*eabi.
163
164 2007-02-06 H.J. Lu <hongjiu.lu@intel.com>
165
166 * ldlang.c (lang_size_sections_1): Add a missing `)'.
167
168 2007-02-06 Alan Modra <amodra@bigpond.net.au>
169
170 PR ld/3966
171 * ldlang.c (lang_size_sections_1): Don't warn on backwards dot
172 move unless section size is non-zero.
173
174 2007-02-05 Dave Brolley <brolley@redhat.com>
175
176 * Makefile.am (ALL_EMULATIONS): Add support for Toshiba MeP.
177 * configure.tgt: Likewise.
178 * scripttempl/mep.sc: New file.
179 * emulparams/elf32mep.sh: New file.
180 * Makefile.in: Regenerate.
181
182 2006-01-29 Julian Brown <julian@codesourcery.com>
183
184 * NEWS: Mention --vfp11-denorm-fix option.
185 * ld.texinfo: Document above.
186 * emulparams/armelf_linux.sh (OTHER_TEXT_SECTIONS): Add
187 .vfp11_veneer section.
188 * emulparams/armelf.sh (OTHER_TEXT_SECTIONS): Likewise.
189 * emultempl/armelf.em (vfp11_denorm_fix): New static variable.
190 (arm_elf_before_allocation): Call bfd_elf32_arm_set_vfp11_fix,
191 bfd_elf32_arm_init_maps and bfd_elf32_arm_vfp11_erratum_scan.
192 (arm_elf_after_allocation): New function. Call
193 bfd_elf32_arm_vfp11_fix_veneer_locations for all input statements.
194 (arm_elf_create_output_section_statements): Pass vfp11 fix command
195 line option to BFD.
196 (OPTION_VFP11_DENORM_FIX): New option.
197 (PARSE_AND_LIST_LONGOPTS): Handle new option.
198 (PARSE_AND_LIST_OPTIONS): Likewise.
199 (PARSE_AND_LIST_ARGS_CASES): Likewise.
200 (LDEMUL_AFTER_ALLOCATION): Define.
201
202 2007-01-24 H.J. Lu <hongjiu.lu@intel.com>
203
204 * ldgram.y (SIZEOF_HEADERS): Remove duplicated one.
205 (DEFSYMEND): Likewise.
206 (NAME): Likewise.
207 (LNAME): Likewise.
208
209 2007-01-19 Murali Vemulapati <murali.vemulapati@gmail.com>
210
211 * pe-dll.c: (make_one) Conditionally include jump stubs.
212 * emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Identify
213 redundant jump stubs from import libraries and exclude them from
214 link.
215
216 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
217
218 * ld.h (args_type): Add new symbolic and dynamic_list fields.
219
220 * ld.texinfo: Update -Bsymbolic-functions.
221
222 * ldmain.c (main): Initialize command_line.symbolic to
223 symbolic_unset and command_line.dynamic_list to
224 dynamic_list_unset. Check -Bsymbolic, -Bsymbolic-functions and
225 --dynamic-list* before setting link_info.symbolic,
226 link_info.dynamic and link_info.dynamic_data.
227
228 * lexsup.c (option_values): Add OPTION_SYMBOLIC_FUNCTIONS.
229 (ld_options): Use OPTION_SYMBOLIC_FUNCTIONS with
230 -Bsymbolic-functions.
231 (parse_args): Handle -Bsymbolic-functions. Don't set
232 link_info.dynamic, link_info.dynamic_data and link_info.symbolic
233 here. Set command_line.symbolic for -Bsymbolic. Set
234 command_line.dynamic_list and command_line.symbolic for
235 --dynamic-list-data, --dynamic-list-cpp-new,
236 --dynamic-list-cpp-typeinfo and --dynamic-list.
237
238 2007-01-19 Jakub Jelinek <jakub@redhat.com>
239 H.J. Lu <hongjiu.lu@intel.com>
240
241 * emultempl/elf32.em (handle_option): Make sure -z max-page-size
242 or -z common-page-size argument is a power of 2. Call
243 bfd_emul_set_maxpagesize and bfd_emul_set_commonpagesize.
244
245 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
246
247 * ldmain.c (main): Don't call bfd_emul_set_maxpagesize nor
248 bfd_emul_set_commonpagesize.
249
250 2007-01-19 H.J. Lu <hongjiu.lu@intel.com>
251
252 * NEWS: Mention --default-script/-dT.
253
254 * ld.h (args_type): Add a default_script field.
255
256 * ld.texinfo: Document --default-script/-dT.
257
258 * ldmain.c (main): Handle command_line.default_script.
259
260 * lexsup.c (option_values): Add OPTION_DEFAULT_SCRIPT.
261 (ld_options): Add entries for --default-script and -dT.
262 (parse_args): Handle --default-script/-dT.
263
264 2007-01-16 H.J. Lu <hongjiu.lu@intel.com>
265
266 PR ld/3831
267 * NEWS: Mention -Bsymbolic-functions, --dynamic-list-data and
268 --dynamic-list-cpp-new.
269
270 * ld.texinfo: Document -Bsymbolic-functions, --dynamic-list-data
271 and --dynamic-list-cpp-new.
272
273 * ldlang.c (lang_append_dynamic_list_cpp_new): New.
274 (lang_process): Change link_info.dynamic to
275 link_info.dynamic_list.
276 (lang_append_dynamic_list): Likewise.
277 * ldmain.c (main): Likewise. Initialize link_info.dynamic and
278 link_info.dynamic_data to FALSE.
279
280 * ldlang.h (lang_append_dynamic_list_cpp_new): New.
281
282 * lexsup.c (option_values): Add OPTION_DYNAMIC_LIST_DATA and
283 OPTION_DYNAMIC_LIST_CPP_NEW.
284 (ld_options): Add entries for -Bsymbolic-functions,
285 --dynamic-list-data and --dynamic-list-cpp-new. Make
286 -Bsymbolic-functions an alias of --dynamic-list-data.
287 (parse_args): Change link_info.dynamic to link_info.dynamic_list.
288 Set link_info.dynamic to TRUE for --dynamic-list and
289 --dynamic-list-cpp-typeinfo. Handle --dynamic-list-data and
290 --dynamic-list-cpp-new.
291
292 2007-01-11 Nathan Sidwell <nathan@codesourcery.com>
293
294 * emultempl/elf-generic.em (gdl_map_segments): Only allow header
295 shrinkage for the first few iterations.
296
297 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
298
299 * configure.tgt: Renamed target x86_64-*-mingw64 to
300 x86_64-*-mingw*.
301
302 2007-01-08 Pedro Alves <pedro_alves@portugalmail.pt>
303
304 * configure.host: Add i[3-7]86-*-mingw* case.
305
306 2007-01-08 Nick Clifton <nickc@redhat.com>
307
308 * pep-dll.h (pep_bfd_is_dll): Add prototype.
309
310 2007-01-08 Aurelien Jarno <aurelien@aurel32.net>
311
312 PR ld/3843
313 * configure.tgt (x86_64_[k]freebsd*): Add targ_extra_libpath and
314 tdir_elf_i386_fbsd.
315
316 2007-01-06 Nathan Sidwell <nathan@codesourcery.com>
317
318 * ldexp.c (fold_name): Issue error on undefined sections.
319
320 2007-01-02 Alan Modra <amodra@bigpond.net.au>
321
322 * pe-dll.c: Include pe-dll.h.
323 * pep-dll.c (pe_bfd_is_dll): Define.
324
325 For older changes see ChangeLog-2006
326 \f
327 Local Variables:
328 mode: change-log
329 left-margin: 8
330 fill-column: 74
331 version-control: never
332 End:
This page took 0.037094 seconds and 5 git commands to generate.