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