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