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