Commit | Line | Data |
---|---|---|
5c1d2f5f AM |
1 | 2008-08-17 Alan Modra <amodra@bigpond.net.au> |
2 | ||
3 | PR 6478 | |
4 | * ldcref.c (check_local_sym_xref): Use bfd_generic_link_read_symbols. | |
5 | Don't free symbol pointer array. | |
6 | (check_refs): Likewise. | |
7 | * ldmain.c (warning_callback): Likewise. | |
8 | * ldmisc.c (vfinfo): Likewise. | |
9 | * pe-dll.c (process_def_file): Likewise. | |
10 | (pe_walk_relocs_of_symbol, generate_reloc): Likewise. | |
11 | * emultempl/pe.em (pe_find_data_imports): Likewise. | |
12 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
13 | * emultempl/pep.em (pep_find_data_imports): Likewise. | |
14 | (gld_${EMULATION_NAME}_after_open): Likewise. | |
15 | * ldlang.h (lang_input_statement_type): Delete asymbols, symbol_count, | |
16 | passive_position, closed. | |
17 | * ldlang.c (new_afile): Don't set asymbols and symbol_count. | |
18 | * ldmain.c (add_archive_element): xcalloc lang_input_statement_type. | |
19 | ||
7357c5b6 AM |
20 | 2008-08-15 Alan Modra <amodra@bigpond.net.au> |
21 | ||
22 | PR 6526 | |
23 | * configure.in: Invoke AC_USE_SYSTEM_EXTENSIONS. | |
24 | * Makefile.in: Regenerate. | |
25 | * aclocal.m4: Regenerate. | |
26 | * config.in: Regenerate. | |
27 | * configure: Regenerate. | |
28 | ||
a8caa245 AM |
29 | 2008-08-09 Alan Modra <amodra@bigpond.net.au> |
30 | ||
31 | PR 6753 | |
32 | * ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete. | |
33 | (main): Don't set_scripts_dir here. | |
34 | * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions, | |
35 | largely based on ldmain.c versions. | |
36 | (ldfile_find_command_file): Set up search in script dir here without | |
37 | affecting library search. | |
38 | * Makefile.am (ldmain.o): No need to define SCRIPTDIR. | |
39 | (ldfile.o): New rule. | |
40 | * Makefile.in: Regenerate. | |
41 | ||
7b21ac3f EW |
42 | 2008-08-08 Anatoly Sokolov <aesok@post.ru> |
43 | ||
44 | * Makefile.am (ALL_EMULATIONS): Add eavr25.o, eavr31.o, eavr35.o, | |
45 | and eavr51.o. | |
46 | Add rules for eavr25.c, eavr31.c, eavr35.c, eavr51.c. | |
47 | * Makefile.in: Regenerate. | |
48 | * configure.tgt (avr-*-*, targ_extra_emuls): Add avr25, avr31, avr35 | |
49 | and avr51. | |
50 | * emulparams/avr25.sh: New file. | |
51 | * emulparams/avr31.sh: New file. | |
52 | * emulparams/avr35.sh: New file. | |
53 | * emulparams/avr51.sh: New file. | |
54 | ||
861fb55a DJ |
55 | 2008-08-08 Richard Sandiford <rdsandiford@googlemail.com> |
56 | Daniel Jacobowitz <dan@codesourcery.com> | |
57 | ||
58 | * emulparams/elf32bmip.sh (GOT): Define, moving .got.plt to... | |
59 | (OTHER_RELRO_SECTIONS, OTHER_READWRITE_SECTIONS): ...one of these | |
60 | two variables. | |
61 | * emulparams/elf32bmipn32-defs.sh: Likewise. | |
62 | * emultempl/mipself.em: Include ldctor.h, elf/mips.h and elfxx-mips.h. | |
63 | (is_mips_elf): New macro. | |
64 | (stub_file, stub_bfd): New variables. | |
65 | (hook_stub_info): New structure. | |
66 | (hook_in_stub): New function. | |
67 | (mips_add_stub_section): Likewise. | |
68 | (mips_create_output_section_statements): Likewise. | |
69 | (mips_before_allocation): Likewise. | |
70 | (real_func): New variable. | |
71 | (mips_for_each_input_file_wrapper): New function. | |
72 | (mips_lang_for_each_input_file): Likewise. | |
73 | (lang_for_each_input_file): Define. | |
74 | (LDEMUL_BEFORE_ALLOCATION): Likewise. | |
75 | (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Likewise. | |
76 | ||
a26cc967 AM |
77 | 2008-08-08 Alan Modra <amodra@bigpond.net.au> |
78 | ||
79 | * ldfile.c (ldfile_open_file_search): Use concat. | |
80 | (try_open): Don't use a fixed size pathname buffer. | |
81 | (ldfile_find_command_file): Likewise. | |
82 | * emultempl/elf32.em (gld${EMULATION_NAME}_open_dynamic_archive): If | |
83 | using EXTRA_SHLIB_EXTENSION, don't open twice. | |
84 | ||
323ee3f4 AM |
85 | 2008-08-04 Alan Modra <amodra@bigpond.net.au> |
86 | ||
87 | * Makefile.am (POTFILES.in): Set LC_ALL=C. | |
88 | * Makefile.in: Regenerate. | |
89 | * po/POTFILES.in: Regenerate. | |
90 | ||
cc9b841c AM |
91 | 2008-08-03 Alan Modra <amodra@bigpond.net.au> |
92 | ||
93 | * Makefile.am (spu_ovl.o): Merge rule into.. | |
94 | (spu_ovl.o_c): ..this one. Only run cpp for spu target. | |
95 | * Makefile.in: Regenerate. | |
96 | ||
4b64c41f JK |
97 | 2008-08-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
98 | ||
99 | Include the spu_ovl ASCII form in the repository files. | |
100 | * emultempl/spuelf.em: No longer use `bin2c', use now `spu_ovl.o_c'. | |
101 | * Makefile.am (eelf32_spu.c): Depend now on `spu_ovl.o_c'. | |
102 | ($(srcdir)/emultempl/spu_ovl.o_c): New target. | |
103 | ($(srcdir)/emultempl/spu_ovl.o): Rename to... | |
104 | (spu_ovl.o): ...this one. | |
105 | * Makefile.in: Regenerate. | |
106 | * emultempl/spu_ovl.o_c: New file. | |
107 | * emultempl/spu_ovl.o: File removed. | |
108 | ||
49314f87 DS |
109 | 2008-07-31 Takashi Ono <t_ono@hkfreak.net> |
110 | ||
111 | * pe-dll.c (generate_relocs): Don't generate relocs for | |
112 | undefined weak symbols. | |
113 | ||
2f9300ef JK |
114 | 2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com> |
115 | ||
116 | * emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'. | |
117 | ||
0af1713e AM |
118 | 2008-07-30 Alan Modra <amodra@bigpond.net.au> |
119 | ||
120 | * emultempl/pe.em, emultempl/pep.em: Silence gcc warnings. | |
121 | ||
a9dc9481 JM |
122 | 2008-07-18 Joseph Myers <joseph@codesourcery.com> |
123 | ||
124 | * ld.texinfo (--no-wchar-size-warning): Document new ARM option. | |
125 | * emultempl/armelf.em (no_wchar_size_warning): New. | |
126 | (arm_elf_create_output_section_statements): Pass | |
127 | no_wchar_size_warning to arm_elf_create_output_section_statements. | |
128 | (OPTION_NO_WCHAR_SIZE_WARNING): New. | |
129 | (PARSE_AND_LIST_LONGOPTS): Add no-wchar-size-warning. | |
130 | (PARSE_AND_LIST_OPTIONS): List --no-wchar-size-warning. | |
131 | (PARSE_AND_LIST_ARGS_CASES): Handle --no-wchar-size-warning. | |
132 | ||
b0a0b978 JZ |
133 | 2008-07-15 Jie Zhang <jie.zhang@analog.com> |
134 | ||
135 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
136 | ||
4474d12b CS |
137 | 2008-07-12 Craig Silverstein <csilvers@google.com> |
138 | ||
6fa08786 | 139 | PR ld/6741 |
4474d12b CS |
140 | * configure.in: Check for, and include, libz.a if it is present. |
141 | * configure: Regenerate. | |
142 | * config.in: Regenerate. | |
143 | ||
1bac266e JZ |
144 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
145 | ||
146 | Revert | |
147 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> | |
148 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. | |
149 | (eelf32bfinfd.c): Likewise. | |
150 | * Makefile.in: Regenerate. | |
151 | * gen-doc.texi: Set Blackfin. | |
152 | * ld.texinfo: Document --sep-code and Blackfin specific | |
153 | options. | |
154 | * ldmain.c (main): Initialize link_info.sep_code. | |
155 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. | |
156 | (ld_options[]): Add --sep-code. | |
157 | (parse_args): Deal with --sep-code. | |
158 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. | |
159 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
160 | * emultempl/bfin.em: New file. | |
161 | ||
8c684578 JZ |
162 | 2008-07-12 Jie Zhang <jie.zhang@analog.com> |
163 | ||
164 | * Makefile.am (eelf32bfin.c): Depend on bfin.em. | |
165 | (eelf32bfinfd.c): Likewise. | |
166 | * Makefile.in: Regenerate. | |
167 | * gen-doc.texi: Set Blackfin. | |
168 | * ld.texinfo: Document --sep-code and Blackfin specific | |
169 | options. | |
170 | * ldmain.c (main): Initialize link_info.sep_code. | |
171 | * lexsup.c (enum option_values): Add OPTION_SEP_CODE. | |
172 | (ld_options[]): Add --sep-code. | |
173 | (parse_args): Deal with --sep-code. | |
174 | * emulparams/bfin.sh (EXTRA_EM_FILE): Define. | |
175 | * emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Define. | |
176 | * emultempl/bfin.em: New file. | |
177 | ||
b92216aa DS |
178 | 2008-07-09 Danny Smith <dannysmith@users.sourceforge.net> |
179 | ||
180 | *pe-dll.c (autofilter_symbolprefixlist): Excude all symbols | |
181 | starting with ".". | |
182 | Exclude "_IMPORT_DESCRIPTOR_". | |
183 | (autofilter_symbolsuffixlist): Exclude "_NULL_THUNK_DATA". | |
184 | (autofilter_symbollist_generic): Don't check for ".text". | |
185 | Exclude "_NULL_IMPORT_DESCRIPTOR". | |
186 | (autofilter_symbollist_i386): Likewise. | |
187 | ||
9795b468 AM |
188 | 2008-07-07 Alan Modra <amodra@bigpond.net.au> |
189 | ||
190 | * emultempl/armelf.em (elf32_arm_add_stub_section): Use | |
191 | bfd_make_section_with_flags. | |
192 | * emultempl/avrelf.em (avr_elf_create_output_section_statements): | |
193 | Likewise. | |
194 | * emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise. | |
195 | * emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise. | |
196 | * emultempl/m68kcoff.em (gld${EMULATION_NAME}_after_open): Likewise. | |
197 | * emultempl/m68kelf.em (m68k_elf_after_open): Likewise. | |
198 | * emultempl/ppc64elf.em (ppc_add_stub_section): Likewise. | |
199 | * emultempl/sh64elf.em (sh64_elf_${EMULATION_NAME}_before_allocation): | |
200 | Likewise. | |
201 | ||
4006703d NS |
202 | 2008-07-06 Nathan Sidwell <nathan@codesourcery.com> |
203 | ||
204 | * ld.texinfo (File Commands): Document that INCLUDE can be used in | |
205 | several different places. | |
206 | * ldgram.y (statement, memory_spec, section): Allow INCLUDE. | |
207 | (memory, memory_spec_list): Simplify BNF | |
208 | (memory_spec_list_opt): New rule. | |
209 | * ldlex.l (INCLUDE): Recognize in EXPRESSION. | |
210 | ||
9f1a3ddf AM |
211 | 2008-06-20 Alan Modra <amodra@bigpond.net.au> |
212 | ||
213 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Make "can not | |
214 | build overlay stubs" a fatal error. | |
215 | ||
7a283e07 RW |
216 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
217 | ||
218 | * config.in: Regenerate. | |
219 | * configure: Regenerate. | |
220 | ||
99302af9 AM |
221 | 2008-06-17 Alan Modra <amodra@bigpond.net.au> |
222 | ||
223 | * emultempl/spuelf.em (extra_stack_space): New variable. | |
224 | (gld${EMULATION_NAME}_finish): Pass it to spu_elf_check_vma. | |
225 | (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS, | |
226 | PARSE_AND_LIST_ARGS_CASES): Handle --extra-stack-space. | |
227 | * emultempl/spu_ovl.S: Mask interrupts during dma and update of | |
228 | overlay manager structures. | |
229 | * emultempl/spu_ovl.o: Regenerate. | |
230 | ||
7a2de473 HPN |
231 | 2008-06-16 Hans-Peter Nilsson <hp@bitrange.com> |
232 | ||
233 | * ld.texinfo (@node MMIX): For the __.MMIX.start. prefix, only | |
234 | mention it as being special for global symbols. | |
235 | ||
5590fba9 NC |
236 | 2008-06-12 Nick Clifton <nickc@redhat.com> |
237 | ||
238 | * ldlang.c (print_output_section_statement): If the output section | |
239 | statement has an update_dot_tree expression, apply it to | |
240 | print_dot. | |
241 | (print_input_section): Do not update print_dot if it would move | |
242 | print_dot backwards. | |
243 | (lang_do_assignments_1): If the output section statement has an | |
244 | update_dot_tree expression apply it to dot. | |
245 | ||
967928e9 AM |
246 | 2008-06-07 Alan Modra <amodra@bigpond.net.au> |
247 | ||
248 | * NEWS: Mention archive:path patterns. | |
249 | * ld.texinfo: Likewise. | |
250 | * ldlang.c: Formatting throughout. | |
251 | (archive_path): Only assume "[A-Za-z]:" is a dos drive. | |
252 | (input_statement_is_archive_path): New function, extracted from.. | |
253 | (walk_wild): ..here. | |
254 | (walk_wild_consider_section): Match archive:path here too. | |
255 | (init_map_userdata, sort_def_symbol): Convert to ISO C. | |
256 | * ldmain.c (main): Set link_info.path_separator. | |
257 | * emultempl/spuelf.em (choose_target): Don't set it here. | |
258 | ||
97407faf AM |
259 | 2008-06-06 Alan Modra <amodra@bigpond.net.au> |
260 | ||
261 | * ldlang.c (name_match): New function. | |
262 | (unique_section_p, walk_wild_consider_section): Use it here. | |
263 | (walk_wild_section_general): And here. | |
264 | (archive_path): New function. | |
265 | (walk_wild): Match archive:path filespecs. | |
266 | (open_input_bfds): Don't load archive:path files. | |
267 | * emultempl/spuelf.em (choose_target): Set path_separator. | |
268 | * emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output. | |
269 | ||
a61ca861 NC |
270 | 2008-06-04 Nick Clifton <nickc@redhat.com> |
271 | ||
272 | * ld.texinfo (Orphan Sections): Fix texi typo. | |
273 | ||
0fe58ccd NC |
274 | 2008-06-04 Chris Metcalf <cmetcalf@tilera.com> |
275 | ||
276 | * lexsup.c (option_values): Add OPTION_NO_WARN_FATAL. | |
277 | (ld_options): Add entry for --no-fatal-warnings. | |
278 | (parse_args): Handle OPTION_NO_WARN_FATAL. | |
279 | * ld.texinfo (Options): Document new command line switch. | |
280 | ||
d77ec871 AM |
281 | 2008-06-04 Alan Modra <amodra@bigpond.net.au> |
282 | ||
283 | * emultempl/spuelf.em (spu_elf_relink): Correct --no-auto-overlay arg. | |
284 | ||
476d8a22 NC |
285 | 2008-06-02 Nathan Sidwell <nathan@codesourcery.com> |
286 | ||
287 | * ldlang.c (closest_target_match): Skip generic big and little | |
288 | endian ELF targets. | |
289 | ||
de7dd2bd NC |
290 | 2008-05-31 Evandro Menezes <evandro@yahoo.com> |
291 | ||
292 | PR ld/6430 | |
293 | * ld.h (enum sort_order): New. | |
294 | * ldlang.c (lang_check: Fix comment. | |
295 | (lang_common): Sort commons in ascending or descending order. | |
296 | (lang_one_common): Likewise. | |
297 | * lexsup.c (ld_options): Have --sort-common take an option | |
298 | argument. | |
299 | (parse_args): Handle argument to --sort-common. | |
300 | * ld.texinfo (--sort-common): Document new optional argument. | |
301 | * NEWS: Mention new feature. | |
302 | ||
1a51c1a4 NC |
303 | 2008-05-28 Christophe Lyon <christophe.lyon@st.com> |
304 | ||
305 | * ld.texinfo: State that farcalls stubs are supported for ARM-EABI | |
306 | only. | |
307 | ||
6ca0987a KT |
308 | 2008-05-27 Kai Tietz <kai.tietz@onevision.com> |
309 | ||
310 | * pe-dll.c (fill_edata): Make sure we calculate vma's in | |
311 | type bfd_vma. | |
312 | (generate_reloc): Likewise. | |
313 | (pe_implied_import_dll): Likewise. | |
314 | ||
45f111cc NC |
315 | 2008-05-21 Nick Clifton <nickc@redhat.com> |
316 | ||
317 | PR ld/6519 | |
318 | * ld.texinfo (Orphan Sections): Mention that the linker will | |
319 | provide start and stop symbols for orphaned sections if their | |
320 | names are valid C identifiers. | |
321 | * NEWS: Add an addendum to the description of the linker feature | |
322 | for providing orphan section start and end symbols. | |
323 | ||
7fb9f789 NC |
324 | 2008-05-21 Maxim Kuvyrkov <maxim@codesourcery.com> |
325 | ||
326 | * configure.in (--enable-got): New option. Handle it. | |
327 | * configure: Regenerate. | |
328 | * config.in: Regenerate. | |
329 | * emultempl/m68kelf.em: (got_handling_target_default): New shell | |
330 | variable. | |
331 | (GOT_HANDLING_TARGET_DEFAULT): New macro. | |
332 | (GOT_HANDLING_DEFAULT): New macro. Initialize it from configure | |
333 | option if one was given. | |
334 | (got_handling): New static variable. | |
335 | (elf_m68k_create_output_section_statements): New static function | |
336 | implementing hook. | |
337 | (PARSE_AND_LIST_PROLOGUE): Define shell variable. | |
338 | (OPTION_GOT): New macro. | |
339 | (PARSE_AND_LIST_LONGOPTS): Define shell variable. Specify | |
340 | --got option. | |
341 | (got): New linker option. | |
342 | (PARSE_AND_LIST_OPTIONS): Define shell variable. Print help string | |
343 | for --got option. | |
344 | (PARSE_AND_LIST_ARGS_CASES): Define shell variable. Handle --got | |
345 | option. | |
346 | * ld.texinfo: Document --got=<type> option. | |
347 | * gen-doc.texi: Add M68K. | |
348 | * NEWS: Mention the new feature. | |
349 | ||
41911f68 NC |
350 | 2008-05-21 Evandro Menezes <evandro@yahoo.com> |
351 | ||
352 | PR ld/6430 | |
353 | * ld.texinfo (--sort-common): Correct documentation to indicate | |
354 | that sorting is performed by alignment, not size, biggest | |
355 | alignment first. | |
356 | ||
726150b7 NC |
357 | 2008-05-21 Christophe Lyon <christophe.lyon@st.com> |
358 | Nick Clifton <nickc@redhat.com> | |
359 | ||
360 | * ld.texinfo (ARM): Document --stub-group-size=N option. | |
361 | Move description of --pic-veneer option into the ARM section. | |
362 | * NEWS: Mention the support for long function calls. | |
363 | ||
906e58ca NC |
364 | 2008-05-15 Christophe Lyon <christophe.lyon@st.com> |
365 | ||
366 | * emultempl/armelf.em (build_section_lists): New function. | |
367 | (stub_file): Define. | |
368 | (need_laying_out): Define. | |
369 | (group_size): Define. | |
370 | (hook_stub_info): Define. | |
371 | (hook_in_stub): New function. | |
372 | (elf32_arm_add_stub_section): New function. | |
373 | (gldarm_layout_sections_again): New function. | |
374 | (gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate | |
375 | stubs for long calls if needed. | |
376 | (arm_elf_create_output_section_statements): create stub_file bfd. | |
377 | (arm_for_each_input_file_wrapper): New function. | |
378 | (arm_lang_for_each_input_file): New function. | |
379 | (lang_for_each_input_file): Define. | |
380 | (PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE. | |
381 | (PARSE_AND_LIST_LONGOPTS): Add option stub-group-size. | |
382 | (PARSE_AND_LIST_OPTIONS): Add option stub-group-size. | |
383 | (PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case. | |
384 | (LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish. | |
385 | * lang.c (print_input_statement): Skip if bfd has | |
386 | BFD_LINKER_CREATED. | |
387 | ||
8944f3c2 AM |
388 | 2008-05-14 Alan Modra <amodra@bigpond.net.au> |
389 | ||
390 | * Makefile.in: Regenerate. | |
391 | ||
0ead4f8d KT |
392 | 2008-05-09 Kai Tietz <kai.tietz@onevision.com> |
393 | ||
394 | ld/PR6502 | |
8944f3c2 AM |
395 | * emultempl/pep.em (compute_dll_image_base): Use bfd_vma instead |
396 | of long and change return type to bfd_vma. | |
0ead4f8d KT |
397 | (definfo): Change type of address from long to bfd_vma. |
398 | (set_pep_value): Replace strtoul to strtoull. | |
399 | (gld_${EMULATION_NAME}_set_symbols): use bfd_vma instead of long.. | |
8944f3c2 AM |
400 | * pe-dll.c (pe_dll_generate_def_file): Use fprintf_vma to print |
401 | ImageBase. | |
0ead4f8d KT |
402 | (quick_reloc): Change argument address from int to bfd_size_type. |
403 | ||
e7fc76dd TT |
404 | 2008-05-08 Tom Tromey <tromey@redhat.com> |
405 | ||
406 | * ld.texinfo (PowerPC64 ELF64): Fix typo. | |
407 | ||
8374f9d4 AM |
408 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
409 | ||
410 | * elf32_spu.sh (OTHER_SECTIONS): Add "._ea". | |
411 | * elf32ppc.sh: If building with spu support, put ".data.spehandle" | |
412 | sections at the start of ".data" and provide a symbol to locate | |
413 | the directory of embedded spe programs. | |
414 | ||
8c0848b5 AM |
415 | 2008-05-08 Alan Modra <amodra@bigpond.net.au> |
416 | ||
417 | * ldexp.c (exp_print_token): Add ABSOLUTE, MIN_K, ASSERT_K. Correct | |
418 | MAX_K. | |
419 | (fold_binary <SEGMENT_START>): Set expld.result.section to | |
420 | current section. Expand comment. Formatting. | |
421 | (fold_name <DEFINED>): Set expld.result.section to current section. | |
422 | ||
a2cab753 NS |
423 | 2008-04-28 Nathan Sidwell <nathan@codesourcery.com> |
424 | ||
425 | * ldlang.c (lang_size_sections_1): Don't check LMA overflow on | |
426 | non-load sections. | |
427 | ||
bec9537e MF |
428 | 2008-04-25 Michael Frysinger <vapier@gentoo.org> |
429 | ||
430 | * configure.tgt (bfin-*-linux-uclibc*): Set targ_emul to elf32bfinfd | |
431 | and targ_extra_emuls to elf32bfin. | |
432 | ||
6194aaab L |
433 | 2008-04-23 Paolo Bonzini <bonzini@gnu.org> |
434 | ||
435 | * aclocal.m4: Regenerate. | |
436 | * configure: Regenerate. | |
437 | ||
da6fa31a KT |
438 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
439 | ||
440 | * scripttempl/pep.sc: Align start of symbol __CTOR_LIST__. | |
441 | ||
9be9d352 AM |
442 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
443 | ||
444 | * po/POTFILES.in: Regenerate. | |
445 | ||
9dcc4794 AM |
446 | 2008-04-08 Alan Modra <amodra@bigpond.net.au> |
447 | ||
448 | * emultempl/spuelf.em (auto_overlay, auto_overlay_file, | |
449 | auto_overlay_fixed, auto_overlay_reserved, my_argc, my_argv): New vars. | |
450 | (spu_before_allocation): Warn on --auto-overlay and existing overlays. | |
451 | (struct tflist, clean_tmp): Move. | |
452 | (new_tmp_file): New function, extracted from.. | |
453 | (embedded_spu_file): ..here. | |
454 | (spu_elf_open_overlay_script, spu_elf_relink): New function. | |
455 | (gld${EMULATION_NAME}_finish): Pass a bunch of --auto-overlay params. | |
456 | Warn on --auto-overlay and zero local store. | |
457 | (gld${EMULATION_NAME}_choose_target): New function to stash argv. | |
458 | (OPTION_SPU_AUTO_OVERLAY, OPTION_SPU_AUTO_RELINK, | |
459 | OPTION_SPU_OVERLAY_RODATA, OPTION_SPU_FIXED_SPACE, | |
460 | OPTION_SPU_RESERVED_SPACE, OPTION_SPU_NO_AUTO_OVERLAY): Define. | |
461 | (PARSE_AND_LIST_LONGOPTS): Add entries for new options. | |
462 | (PARSE_AND_LIST_OPTIONS): Likewise. | |
463 | (PARSE_AND_LIST_ARGS_CASES): Likewise. | |
464 | (LDEMUL_CHOOSE_TARGET): Define. | |
465 | ||
5f69259e KT |
466 | 2008-04-03 Kai Tietz <kai.tietz@onevision.com> |
467 | ||
468 | PR ld/6026 | |
469 | * pe-dll.c (make_head): Fix iat and thunk addend offset. | |
470 | ||
95f0efb9 NC |
471 | 2008-03-31 Nick Clifton <nickc@redhat.com> |
472 | ||
473 | * po/fr.po: Updated French translation. | |
474 | ||
f36d5d55 ILT |
475 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
476 | ||
477 | The sha1 code is now in libiberty. | |
478 | * sha1.c: Remove. | |
479 | * sha1.h: Remove. | |
480 | * Makefile.am (CFILES): Remove sha1.c. | |
481 | (HFILES): Remove sha1.h. | |
482 | (OFILES): Remove sha1.o. | |
483 | (ld_new_SOURCES): Remove sha1.c. | |
484 | (sha1.o): Remove target. | |
485 | * Makefile.in: Rebuild. | |
486 | ||
c65be8d7 AM |
487 | 2008-03-20 Alan Modra <amodra@bigpond.net.au> |
488 | ||
489 | * emultempl/spuelf.em: Update calls to elf32-spu.c funcs. | |
490 | ||
58c85be7 RW |
491 | 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
492 | ||
493 | * aclocal.m4: Regenerate. | |
494 | * configure: Likewise. | |
495 | * Makefile.in: Likewise. | |
496 | ||
771a9c5f AM |
497 | 2008-03-14 Alan Modra <amodra@bigpond.net.au> |
498 | ||
499 | * emultempl/spuelf.em (gld${EMULATION_NAME}_finish): Protect | |
500 | spu_elf_build_stubs with is_spu_target. | |
501 | ||
50e7d84b AM |
502 | 2008-03-13 Alan Modra <amodra@bigpond.net.au> |
503 | ||
504 | * Makefile.am: Run "make dep-am". | |
505 | * Makefile.in: Regenerate. | |
506 | * configure: Regenerate. | |
507 | ||
9e448631 NC |
508 | 2008-03-06 Joseph Myers <joseph@codesourcery.com> |
509 | Roman Zippel <zippel@linux-m68k.org> | |
510 | ||
511 | * emulparams/m68kelf.sh (GENERATE_PIE_SCRIPT): Define. | |
512 | (COMMONPAGESIZE): Define. | |
513 | ||
07dfcf38 NC |
514 | 2008-02-22 Nick Clifton <nickc@redhat.com> |
515 | ||
516 | PR ld/5785 | |
517 | * ldlang.c (lang_size_sections_1): Honour the setting of an | |
518 | lma_region even if there is no vma region set, or the vma region | |
519 | is the same as the lma region. | |
520 | ||
b34c1498 NC |
521 | 2008-02-18 Nick Clifton <nickc@redhat.com> |
522 | ||
523 | * scripttempl/armbpabi.sc (ENTRY): Do not define when performing a | |
524 | relocatable link. | |
525 | * scripttempl/elf32cr16.sc: Likewise. | |
526 | * scripttempl/elf32cr16c.sc: Likewise. | |
527 | * scripttempl/elf32crx.sc: Likewise. | |
528 | * scripttempl/elf32sh-symbian.sc: Likewise. | |
529 | * scripttempl/elf_chaos.sc: Likewise. | |
530 | * scripttempl/elfd10v.sc: Likewise. | |
531 | * scripttempl/elfi370.sc: Likewise. | |
532 | * scripttempl/elfm68hc11.sc: Likewise. | |
533 | * scripttempl/elfm68hc12.sc: Likewise. | |
534 | * scripttempl/ip2k.sc: Likewise. | |
535 | * scripttempl/iq2000.sc: Likewise. | |
536 | * scripttempl/mep.sc: Likewise. | |
537 | * scripttempl/v850.sc: Likewise. | |
538 | * scripttempl/xstormy16.sc: Likewise. | |
539 | ||
819da74e AM |
540 | 2008-02-16 Alan Modra <amodra@bigpond.net.au> |
541 | ||
542 | PR ld/5761 | |
543 | * ldexp.c (fold_name <LOADADDR>): Check result of evaluating | |
544 | load_base before calling make_abs. | |
545 | ||
5503fea1 AM |
546 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
547 | ||
548 | * emultempl/alphaelf.em (alpha_after_open): Use elf_object_id. | |
549 | * emultempl/hppaelf.em (hppaelf_create_output_section_statements): | |
550 | Likewise. | |
551 | * emultempl/ppc64elf.em (ppc_create_output_section_statements): | |
552 | Likewise. | |
553 | * emultempl/ppc32elf.em (is_ppc_elf32_vec): Delete. Replace all | |
554 | uses with.. | |
555 | (is_ppc_elf): ..this new macro. | |
556 | ||
f13a99db AM |
557 | 2008-02-15 Alan Modra <amodra@bigpond.net.au> |
558 | ||
559 | * ldmain.h (output_bfd): Delete. | |
560 | * ldmain.c (output_bfd): Delete. | |
561 | Replace all occurrences of output_bfd with link_info.output_bfd. | |
562 | * ldcref.c: Likewise. | |
563 | * ldctor.c: Likewise. | |
564 | * ldemul.c: Likewise. | |
565 | * ldexp.c: Likewise. | |
566 | * ldfile.c: Likewise. | |
567 | * ldlang.c: Likewise. | |
568 | * ldmisc.c: Likewise. | |
569 | * ldwrite.c: Likewise. | |
570 | * pe-dll.c: Likewise. | |
571 | * emultempl/aix.em: Likewise. | |
572 | * emultempl/alphaelf.em: Likewise. | |
573 | * emultempl/armcoff.em: Likewise. | |
574 | * emultempl/armelf.em: Likewise. | |
575 | * emultempl/avrelf.em: Likewise. | |
576 | * emultempl/beos.em: Likewise. | |
577 | * emultempl/elf-generic.em: Likewise. | |
578 | * emultempl/elf32.em: Likewise. | |
579 | * emultempl/gld960.em: Likewise. | |
580 | * emultempl/hppaelf.em: Likewise. | |
581 | * emultempl/irix.em: Likewise. | |
582 | * emultempl/linux.em: Likewise. | |
583 | * emultempl/lnk960.em: Likewise. | |
584 | * emultempl/m68hc1xelf.em: Likewise. | |
585 | * emultempl/mmix-elfnmmo.em: Likewise. | |
586 | * emultempl/mmo.em: Likewise. | |
587 | * emultempl/pe.em: Likewise. | |
588 | * emultempl/pep.em: Likewise. | |
589 | * emultempl/ppc32elf.em: Likewise. | |
590 | * emultempl/ppc64elf.em: Likewise. | |
591 | * emultempl/scoreelf.em: Likewise. | |
592 | * emultempl/sh64elf.em: Likewise. | |
593 | * emultempl/spuelf.em: Likewise. | |
594 | * emultempl/sunos.em: Likewise. | |
595 | * emultempl/vanilla.em: Likewise. | |
596 | * emultempl/vxworks.em: Likewise. | |
597 | * emultempl/xtensaelf.em: Likewise. | |
598 | * emultempl/z80.em: Likewise. | |
599 | * ldlang.c (open_output): Don't return output, instead write | |
600 | link_info_output_bfd directly. | |
601 | * emultempl/alphaelf.em: Replace occurrences of link_info.hash->creator | |
602 | with link_info.output_bfd->xvec. | |
603 | * emultempl/hppaelf.em: Likewise. | |
604 | * emultempl/ppc32elf.em: Likewise. | |
605 | * emultempl/ppc64elf.em: Likewise. | |
606 | * emultempl/spuelf.em: Likewise. | |
607 | ||
ff7a0acf AM |
608 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
609 | ||
610 | * ldlang.c (new_afile): Don't pass unadorned NULL to concat. | |
611 | * ldfile.c (ldfile_add_library_path): Likewise. | |
612 | * emultempl/elf32.em (check_ld_elf_hints, check_ld_so_conf): Likewise. | |
613 | * emultempl/lnk960.em (lnk960_before_parse): Likewise. | |
614 | * emultempl/spuelf.em (embedded_spu_file): Likewise. | |
615 | ||
2e444bea AM |
616 | 2008-02-07 Alan Modra <amodra@bigpond.net.au> |
617 | ||
618 | * emultempl/spu_ovl.S: Use low bit of _ovly_table.size as | |
619 | a "present" bit rather than low bit of .buf. Correct indexing | |
620 | into _ovly_buf_table. Use relative loads and stores to access | |
621 | overlay manager local vars. | |
622 | * emultempl/spu_ovl.o: Regenerate. | |
623 | ||
bb8541b9 L |
624 | 2008-02-04 H.J. Lu <hongjiu.lu@intel.com> |
625 | ||
626 | PR 5715 | |
627 | * configure: Regenerated. | |
628 | ||
f8a52b59 BW |
629 | 2008-01-31 Marc Gauthier <marc@tensilica.com> |
630 | ||
631 | * configure.tgt (xtensa*-*-*): Recognize processor variants. | |
632 | ||
00b2bfc1 NC |
633 | 2008-01-28 Fabian Groffen <grobian@gentoo.org> |
634 | ||
635 | * configure.tgt (x86_64-*-solaris2): Add support for this target. | |
636 | ||
6e73d595 NC |
637 | 2008-01-28 Vincent Riviere <vincent.riviere@freesbee.fr> |
638 | ||
639 | PR ld/5652 | |
640 | * genscripts.sh: Check for the existence of BASH_LINENO not just | |
641 | the BASH shell before generating line numbers in the emulation | |
642 | file. | |
643 | ||
47f6dab9 AM |
644 | 2008-01-28 Alan Modra <amodra@bigpond.net.au> |
645 | ||
646 | * emultempl/spu_ovl.S: Rewrite. | |
647 | * emultempl/spu_ovl.o: Regenerate. | |
648 | * emultempl/spuelf.em (toe): Delete. | |
649 | (spu_place_special_section): Add param to control section placement. | |
650 | Adjust callers. | |
651 | (spu_elf_load_ovl_mgr): Adjust for struct _spu_elf_section_data | |
652 | changes. | |
653 | (spu_before_allocation): Adjust spu_elf_size_stubs call. | |
654 | (gld${EMULATION_NAME}_finish): Adjust spu_elf_build_stubs call. | |
655 | ||
29183214 L |
656 | 2008-01-25 H.J. Lu <hongjiu.lu@intel.com> |
657 | ||
658 | PR ld/5670 | |
659 | * ldlang.c (process_insert_statements): Silence gcc 4.1 alias | |
660 | warning. | |
661 | ||
53d25da6 AM |
662 | 2008-01-25 Alan Modra <amodra@bigpond.net.au> |
663 | ||
664 | * ld.texinfo (INSERT): Describe. | |
665 | * ldgram.y (ldgram_in_script, ldgram_had_equals): Delete. | |
666 | (INSERT_K, AFTER, BEFORE): Add as tokens. | |
667 | (ifile_p1): Handle INSERT statements. | |
668 | (saved_script_handle, force_make_executable): Move to.. | |
669 | * ldmain.c: ..here. | |
670 | (previous_script_handle): New global var. | |
671 | * ldmain.h (saved_script_handle, force_make_executable): Declare. | |
672 | (previous_script_handle): Likewise. | |
673 | * ldlex.l (INSERT_K, AFTER, BEFORE): Add tokens. | |
674 | * lexsup.c (parge_args <-T>): Set previous_script_handle. | |
675 | * ldlang.c (lang_for_each_statement_worker): Handle insert statement. | |
676 | (map_input_to_output_sections, print_statement): Likewise. | |
677 | (lang_size_sections_1, lang_do_assignments_1): Likewise. | |
678 | (insert_os_after): New function, extracted from.. | |
679 | (lang_insert_orphan): ..here. | |
680 | (process_insert_statements): New function. | |
681 | (lang_process): Call it. | |
682 | (lang_add_insert): New function. | |
683 | * ldlang.h (lang_insert_statement_enum): New. | |
684 | (lang_insert_statement_type): New. | |
685 | (lang_statement_union_type): Add insert_statement. | |
686 | (lang_add_insert): Declare. | |
687 | ||
c19f06f2 BW |
688 | 2008-01-18 Bob Wilson <bob.wilson@acm.org> |
689 | ||
690 | * scripttempl/elfxtensa.sc: Merge ENTRY and .note.gnu.build-id | |
691 | changes from elf.sc. | |
8944f3c2 | 692 | |
14ac84b4 AM |
693 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
694 | ||
695 | * ldlang.c (lang_size_sections_1): Simplify SEC_NEVER_LOAD test. | |
696 | ||
3d00b095 AM |
697 | 2008-01-16 Alan Modra <amodra@bigpond.net.au> |
698 | ||
699 | * ldlang.h (lang_afile_asection_pair_statement_enum): Delete. | |
700 | (lang_afile_asection_pair_statement_type): Delete. | |
701 | (lang_statement_union_type): Delete afile_asection_pair_statement. | |
702 | * ldlang.c (lang_insert_orphan): Delete case handling the above. | |
703 | (map_input_to_output_sections, print_statement): Likewise. | |
704 | ||
58da7b1b KK |
705 | 2008-01-15 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
706 | ||
707 | * emulparams/shlelf_linux.sh (DATA_START_SYMBOLS): Use PROVIDE | |
708 | with __data_start. | |
709 | * emulparams/shelf_nbsd.sh (DATA_START_SYMBOLS): Likewise. | |
710 | ||
74f0fb50 AM |
711 | 2008-01-15 Alan Modra <amodra@bigpond.net.au> |
712 | ||
713 | PR 5604 | |
714 | * ldlang.c (lang_gc_sections): Move code to set SEC_KEEP on entry | |
715 | syms to _bfd_elf_gc_keep. | |
716 | * emultempl/ppc64elf.em (ppc_before_allocation): Don't call | |
717 | ppc64_elf_edit_opd if no_opd_opt. | |
718 | ||
ac69cbc6 TG |
719 | 2008-01-11 Tristan Gingold <gingold@adacore.com> |
720 | Eric Botcazou <ebotcazou@adacore.com> | |
721 | ||
722 | * ldlang.c (lang_end): Warns if the entry point is not found when | |
723 | --gc-sections. | |
724 | Emit an error if no root is specified when --gc-sections -r. | |
725 | * ld.texinfo (Options): Document that --gc-sections is compatible | |
726 | with -r and -q. | |
727 | * ldmain.c (main): Do not error out if -r and --gc-sections. | |
728 | * scripttempl/elf.sc: Emit ENTRY command only if relocating. | |
729 | ||
71934f94 NC |
730 | 2008-01-10 Daniel Jacobowitz <drow@sources.redhat.com> |
731 | ||
732 | PR ld/5533 | |
733 | * ldlang.c (lang_end): Issue a warning for a missing start symbol | |
734 | of a shared library if the symbol was specified on the command | |
735 | line. | |
736 | ||
d5465ba2 AM |
737 | 2008-01-10 Alan Modra <amodra@bigpond.net.au> |
738 | ||
739 | * ld.texinfo (--gc-sections): Describe linker behaviour. | |
740 | ||
6c7ac64e | 741 | For older changes see ChangeLog-2007 |
252b5132 RH |
742 | \f |
743 | Local Variables: | |
744 | mode: change-log | |
745 | left-margin: 8 | |
746 | fill-column: 74 | |
747 | version-control: never | |
748 | End: |