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