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