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